Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.
share|improve this question
    
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. –  idon'twearsuits Dec 20 '11 at 3:15
add comment

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.

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!

share|improve this answer
    
Looks very promising. It may take me a while to test though. –  idon'twearsuits Dec 20 '11 at 3:17
    
Revisiting this. In 2013, how should this be done? –  ewwhite Jul 13 '13 at 16:34
    
@ewwhite this hasn't changed, you still use the vMA –  pauska Jul 13 '13 at 16:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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