Hyper-V 2016 Replication Resync Required state monitor

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

Monitors Virtual Machine's Replication state.

Knowledge Base article:

Summary

The replicating VM is in resync required state.

Causes

If the replicating virtual machine is facing more churn than the network or storage can handle, then the VM could enter resync required state.

Resolutions

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
Replication is in Resync Required state.
Replication is in Resync Required state.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.2016.VMReplicationResyncRequiredState.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.VMReplicationResyncRequiredState.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>9</ErrorCode>
</Configuration>
</UnitMonitor>