How to configure Virtual Machines to shut down when a standalone ESXi host is commanded to shut down by PowerChute.
PowerChute Network Shutdown
PowerChute Business Edition
VMware ESX and ESXi
You can use the "Virtual Machine Startup/Shutdown" feature of ESXi and ESX to gracefully shutdown VMs when the host is commanded to shut down. VMware tools must be installed on each VM.
To configure VMs to shut down with the host:
For VMware ESXi host 5.x:
- Log in to the ESXi host via the vSphere client. On the Configuration tab and under Software, select "Virtual Machine Startup/Shutdown"
- Click on Properties
- Enable the option "Allow Virtual Machines to start and stop automatically with the system"
- Change the Shutdown Action to "Guest Shutdown"
- Use Startup Order to specify the order in which the VMs are shut down and started
- Click OK to accept the changes.
The Virtual Machine Startup/Shutdown feature is deliberately disabled for hosts that are part of a High Availability (HA) Cluster.
For VMware ESXi hosts 6.5, 6.7, 7.0
1 - Log into the ESXi host web interface
2 - Select Virtual Machines from the Navigator
3 - Select the virtual machine you would like to configure for shutdown / startup
4 - Go to Actions - Autostart - click Enable
5 - Go back to Action - Autostart - click Configure
6 - Select the start and stop delay and set stop action to shut down
7 - You can arrange the startup and shutdown order once 2 or more VMs have been configured for Autostart
Please review VMware knowledge base document for assistance with ESXi 6.5 and above. https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vm_admin.doc/GUID-5FE08AC7-4486-438E-AF88-80D6C7928810.html
PowerChute Business Edition is not supported in a HA environment and is not supported on VMware ESXi 6.7 or 7.0.
PowerChute Network Shutdown version 3.1 and above supports HA environments. For help on how to configure PowerChute Network Shutdown in a HA environment please review Application Note 180
or the VMware User Guide