Have your shiny new Virtual Machine all set up in ESXi? Wondering how to make it Autostart in case of power failure or other host restart scenarios? This mini guide is for you!
Making ESXi auto boot VMs is very simple, these tools are designed for us dumb humans after all.
Studying VMware vSphere? Check out this book Mastering VMware vSphere 6.7 (Amazon Affiliate Link).
- On the VMware ESXi web management page, go to “Manage“.
- Under the “System” tab, click on “Autostart“.
- Click “Edit Settings“.
- Tick “Yes” for the “Enabled” box, then “Save”
- Below that, select the Virtual Machines you want to auto start and click “Enable” above them.
- (Optional) Configure the start/stop timer and stop action by going to “Configure”
- You’re done, sit back and enjoy your coffee… or keep working.
It’s a good idea to schedule a test reboot to confirm they fire back up as intended. Obviously if it’s your home lab or a non production server this is much easier!
This Post Has 7 Comments
Even tho I selected “shutdown host” as policy, when I try to reboot ESXI I get this:
“Shutting down or rebooting a host that is not in maintenance mode will not safely stop the running virtual machines on this host.”
So I’m confused, how can I do a shutdown or reboot of ESXI host that automatically stops the VM’s?
Hi, I haven’t seen this one. My only thought is did you add a stop delay as shown in the screen shot? Mines set to 120 there.
Does this work even if the esxi hosts are part of an HA cluster?
Thanks. It really helped
Autostart option only used for ESXI