Monitor kondycji relacji serwera trybu failover dla serwera DHCP 2016 i 1709+

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

Knowledge Base article:

Podsumowanie

Relacja trybu failover może być widoczna jako link partnerstwa między dwoma serwerami. Każdy serwer może należeć do maksymalnie 32 relacji trybu failover oraz może należeć do wielu relacji trybu failover

W przypadku awarii serwera partnera lub utraty komunikacji stan zmieni się na błąd.

Przyczyny

Sprawdź, czy serwer partnera jest uruchomiony lub czy można nawiązać komunikację z serwerem lokalnym.

Rozwiązania

Sprawdź, czy można nawiązać komunikację z serwerem partnera trybu failover, przy użyciu polecenia Ping.

Element properties:

TargetMicrosoft.Windows.DHCPServer.10.0.FailoverServerWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DHCPServer.10.0.FailoverServerWatcher.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Relacja serwera trybu failover dla serwera DHCP w wersji 2016 i 1709+ zgłosiła zmianę stanu
Relacja trybu failover o nazwie „{0}” zdefiniowana między serwerem „{1}” i serwerem partnera „{2}” dla identyfikatora zakresu „{3}” zmieniła stan na „{4}”
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher.UnitMonitor.State" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher.MonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher.UnitMonitor.State.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher"]/Name$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher"]/LocalServer$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.DHCPServer.10.0.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.10.0.FailoverServerWatcher"]/LocalServer$</ComputerName>
<FailoverRelationshipName>$Target/Property[Type="Microsoft.Windows.DHCPServer.10.0.FailoverServerWatcher"]/Name$</FailoverRelationshipName>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>