Hyper-V 2016 及 1709+ 節點的複寫代理人設定監視器

Microsoft.Windows.HyperV.VMReplicationHealth33418.Monitor (UnitMonitor)

Hyper-V 複寫代理人設定監視器。

Knowledge Base article:

摘要

叢集無法使用 Hyper-V 複本代理人。若無法使用 Hyper-V 複本代理人,可能影響主要 VM 和複本 VM 間的複寫。

原因

若叢集服務意外停止,或叢集移轉後,目的地節點無法使用 Hyper-V 複本代理人,可能會發現此錯誤。

解決方式

重新啟動叢集服務,並確認 Hyper-V 複本代理人的 SPN 註冊成功,可進行 Kerberos 式驗證;或如果目前使用憑證式驗證,請確認叢集中已有一組所需憑證。

Element properties:

TargetMicrosoft.Windows.HyperV.Discovery.ServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.HyperV.VMReplicationHealthMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
此叢集未設定 Hyper-V 複寫代理人。
此叢集未設定或無法使用 Hyper-V 複本代理人。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.VMReplicationHealth33418.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.Discovery.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.HyperV.VMReplicationHealthMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.VMReplicationHealth33418.ErrorAlert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="VMReplicationHealthy" HealthState="Success"/>
<OperationalState ID="Unhealthy" MonitorTypeStateID="VMReplicationCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>30</TimeoutSeconds>
<VMId>localhost</VMId>
<ErrorProperty>ReplicationHealthIssuesList</ErrorProperty>
<ErrorCode>33418</ErrorCode>
</Configuration>
</UnitMonitor>