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.

I have a UPS connected via the serial port to a server using PowerChute Business Edition. If a power outage occurs I would like this server to start shutting down all other servers within the network.

Is there dedicated software to do this? I was thinking of creating a command file which runs a .bat file to run shut down commands to each server (using PSExec). I can set PowerChute to run this command file when a power failure occurs.

Is there not anything APC provide which has this functionality and is more efficient than writing a .bat file to do this?

Thanks,

share|improve this question
    
If you don't mind getting away from APC software you'll find that the APCUPSd software in "master / slave mode" will do what you're looking for. Have a look: http://www.apcupsd.com –  Evan Anderson Jan 12 '11 at 17:45

1 Answer 1

Yes - you're already running it, you just haven't installed or configured all the pieces. Install the PowerChute agent on the other machines that you want shutdown by the server, the one that is attached via serial to your UPS.

Edit - you know what? I think you're right, given the scenario that you have. If you had a management NIC for the SmartUPS, you can do this with the PCBE server and agent. With only serial communication, you can't do this easily and have to do what you're doing, managing your own scripts.

share|improve this answer
2  
Is that possible? The PowerChute software facilitates communication with the APC that the server is connected to, not to other servers that aren't connected to the APC. For that you would need a network management card in the APC unit and then you would install PowerChute on all of the other servers and configure them to communicate with the APC unit. No? apc.com/resource/include/techspec_index.cfm?base_sku=ap9630 –  joeqwerty Jan 12 '11 at 15:19
    
Read up on Powerchute Business Edition. The network cards for the SmartUPS are nice and obviate the need to have a serial cable and a server for that purpose. If you don't have the network card in your UPS, you run the PCBE Server on the machine with the serial connection, and the agent on the other machines that you want to shut down. –  mfinni Jan 12 '11 at 15:36
    
Dammit - Joe, I think that you're right. To do this easily, you do need the NIC. To do this the long way, you can do what Vishal was thinking of doing, with your own scripts. –  mfinni Jan 12 '11 at 15:43
    
@mfinni: Yep-- you need the grossly overpriced NIC to do what Joe is talking about. –  Evan Anderson Jan 12 '11 at 17:44
    
$300 is grossly overpriced? By comparison, how much is an iLo card? Because it's not just a NIC, it's a management controller. –  mfinni Jan 12 '11 at 17:52

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.