My APC UPSs all have the APC SNMP card so they are able to communicate over the network. From what I've been able to find the PowerChute program alerts the guest OS that a power outage has occurred but not a VM host. I'd rather alert the host (or vCenter) so vCenter can manage the power.

I honestly don't know if vCenter can do what I want it to do (with Enterprise licenses) but what I'd like to have happen is this:

  1. Shutdown non-essential VMs.
  2. Migrate essential VMs to as few hosts as possible. (In my case I have only two.)
  3. Power down the unused host.
link|improve this question

41% accept rate
Possible duplicate? serverfault.com/questions/85512/powerchute-for-vmware-esx4/… – xeon Dec 19 '11 at 23:39
Honestly I didn't see that question while I wrote up my own though I did check out a few others that looked positive. In any case I'll check out the solutions offered there as well. – cparker4486 Dec 20 '11 at 3:15
feedback

1 Answer

APC provides the software Powerchute Network Shutdown for this usage, where you install the agent on the vSphere Management Assistant as it's no longer possible to install software directly on ESXi.

Here is a link to the installation documentation at APC.

EDIT: I'm not sure if the Powerchute software can shut down machines according to priorities etc, but I remember the MGE software (also on a vMA) could do it. Give it a go and see what happens!

link|improve this answer
Looks very promising. It may take me a while to test though. – cparker4486 Dec 20 '11 at 3:17
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.