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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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).
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.