One server, Two APC UPS on redundant power supplies : How to trigger shutdown ?

Posted by Falken on Server Fault See other posts from Server Fault or by Falken
Published on 2011-01-15T09:37:05Z Indexed on 2011/01/15 9:55 UTC
Read the original article Hit count: 467

Filed under:
|
|
|

I have a server racked and its redundant power supplies plugged in two APC Smart-UPS 3000 XLM. Each UPS is connected to two different mains power sources.

Two instances of apcupsd are running, each one connected to its own UPS. They can both detect when an UPS is on Battery, and each UPS can then trigger a shutdown on the server.

Question is : How NOT to shutdown if ONLY ONE UPS runs out of battery ?

Note : Smart-UPS 3000 XLM has a "Power Sync" Function that is able to connect to its peer and detect its status. But when I pulled the plug out of one of them, the Shutdown order was sent anyway. I'm thinking about modifying the shutdown scripts to check with "apcaccess" if the other ups is down. Any experience on this would be appreciated !

© Server Fault or respective owner

Related posts about linux

Related posts about redundancy