Monitors the state of a virtual machine
The VM Health Event monitor tracks the following virtual machine statuses:
Health State | Virtual Machine Statuses |
Red (Critical/Error) | Creation Failed Customization Failed P2V Creation Failed V2V Creation Failed Migration Failed Host Not Responding Missing Unsupported |
Critical/Error Health State (Red):
Virtual Machine Status | Possible Causes | ||||||||||||||||
Creation Failed | The virtual machine was not created successfully. To find out which step in the job failed, view job details in Jobs view of the VMM console. The job failure error code gives the reason for job failure. For more information, see Monitoring Jobs (http://go.microsoft.com/fwlink/?LinkId=121817) in VMM 2008 R2 Help. View troubleshooting for virtual machine statuses at http://go.microsoft.com/fwlink/?LinkId=121829. Possible causes include:
| ||||||||||||||||
Migration Failed | The migration of the virtual machine from one host to another or from a host to a library server failed. Possible causes include:
View troubleshooting for virtual machine statuses at http://go.microsoft.com/fwlink/?LinkId=121829. | ||||||||||||||||
Missing | Virtual Machine Manager is unable to find the virtual machine. Possible causes include:
View troubleshooting for virtual machine statuses at http://go.microsoft.com/fwlink/?LinkId=121829. | ||||||||||||||||
Unsupported | The virtual machine has unsupported undo disks that were created in Virtual Server. Before you can manage the virtual machine in VMM, you must discard or merge the undo disks. To resolve this issue, use the Disable undo disks action in Virtual Machines view of the VMM console. For more information, see How to Disable Undo Disks for a Virtual Machine (http://go.microsoft.com/fwlink/?LinkId=121821) in VMM 2008 R2 Help. View troubleshooting for virtual machine statuses at http://go.microsoft.com/fwlink/?LinkId=121829. | ||||||||||||||||
Resolutions for statuses that cause a critical or warning health status for this monitor are very dependent on the error or job failure that occurred.
For detailed troubleshooting information for each critical and warning status for a virtual machine, see the following topics in the VMM TechNet Library (http://go.microsoft.com/fwlink/?LinkId=102009):
• | Troubleshooting Virtual Machine Statuses (http://go.microsoft.com/fwlink/?LinkId=121829) |
• | Troubleshooting “Not Responding” Status for a Virtual Machine Host (http://go.microsoft.com/fwlink/?LinkId=121830) |
Target | Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.VirtualMachineManager.2012.VMStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMStateMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.VMStateMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine"]/State$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMStateHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMStateCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>180</IntervalSeconds>
<TimeoutSeconds>180</TimeoutSeconds>
<PropertyValue>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine"]/State$</PropertyValue>
<FailedValue>Failed</FailedValue>
<MissingValue>Missing</MissingValue>
<PausedValue>Paused</PausedValue>
<UnsupportedClusterValue>UnsupportedCluster</UnsupportedClusterValue>
</Configuration>
</UnitMonitor>