Hyper-V 2016 和 1709+ 复制计数百分比监视器

Microsoft.Windows.HyperV.ReplicationPercentMonitor (UnitMonitor)

监视 Hyper-V 2016 和 1709+ 复制的成功率百分比。
注意:默认情况下,此监视器处于禁用状态。请在必要时通过替代启用此监视器。

Knowledge Base article:

摘要

正在复制的虚拟机丢失的复制周期已超出配置的百分比。

注意:默认情况下,此监视器处于禁用状态。请在必要时通过替代启用此监视器。

原因

网络和存储子系统无法处理副本流量。

解决方法

增加主站点和副本站点之间的网络带宽,或确保主子系统和存储子系统中的 IOPS 空余空间足以处理副本流量。

Element properties:

TargetMicrosoft.Windows.HyperV.Discovery.VirtualMachine
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.HyperV.ReplicaDeltaPercentMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
虚拟机在上一间隔期间丢失的复制周期超出阈值。
虚拟机 {1} 在上一间隔期间丢失了 {0}\% 的复制周期。该失败率超出了配置的严重级别。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.ReplicationPercentMonitor" Accessibility="Public" Enabled="false" Target="HVDisc!Microsoft.Windows.HyperV.Discovery.VirtualMachine" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.HyperV.ReplicaDeltaPercentMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.ReplicationPercentMonitor.Alert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="HVLib!Microsoft.Windows.HyperV.VirtualMachine"]/VirtualMachineName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ReplicationPercentHealthy" MonitorTypeStateID="ReplicationCountPercentHealthy" HealthState="Success"/>
<OperationalState ID="ReplicationPercentCritical" MonitorTypeStateID="ReplicationCountPercentCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3600</IntervalSeconds>
<ErrorLevelPercentage>25</ErrorLevelPercentage>
</Configuration>
</UnitMonitor>