powerdown and esxi

Hi, we have an upcoming powerdown in our datacenter, we will be powering down all Esxi hosts and VMs, do you suggest any particular order to power down the hosts in a cluster(master,slaves), any specific suggestion on the host hosting vcenter(powerdown last? power up first?)
Who is Participating?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
We do the following:-

Depending if you have HA and DRS, or vMotion.

1. Power OFF ALL VMs on ALL Hosts. (except vCenter Server note which server it's on)

2. Enter Maintenance Mode on ALL Hosts. (except vCenter Server host)

3. Shutdown ALL Hosts, that do not include vCenter Server.

4. Connect directly to the Host which has vCenter Server, Shutdown vCenter Server.

5. Enter Maintenance Mode on this Host.

6. Shutdown this final host.

7. Shutdown ALL SANS.

Note the Host which had vCenter Server, and when powering up, Start this Host First, Connect Directly to it, and Start up vCenter Server.
Zephyr ICTCloud ArchitectCommented:
Depending on the need of the customer we sometimes create a specific script that shuts down the specific VM's in order, e.g. when there are specific application servers that need to be shut down in order (first the app server, then the db server)...

The vCenter is always last because this server controls the proper shutdown of all devices in question, so the esxi server holding the vCenter VM will be shutdown last. Usually we try to keep the vCenter on one ESXi server to ease the scripted powerdown.

For startup it depends a little on how you authenticate to vCenter, if you are using AD it goes without saying that this needs to be started up before you can log into vCenter.

We also make good use of the pause options before booting up the next VMs, it allows for everything to come up nice and slow preventing possible issues of thing not being started before the next VM in line boots up.

So in that way it doesn't really matter which ESXi server in the cluster is shutdown first as long as all the VMs have been shut down first, followed by the ESXi servers that aren't holding any active VMs anymore and the host holding the vCenter server last (after the shutdown of vCenter VM naturally).
With DPM you can enter standby mode on hosts, so that when vcenter comes back they power on automatically (less scripts etc)
beretenAuthor Commented:
Many thanks.
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.