仮想マシン管理サービス

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

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

Knowledge Base article:

概要

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

原因

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

解決方法

モニターが異常状態になると、自動復元が実行されます。復元処理では、仮想マシン管理サービスの再起動が試行されます。サービスが再起動されると、モニターは "正常" 状態に戻り、アラートは自動解決されます。復元でサービスを再起動できない場合、モニターは "重大" 状態、アラートも未解決のままです。

Element properties:

TargetMicrosoft.Windows.HyperV.2016.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 仮想マシン管理サービスが実行されていません
コンピューター {0} の Microsoft Windows Hyper-V 2016 仮想マシン管理サービスが実行されていません。そのため、仮想マシンを起動できません。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2016.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.2016.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>