Ten obiekt monitoruje możliwość komunikacji usługi Replikacja systemu plików DFS z innymi członkami grupy replikacji i generuje alert Ostrzeżenie, gdy nie może ona nawiązać kontaktu z elementem członkowskim grupy replikacji.
Ten obiekt monitoruje możliwość komunikacji usługi Replikacja systemu plików DFS z innymi członkami grupy replikacji i generuje alert Ostrzeżenie, gdy nie może ona nawiązać kontaktu z elementem członkowskim grupy replikacji. W tym celu sprawdza obecność zdarzenia 5008 usługi Replikacja systemu plików DFS.
Nieprawidłowa kondycja wskazywana przez ten monitor oznacza, że replikacja nie udała się, ponieważ usługa Replikacja systemu plików DFS nie mogła nawiązać kontaktu z innym elementem członkowskim grupy replikacji. Może tak się stać, gdy serwer jest nieosiągalny (często z powodu nieotwarcia odpowiednich portów w zaporze sieciowej) albo usługa Replikacja systemu plików DFS na nim nie działa lub nie jest zainstalowana. Usługa Replikacja systemu plików DFS będzie co pewien czas próbować ponownie przeprowadzić replikację.
Sprawdź ustawienia zapory
Jeśli między partnerami replikacji jest skonfigurowana zapora, nie może ona blokować połączeń RPC. Usługa Replikacja systemu plików DFS wykorzystuje do komunikacji protokół RPC. Usługa Replikacja systemu plików DFS używa usługi mapowania punktów końcowych wywołań RPC (port 135) i losowo przydzielonego portu dynamicznego z zakresu od 49152 do 65535 w systemach Windows Server 2008 R2 i Windows Server 2008 albo z zakresu od 1025 do 5000 w systemie Windows Server 2003 R2.
Przy użyciu polecenia Dfsrdiag można wskazać port statyczny zamiast dynamicznego. Więcej informacji o tym, jak przydzielić port usłudze mapowania punktów końcowych wywołań RPC, znajduje się w artykule 154596 w bazie wiedzy Microsoft Knowledge Base (http://go.microsoft.com/fwlink/?LinkId=73991). Więcej informacji o używaniu portów dynamicznych w systemie Windows Server 2008 znajduje się w artykule 929851 w bazie wiedzy Microsoft Knowledge Base (http://go.microsoft.com/fwlink/?LinkId=187092).
Włącz usługę zdalnego wywoływania procedur (RPC)
Aby potwierdzić, że usługa zdalnego wywoływania procedur (RPC) działa, wpisz następujące polecenie w oknie wiersza polecenia, gdzie [nazwa_serwera] to nazwa danego serwera:
Sc query [nazwa_serwera] rpcss
Jeśli serwer nie odpowiada lub zgłasza stan ZATRZYMANO, uruchom usługę zgodnie ze wskazówkami podanymi w bazie wiedzy Microsoft Knowledge Base w artykule 830071 (http://go.microsoft.com/fwlink/?LinkId=186948).
Weryfikacja
Ten monitor jest automatycznie resetowany do stanu prawidłowej kondycji po wykryciu rozwiązania problemu.
Zdarzenie 5008 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187147)
Zdarzenie 5004 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187146)
Zdarzenie 1210 usługi Replikacja systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=187118)
Microsoft KB — artykuł 830071: Some Windows Procedures Do Not Work If the Remote Procedure Call Service Is Disabled (Niektóre procedury systemu Windows nie działają, gdy wyłączona jest usługa zdalnych wywołań procedur) (http://go.microsoft.com/fwlink/?linkid=65325).
Microsoft KB — artykuł 224370: Troubleshooting 'RPC Server is Unavailable' in Windows (Rozwiązywanie problemów powodujących komunikat „Serwer RPC jest niedostępny” w systemie Windows) (http://go.microsoft.com/fwlink/?linkid=653257).
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.ServiceUnavailableMonitor" 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.ServiceUnavailableMonitor_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">5008</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>