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>