VMware ESXi 5.0, shutdown when UPS battery runs low

Posted on 2013-10-01
Medium Priority
Last Modified: 2013-10-19
I have a number of clients who are running VMWare ESXi 5.0 free edition servers, and they usually have some form of cheap UPS connected to the server.

The most common one is the CyberPower PureSinewave 1500VA UPS, which can power the server for about 10 minutes or so before it shuts down.


The UPS normally connects to the PC over USB. On a regular computer, this USB would appear like a laptop battery, and Windows can initiate a shutdown or standby just like a laptop does.

How can I get VMWare ESXi to standby the virtual machines and power off if the UPS goes onto battey power?
Question by:Frosty555
  • 2
LVL 126
ID: 39537979
Using the free version of ESXi has it's complications because you will lack the ability to perform any management functions in the host server, because it's not supported on the free version.

see the following Article


you will need to create a script to trigger the functions in the article.

Accepted Solution

AkshayNaik earned 1000 total points
ID: 39539132
CyberPower brand battery backups have a VM appliance based on CentOS that is specifically designed for ESXi and Xen Server.  Installed the VM appliance.  

As long as each VM has VMware Tools installed it will do a clean shut down off each VM and then shut down the host.  It will also shut itself off if so configured.

You can configure it to send email notifications on numerous events
LVL 20

Assisted Solution

compdigit44 earned 1000 total points
ID: 39543736
I believe this link sums up exactly what you are looking to do:

LVL 126
ID: 39585099
@Frosty555 Did these solutions work for your clients with the FREE version of ESXi?

Featured Post

WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article will go through how to backup a vPostgres DB from a broken vCenter Appliance and restore to a new vCenter Appliance.
Herein one will find an aggregate of some of my experience building and deploying virtualization stacks both in standalone, clustered Hyper-V, clustered Hyper-V with a Scale-Out File Server (SOFS) backend, and Storage Spaces Direct (S2D).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question