Ten obiekt monitoruje, czy dane konfiguracji połączenia lub grupy replikacji w lokalnej bazie danych usługi Replikacja systemu plików DFS zgadzają się z danymi otrzymanymi z Usług domenowych Active Directory (AD DS). Ten monitor generuje alert Ostrzeżenie, gdy konfiguracja połączenia lub grupy replikacji nie jest taka sama w lokalnej bazie danych i w usłudze AD DS.
Ten obiekt monitoruje, czy dane konfiguracji połączenia lub grupy replikacji w lokalnej bazie danych usługi Replikacja systemu plików DFS zgadzają się z danymi otrzymanymi z Usług domenowych Active Directory (AD DS). Ten monitor generuje alert Ostrzeżenie, gdy konfiguracja połączenia lub grupy replikacji nie jest taka sama w lokalnej bazie danych i w usługach AD DS. W tym celu sprawdza obecność zdarzenia 5012 usługi Replikacja systemu plików DFS.
Nieprawidłowa kondycja wskazywana przez ten monitor oznacza, że usługa Replikacja systemu plików DFS nie mogła nawiązać połączenia z elementem członkowskim. Ten błąd może mieć następujące przyczyny:
Administrator niedawno wprowadził zmianę konfiguracji lub utworzył nową grupę replikacji. Jeśli dwaj członkowie grupy replikacji uzyskają dane konfiguracji z dwóch różnych kontrolerów domeny, uzyskane dane mogą być różne z powodu opóźnień replikacji usług AD DS.
Administrator zmienił uprawnienia usług AD DS.
Zaczekaj na replikację zmian konfiguracji w systemie AD DS
Usługa Replikacja systemu plików DFS będzie ponawiać tę operację, co zwykle powoduje automatyczne rozwiązanie problemu po zakończeniu replikacji zmian konfiguracji w całym systemie AD DS.
Aby natychmiast przeprowadzić sondowanie zmian konfiguracji, otwórz okno wiersza polecenia i wpisz następujące polecenie dla każdego członka grupy replikacji, gdzie [domena] to domena, do której należy serwer, a [serwer] to nazwa serwera: Dfsrdiag PollAD /Member:[domena\serwer]
Jeśli problem będzie nadal istniał, upewnij się, że replikacja usług AD DS działa, a usługa replikacji ma kontakt z kontrolerem domeny.
Przetestuj połączenie z usługami AD DS
Aby przetestować możliwość komunikacji usługi Replikacja systemu plików DFS z usługami AD DS, otwórz okno wiersza polecenia i wpisz następujące polecenie: Dfsrdiag pollad /verbose. Wynikiem polecenia powinien być komunikat Operacja powiodła się. Jeśli tak nie jest, istnieje problem z komunikacją z usługami AD DS.
Jeśli problem będzie istniał przez 8 godzin, usługa Replikacja systemu plików DFS wyłączy połączenie i zarejestruje w dzienniku swoje zdarzenie 5016.
Weryfikacja
Ten monitor jest automatycznie resetowany do stanu prawidłowego po rozwiązaniu problemu (zwykle sygnalizowanym zdarzeniem 5004 usługi Replikacja systemu plików DFS) albo ponownym uruchomieniu usługi Replikacja systemu plików DFS.
Aby ręcznie sprawdzić topologię replikacji, zobacz Naprawianie rozłączonej topologii (http://go.microsoft.com/fwlink/?LinkId=187103).
Zdarzenie 5012 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187148)
Zdarzenie 5004 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187146)
Zdarzenie 5016 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187149)
Naprawianie rozłączonej topologii (http://go.microsoft.com/fwlink/?LinkId=187098)
Target | Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.UnrecognizedPartnerMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.UnrecognizedPartnerMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[4]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[5]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[6]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[7]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[8]$</AlertParameter7>
<AlertParameter8>$Data/Context/Params/Param[1]$</AlertParameter8>
<AlertParameter9>$Data/Context/Params/Param[9]$</AlertParameter9>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5012</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[9]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5006</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5016</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[6]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>