System Center 2016 Virtual Machine Manager ImageManagementService

Microsoft.SystemCenter.VirtualMachineManager.2016.ImageManagementService.Monitor (UnitMonitor)

監視 Hyper-V 映像管理服務 (VHDSVC.exe) 的狀態

Knowledge Base article:

摘要

Hyper-V Image Management Service 監視會指出 Hyper-V 映像管理服務是否正在受 Virtual Machine Manager (VMM) 管理的虛擬化主機上執行。如果 Hyper-V 映像管理服務未執行,監視會處於重大狀態 (紅色)。如果處於不明狀態,則是尚未開始監視虛擬化主機。

原因

狀況不良狀態表示 Hyper-V 映像管理服務未在主機上執行。

解決方式

若要疑難排解 Hyper-V Image Management Service 監視的狀況不良狀態:

1

在 Hyper-V 主機上使用 [系統管理工具] 中的 [服務],重新啟動 Hyper-V 映像管理服務。

2

如果您無法啟動 Hyper-V 映像管理服務,或是 Hyper-V 映像管理服務仍維持關閉,請在 Hyper-V 事件記錄檔或系統記錄檔中尋找可更清楚說明情況的事件。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2016.HyperVHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VHDSVC 服務已停止
電腦上的 Hyper-V 映像理服務 (VMMS.exe) 已停止。電腦名稱:{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.ImageManagementService.Monitor" Accessibility="Public" Enabled="false" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.HyperVHost" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.ImageManagementService.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 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>vhdsvc</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>