仮想マシン管理サービス

Microsoft.Windows.HyperV.Services.VirtualMachineManagementServiceMonitor (UnitMonitor)

仮想マシン管理サービスの状態を監視します。

Knowledge Base article:

概要

このモニターは Hyper-V を実行しているサーバーの仮想マシン管理サービスの正常性の状態を追跡します。サービスが稼働中の場合、モニターの状態は正常です。サービスが実行されていない場合、モニターの状態は重大です。

原因

重大な状態は、仮想マシン管理サービスが実行中でないときに発生します。このモニターが異常な状態になると、アラートが生成されます。

解決方法

モニターが異常な状態になると、自動回復が実行されます。回復により、仮想マシン管理サービスの再開が試みられます。サービスを稼働状態に戻せる場合、モニターは正常な状態に戻り、アラートは自動的に解消されます。回復によってサービスを稼働状態に戻せない場合、モニターは重大な状態にとどまり、アラートは未解決のままです。

Element properties:

TargetMicrosoft.Windows.HyperV.Discovery.ServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Hyper-V 2016 または 1709+ 仮想マシン管理サービスは実行されていません
コンピューター {0} 上の Microsoft Windows Hyper-V 2016 または 1709+ 仮想マシン管理サービスは実行されていません。これにより、仮想マシンの開始が妨げられます。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.Services.VirtualMachineManagementServiceMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.Discovery.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.Services.VirtualMachineManagementServiceMonitor.Alert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ServiceHealthy" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="ServiceNotHealthy" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>vmms</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>