Antal System Center 2016 Virtual Machine Manager-värdar med virtuella datorer

Microsoft.SystemCenter.VirtualMachineManager.2016.HostNoOfVMsRunningMonitor (UnitMonitor)

Övervakar om antalet värdar överskrider det maximala antalet virtuella datorer som körs

Knowledge Base article:

Sammanfattning

Den här övervakaren spårar antal virtuella datorer som körs på en Hyper-V-värd. Antalet datorer som körs har överskridit den konfigurerade maximala gränsen.

Orsaker

Antalet virtuella datorer som körs på värden har överskridit den konfigurerade maximala gränsen.

Lösningar

Migrera minst en virtuell dator till en annan virtualiseringsvärd. Mer information om krav och begränsningar för virtuella datorer och Hyper-V i Windows Server finns på Microsoft TechNet.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.VMHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2016.HostNoOfVMsRunningMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Värden har överskridit det konfigurerade maximala antalet virtuella datorer som körs
Antalet virtuella datorer som körs uppgår till {1} på {0}, och värden har överskridit det konfigurerade maximala antal som stöds
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.HostNoOfVMsRunningMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.HostNoOfVMsRunningMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.HostNoOfVMsRunningMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/NoOfVMsRunning$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="HostNoOfVMsRunningHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="HostNoOfVMsRunningCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>7200</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<!--ExpectedValue is overridable-->
<!--The supported limit in Hyper-V R2 is 384(http://technet.microsoft.com/en-us/library/ee405267(WS.10).aspx)-->
<ExpectedValue>384</ExpectedValue>
</Configuration>
</UnitMonitor>