Hyper-V 主机服务监视器

Microsoft.SystemCenter.VirtualMachineManager.2008.HyperVHost.Monitor (UnitMonitor)

Knowledge Base article:

概述

Hyper-V 主机监视器指示 Virtual Machine Manager (VMM) 管理的某个 Hyper-V 主机上是否正在运行 Hyper-V 虚拟机管理服务。如果 Hyper-V 虚拟机管理服务未运行,则此监视器将处于严重状态(红色)。如果状态未知,则说明对此 Hyper-V 主机的监视尚未开始。

当此监视器处于严重状态时,会生成严重警报“Hyper-V 虚拟机管理服务已停止”。当此监视器恢复到正常状态时,该警报会自动解除。

原因

非正常状态表示此主机上未运行 Hyper-V 虚拟机管理服务。

解决方案

解决 Hyper-V 主机监视器的非正常状态所表明的问题:

1

通过使用管理工具中的“服务”在此 Hypew-V 主机上重新启动 Hyper-V 虚拟机管理服务。

2

如果不能启动 Hyper-V 虚拟机管理服务,或者 Hyper-V 虚拟机管理服务仍然关闭,请查看 Hyper-V 事件日志或系统日志中的事件,它们可以更好地解释错误情形。

External

VMM TechCenter(网址为:http://go.microsoft.com/fwlink/?LinkId=85920,该网页可能为英文)

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2008.HyperVHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
HyperV 服务已停止
托管主机计算机 {0} 上用于 HyperV 的 Windows 服务已停止
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2008.HyperVHost.Monitor" Accessibility="Public" Target="Microsoft.SystemCenter.VirtualMachineManager.2008.HyperVHost" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2008.HyperVHost.Monitor.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>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Sucess"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>vmms</ServiceName>
</Configuration>
</UnitMonitor>