Virtual Machine Shutdown and Startup

The Duration field is the time allowed for all the VMs to gracefully shut down (AFS VMs and Controller VMs are not included). If the VMs are shut down before the Duration time, PowerChute waits until this time has elapsed before proceeding to the next step in the sequence.

Using the Duration field, you must allow sufficient time for all your VMs to gracefully shut down before the hosts are commanded to shut down.

VM shutdown unsuccessful

When PowerChute issues a VM shutdown command, PowerChute will use the time specified in the Shutdown Duration field to allow VMs to gracefully shut down. If VM shutdown is unsuccessful, PowerChute logs the "Nutanix User VMs cannot be gracefully shut down. Powering off UVMs." event in the Event Log and will attempt to power off the VMs. PowerChute will wait 15 seconds to power off the VMs, and if this is unsuccessful, they will be forced off. PowerChute will wait an additional 15 seconds to force off the VMs, and if they cannot be forced off, PowerChute logs the "Insufficient time configured to shut down VMs on Cluster [Cluster]." event.

The 15 seconds durations PowerChute uses to power off and force off your VMs are taken from the configuration file.

Re-starting after a shutdown

Selecting the VM Startup checkbox re-starts any VMs that were shut down when a UPS critical event has been resolved and the Nutanix Hosts are powered on. PowerChute first checks that all hosts are available, all Controller VMs are running and the Cluster is available before starting the VMs.

If VMs are in the process of being started when a critical event occurs, PowerChute waits for the Duration time to elapse before shutting down VMs. This is to ensure that the VMs are shut down gracefully.