此物件會監視 RPC 註冊,並在偵測到 DFS 複寫無法啟動 RPC 接聽程式時建立「嚴重」警示。
此物件會監視遠端程序呼叫 RPC 註冊,並在偵測到 DFS 複寫無法啟動 RPC 接聽程式時建立「嚴重」警示。它會透過尋找 DFS 複寫事件 1208 是否存在來執行此操作。
此監視的狀況不良狀態指出,DFS 複寫無法啟動 RPC 接聽程式,因此 DFS 複寫服務已停止。與複寫協力電腦通訊需要 RPC 接聽程式。這可能因為以下原因而發生:
伺服器的可用記憶體不足。
遠端程序呼叫 (RPC) 服務已停止。
重新啟動 DFS 複寫服務
若要透過 [Operations 主控台] 重新啟動 DFS 複寫服務,請執行以下動作:
1. 按一下 [停止 DFS 複寫服務]。
2. 按一下 [啟動 DFS 複寫服務]。
若要使用 sc 命令從遠端重新啟動服務,請開啟命令提示字元視窗,然後執行以下動作:
1. 若要停止服務,請輸入以下命令,其中 [servername] 是遠端伺服器的通用命名慣例 (UNC) 路徑:
sc[servername]stop dfsr
2. 若要確認服務處於已停止狀態,請輸入以下命令:
sc[servername]query dfsr
3. 若要重新啟動服務,請輸入以下命令:
sc[servername]start dfsr
注意:若要重新啟動服務,您在受影響的伺服器上必須是本機系統管理員群組的成員。您也可以使用服務嵌入式管理單元、Windows PowerShell Start-Service 和 Stop-Service Cmdlet 或 net stop 和 net start 等命令列工具來重新啟動服務。
驗證
此監視會在問題獲得解決後自動重設為狀況良好狀態。
若要透過 [Operations 主控台] 確認服務處於已啟動狀態,請按一下 [查詢 DFS 複寫服務狀態]。
若要使用 sc 命令從遠端確認服務處於已啟動狀態,請開啟命令提示字元視窗,然後輸入以下命令:
sc[servername]query dfsr
注意:若要查詢服務狀態,您必須是受影響之伺服器上本機系統管理員群組的成員。
DFS 複寫事件 1208 (http://go.microsoft.com/fwlink/?LinkId=187117)
Target | Microsoft.Windows.FileServer.DFSR.Service | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
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.RPCRegistrationFailureMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" 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.RPCRegistrationFailureMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[3]$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<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">1208</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>
</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">1210</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>