Why won't my virtual machine restart after the host fails?
Modern hypervisors like VMware ESXi offer powerful and reliable platforms for virtualization. Even though the hypervisor’s stability and performance are constantly improving, there are many situations when virtualization features fail or behave unexpectedly. When trouble strikes, IT administrators need to understand the problem’s root cause and take decisive action to correct it and minimize any adverse impact on the business.
Tools like vSphere High Availability (HA) are intended to restart failed virtual machines (VMs) when a failure occurs on a host system or within a VM itself. If the VM fails to restart in a timely manner, the problem can usually be tied to a problem with HA and its configuration. However, always begin a troubleshooting investigation by verifying that the HA tool is actually protecting the VM -- if not, the VM will not restart and you’ll need to try to restart the VM manually. Make sure that tools like HA are working as soon as the VM is running.
Next, examine the available computing capacity on each potential host server. Verify that any potential destination server runs a compatible hypervisor -- vSphere VMs may not run on Hyper-V systems. Also make sure that adequate computing capacity is available to actually restart the afflicted VM. Be aware that many VMs will require slightly more resources to startup. This means servers with lean resources may experience startup glitches without a bit of additional workload balancing or resource adjustment.
When problems persist, consider the possibility of VM file damage or corruption. It may be necessary to restore a troubled VM from a backup and attempt recovery from snapshots or other data protection methodologies.
Prevent VMware High Availability problems before they start
VMware High Availability updates in vSphere 5
Understanding the difference between VMware High Availability and Fault Tolerance
How does VMware Fault Tolerance work?
Dig Deeper on Virtual machine monitoring, troubleshooting and alerting
Related Q&A from Stephen J. Bigelow
WET code leaves apps bogged down. Learn how to reduce the challenges brought on by code redundancy by programming based on the DRY principle. Continue Reading
A virtualization layer in an embedded system provides better efficiency for tasks such as network virtualization. Some examples of embedded ... Continue Reading
An embedded hypervisor offers several benefits, such as VM security, system reliability and improved hardware use, and is ideal for admins looking to... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.