How are you handling UPS shutdowns for VMware and Windows servers?

November 17, 2026 4 answers
Asked by q.694!clampnotch

We have APC UPS units with network cards and currently use NUT. I am hesitant to install unsupported NUT modules on the VMware hosts, and the vendor software looks expensive per server. What other approaches are worth considering?

Answers

8k!velourcrank_624

One option is a separate Linux box that monitors the UPS network card over SNMP and triggers a PowerCLI shutdown through vCenter. That keeps extra modules off the hypervisors, though you are taking responsibility for the script and its maintenance.

Plan the sequence around your dependencies. Shut down guests cleanly first, allow a timeout for anything stuck, then shut down the hosts and storage. A forced power-off after the timeout can protect the rest of the sequence, but it may lose data in a guest that hasn't finished shutting down.

Vorlixa.9c:

Put the monitoring box on UPS power too, and keep it running long enough to finish the sequence. A controlled power-loss test is worth doing rather than assuming the script will work under load.

Reply to this answer
Nexdaro+8w

NUT can also drive a scripted shutdown without making every decision on the hosts themselves. Its extensions give you flexibility to sequence systems and send outage notifications, but someone needs to understand and support the setup when it breaks.

Nutify is another option to investigate if you want a containerized Linux setup. The suggested approach still uses clients on the virtualization hosts, so check whether that addresses your support concerns before committing.

Reply to this answer
p.357~brindleparcel

Whatever triggers the shutdown, don't react to every brief switch to battery. Use estimated runtime remaining, or a maximum time on battery with an earlier trigger if runtime drops sharply. Leave enough time for the whole shutdown sequence, not just the first VM.

Reply to this answer
_t83!quorlune.5

The vendor software is still worth comparing against the scripting route if support and ongoing maintenance matter more than the license cost. Check the actual licensing for your environment and whether it covers the shutdown sequence you need before ruling it in or out.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions