DFS-R: Spójność konfiguracji

Microsoft.Windows.FileServer.DFSR.UnrecognizedPartnerMonitor (UnitMonitor)

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.

Knowledge Base article:

Podsumowanie

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.

Przyczyny

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:

Rozwiązania

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).

Dodatkowe informacje

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.ReplicationGroupMember
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: Konfiguracja połączenia lub grupy replikacji jest inna niż w usłudze AD DS
Usługa Replikacja systemu plików DFS nie mogła skomunikować się z elementem członkowskim grupy replikacji, ponieważ nie miał on tych samych danych konfiguracji. Usługa Replikacja systemu plików DFS będzie ponawiać tę operację, a problem może zniknąć, gdy zmiany konfiguracji zostaną zreplikowane w całym systemie AD DS.
Dodatkowe informacje:
Grupa replikacji: {0}
Element członkowski grupy replikacji: {1}
Adres DNS elementu członkowskiego: {2}
Adres WINS elementu członkowskiego: {3}
Adres IP elementu członkowskiego: {4}
Błąd: {5} ({6})
Identyfikator połączenia: {7}
Identyfikator grupy replikacji: {8}
RunAsDefault

Source Code:

<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>