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
Learn how load balancing in the cloud differs from a traditional network traffic distribution, and explore services available from AWS, Google and ... Continue Reading
Access management is critical to securing the cloud. Understand the differences between AWS IAM roles and users to properly restrict access to AWS ... Continue Reading
Containers have rapidly come into focus as a popular option for deploying applications, but they have limitations and are fundamentally different ... Continue Reading