vSphere 5.x VMs not migrated enabling ESXi maintenance mode

vmnotmigrated01

When the ESXi is being put in Maintenance Mode, the VMs are not migrated automatically to other hosts within the cluster.

The reason of this behavior is often due to the vSphere HA Admission Control feature that prevents VMs to be moved to the host that doesn’t have enough resources to ensure failover capacity within the cluster.

 

Procedure

To put the host in Maintenance Mode for maintenance, right click the ESXi and select the Enter Maintenance Mode option.

vmnotmigrated02

You may receive a warning message that prevent the host to complete the procedure. To complete the process you need to manually migrate the VMs.

vmnotmigrated03

To automate the migration process, you need to disable the vSphere HA Admission Control. Click Edit button to disable the Admission Control.

vmnotmigrated04

Disable the Enable Admission Control option then click OK.

vmnotmigrated05

Check the Admission Control has been disabled.

vmnotmigrated06

Try putting the host in Maintenance Mode again. The VMs are now automatically migrated to other hosts of the cluster.

vmnotmigrated07

The host is now in Maintenance mode.

vmnotmigrated08

This policy change allows the system to automatically migrates the VMs during the ESXi Maintenance Mode request.

firma