vsphere data centrer shutdown

Client had cluster with HA and DRS enabled. I performed test shutdown procedure with an  the intention of shutting down the data center one day in the following order.
Disabled HA and DRS.
Power down all the VMs
Enter esxi host into maintenance mode and noticed all the shutdown VMs moved to next available Esxi hosts.
I think at the end all the shutdown vms will be moved into only one Esxi host, that is, the last
Do I have to enable HA and DRS before power on the VMC so the VMS will be placed in an appropriate Esxi host?
or
Better leave HA and DRS (do not disable at all before power down the vms)
Shutdown the vms
Enter into maintenance mode (let the VMs to move into the last Esxi host).
Power down the lat esxi after entering to mnt mode.
power on esxi hosts
start the VSA.
Let the vms to move with DRS settings?
LVL 1
sara2000Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
if you have HA and DRS enabled, and then setting Maintenance Mode, will evict VMs off that host onto another host.

if you continue you will end up with ALL VMs on a single host.

When you start up, and Power On VMs, they will be placed automatically on other hosts.

OR....

TURN OF HA and DRS, and no VMs will move anywhere.

Power up hosts, Power Up VMs, and then enable HA and DRS.
0
 
sara2000Author Commented:
I turned off HA and DR, still vms moved to other esxi hosts . I was expecting them to stay on the esxi host .
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Not sure what happened there....

You can always power off VMs, and just shutdown host.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.