Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I use a script to shutdown my ESXi server in the event of a power outage, do I need to shutdown each VM or will ESXi shutdown all of the VMs for me? When I mean shutdown I mean a graceful shutdown not a hard power off.

share|improve this question
up vote 4 down vote accepted

ESXi will do this for you IF you have configured it to do so. Check the configuration tab and the virtual machine startup/shutdown setting. Ensure it is enabled and that you have defined your individual VM startup/shutdown requirements.

share|improve this answer
I'm still amazed ESXi (and ESX) requires tricky VMa scripting to enable UPS-controlled shutdown. VMware should really get this built in. – Martijn Heemels Apr 10 '11 at 0:37
Well I am aware of product in the APC powerchute line. It is for ESX I don't if it for ESXi. But I am not made of that kind of money so I and taking the homebrew approach. – ianc1215 Apr 10 '11 at 2:22
Tell me about it. The lack of a simple UPS management page in ESXi is laughable in this day and age. – Asinine Monkey Apr 11 '11 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.