[CentOS] Gracefully powering off system in case of power failure

Sat Jul 4 08:25:17 UTC 2015
John R Pierce <pierce at hogranch.com>

On 7/4/2015 1:02 AM, Jatin Davey wrote:
> [Jatin] I am still reading through the documentation of my server to 
> find out the battery backup in it. Is there any command within the OS 
> that i can use to find out this information ? 

I've never heard of a UPS built into a server, every one I've ever seen 
has been external... the mains power cable(s) for the server are plugged 
into the UPS.     The UPS communications can be over ethernet, or USB, 
or serial signaling cable, depending on what sort of UPS.   for an 
example, in my lab, each of my two racks has a pair of 7KVA UPS's in the 
bottom of the rack.  these UPS's also have network cards, and are 
plugged into my management LAN.   for my servers to talk to these UPS's, 
I need to know the IP address that the UPS is configured for.

john r pierce, recycling bits in santa cruz