Hyper-V 2016 复制严重挂起的状态监视器

Microsoft.Windows.HyperV.2016.VMReplicationCriticalSuspendedState.Monitor (UnitMonitor)

监视虚拟机复制状态。

Knowledge Base article:

摘要

当复制不正常时,复制 VM 处于“严重”状态。

原因

导致此错误的原因为以下其一:

解决方法

Element properties:

TargetMicrosoft.Windows.HyperV.2016.VirtualMachine
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.HyperV.2016.VMReplicationHealthMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
复制处于严重挂起状态。
复制处于严重挂起状态。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.2016.VMReplicationCriticalSuspendedState.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2016.VirtualMachine" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.HyperV.2016.VMReplicationHealthMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.2016.VMReplicationCriticalSuspendedState.Alert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters/>
</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>$Target/Property[Type="HVLib!Microsoft.Windows.HyperV.VirtualMachine"]/VirtualMachineId$</VMId>
<ErrorProperty>ReplicationState</ErrorProperty>
<ErrorCode>8</ErrorCode>
</Configuration>
</UnitMonitor>