DFS 複寫 WMI 健康情況

Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DFSR.WMICheck (UnitMonitor)

監視 DFS 複寫之 WMI 的健康情況

Knowledge Base article:

摘要

監視 DFS 複寫服務是否可成功登錄 WMI 提供者。如果此作業失敗,複寫將被停用,直到問題解決為止。

原因

DFS 複寫服務無法成功登錄 WMI 提供者。

解決方式

確認 Windows Management Instrumentation (WMI) 服務已設定為自動啟動且正在執行。

檢查應用程式與系統事件記錄檔,以確定伺服器沒有發生系統問題。

依據下面的連結執行 WMI 與 DFS 複寫疑難排解。

外部

如需詳細資訊,請參閱:

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainController.SYSVOL.DFSR
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
DFS 複寫 WMI 提供者註冊失敗
DFS 複寫 WMI 提供者註冊失敗。DFS 複寫已停用,直到問題解決為止。錯誤:{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DFSR.WMICheck" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainController.SYSVOL.DFSR" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DFSR.WMICheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6104</Value>
</ValueExpression>
</SimpleExpression>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6102</Value>
</ValueExpression>
</SimpleExpression>
</SecondExpression>
</Configuration>
</UnitMonitor>