DHCP 服务器 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 服务器 2012 故障转移服务器关系的状态已更改
在服务器“{1}”和合作伙伴服务器“{2}”之间为作用域 ID“{3}”定义的名为“{0}”的故障转移关系将其状态更改为“{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>