Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


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: – Evan Anderson Jan 12 '11 at 17:45

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
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? – 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


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.