System Center 2019+ Virtual Machine Manager VMMService

Microsoft.SystemCenter.VirtualMachineManager.VMMManagementServer.VMMService.Monitor (UnitMonitor)

监视 System Center Virtual Machine Manager 服务的状态

Knowledge Base article:

摘要

VMM Service 监视器指示 VMM 服务器上的 System Center Virtual Machine Manager 服务的状态。如果 System Center Virtual Machine Manager 服务未运行,则监视器将处于严重状态(红色)。如果状态未知,则说明对 System Center Virtual Machine Manager 服务的监视尚未开始。

原因

不正常状态指示 System Center Virtual Machine Manager 服务未运行。

解决方法

当 System Center Virtual Machine Manager 服务由于出错而关闭时,该服务会尝试在没有任何干预的情况下重新启动。

如果该服务不能够自己重新启动,或者当您尝试重新启动它时,它仍然关闭,请执行以下步骤:

1

查看 VM Manager 事件日志或系统日志中的事件,它们可以更好地解释此情形。

2

确保 Virtual Machine Manager 可以连接到 SQL Server,尤其是当 VMM 数据库位于 SQL Server 的远程实例上时,更需要确保这一点。

3

确保 Virtual Machine Manager 使用的所有端口都没有被 VMM 服务器上的其他任何应用程序使用。有关 Virtual Machine Manager 所使用的默认端口的信息,请参阅 VMM TechNet 库中的“Virtual Machine Manager Network Requirements(Virtual Machine Manager 网络要求)”(http://go.microsoft.com/fwlink/?LinkId=268228)。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Discovery.VMMManagementServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Virtual Machine Manager 服务已停止
System Center Virtual Machine Manager 服务在计算机上已停止。计算机名:{0}
RunAsDefault

Source Code:

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