ESXi servers are intended to work 24/7/365 – all-time providing access to running virtual machines ( VMs ). All servers configured and installed in a good way have UPS and redundant power supply in case power failure not to down server immediately. UPS device help to give more time to shut down VMs smoothly and save way. But what if ESXi server restarted and after that, we want to see running VMs without our attention. This is step by step how to configure autostart virtual machines on Vmware ESXi host.
It is possible by configuring Autostart for each virtual machine. Let’s see how to do it :
Open your Vmware ESXi web console.
- Go to Host -> Manage —> Autostart —> and click Edit Settings
2. Next check YES for Enabled Autostart on Host and also you can configure here times for Start and Stop delays – let’s leave it as a default = 120 second. Then Click OK
3. Next and last part is configure timers for individual VMs. Let’s take as example my EVE NG virtual machine.
- Click on VM
- Click Enabled
- Then Configure button make active – click on it and start set up timers for EVE NG machine only!!
As you can see there is Stop Action option. There is few parameters to choice. System default means that trigger for stop VM is the same as we configured under HOST parameters. You can take what you want ( power Off, Suspend, Shutdown )
I use ESXI on very low power consumption server as a NAS ( worked on OpenMediaVault and also VMs from time to time when labing) and when it is not used for a long time it is a good idea to power off and then start again everything will boot as we configure on ESXi.