Monitor kondycji relacji serwera trybu failover serwera DHCP 2012

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

Knowledge Base article:

Podsumowanie

Można zauważyć, że łączem partnerskim pomiędzy dwoma serwerami jest relacja trybu failover. Każdy serwer może wejść w maksymalnie 32 relacje trybu failover i dodatkowo utworzyć wiele powiązań w tym trybie

Jeśli serwer partnerski jest wyłączony lub została przerwana komunikacja, stan zostanie zmieniony na wartość wskazującą błąd.

Przyczyny

Sprawdź, czy serwer partnerski jest uruchomiony lub czy można nawiązać łączność z serwerem lokalnym.

Rozwiązania

Przy użyciu polecenia ping sprawdź, czy można nawiązać łączność z serwerem partnerskim trybu failover.

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
Relacja trybu failover serwera DHCP systemu Windows Server 2012 zgłosiła zmianę stanu
Relacja trybu failover o nazwie „{0}” zdefiniowana między serwerem: „{1}” a serwerem partnerskim: „{2}” dla identyfikatora zakresu: „{3}” zmieniła swój stan na „{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>