[CentOS] "power outage"-save / like embedded systems

Tue Sep 30 18:55:16 UTC 2014
John R Pierce <pierce at hogranch.com>

On 9/30/2014 11:52 AM, Valeri Galtsev wrote:
> I was thinking more in line of what apcupsd does: it runs as a daemon,
> talks to UPS (and puts wall message about events like power loss...), and
> executes command to cleanly shut down the box if less than (whatever % of
> battery juice you configured to start clean shutdown at), and will issue
> command to cancel shutdown if power returned after shutdown started
> (sometimes you can do it...). And I usually don't need to do any
> configuration (using GUI or command line utility) of the UPS itself... so
> after initial configuration of apcupsd I never get back to it. And, BTW,
> if you have half of a rack behind one UPS, you can set apcupsd on one
> machine to talk to UPS, and on other machines set apcupsd to talk to
> apcupsd on "master" machine making all of them aware, and act as
> necessary.

nut and upsmon do exactly this.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast