DHCP Server 2012 容錯移轉伺服器關聯性健全狀況監視

Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher.UnitMonitor.State (UnitMonitor)

Knowledge Base article:

摘要

容錯移轉關聯性可被視為兩部伺服器之間的合作夥伴連結。每部伺服器最多可進入 32 個容錯移轉關聯性,也可以進入多個容錯移轉關係

如果合作夥伴伺服器關閉或通訊遭到中斷,狀態將變更為錯誤。

原因

檢查合作夥伴伺服器是否在執行中,或是否可和本機伺服器通訊。

解決方式

檢查您是否可使用 Ping 命令與容錯移轉合作夥伴伺服器通訊。

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.FailoverServerWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.2012.FailoverServerWatcher.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP Server 2012 容錯移轉伺服器關聯性已回報狀態變更
名為「{0}」的容錯移轉關聯性介於伺服器「{1}」和合作夥伴伺服器「{2}」之間定義,領域 ID「{3}」將其狀態變更為「{4}」
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher.UnitMonitor.State" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher.MonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher.UnitMonitor.State.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher"]/Name$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher"]/LocalServer$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher"]/PartnerServer$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='ScopeId']$</AlertParameter4>
<AlertParameter5>$Data/Context/Property[@Name='State']$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FailoverServerError" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="FailoverServerOK" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Property[Type="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher"]/LocalServer$</ComputerName>
<FailoverRelationshipName>$Target/Property[Type="Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher"]/Name$</FailoverRelationshipName>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>