Re: [Nolug] APC UPS server shutdowns

From: Jimmy Hess <mysidia_at_gmail.com>
Date: Thu, 31 Mar 2011 19:43:07 -0500
Message-ID: <AANLkTinKarPpn1eOj_qMGvMG1S4cyY9JHRNV3Xv2QvfV@mail.gmail.com>

On Thu, Mar 31, 2011 at 8:55 AM, Jerry Wilborn <jerrywilborn@gmail.com> wrote:

PowerCHUTE is closed source. Not too fond of that.
I suggest APCUPSD.
http://www.apcupsd.com/manual/manual.html#nis-server-client-configuration-using-the-net-driver

It should be possible to have APCUPSD on one server connected
to a SmartUPS with Serial or USB, with the Network information server enabled,
and get that working.

Then have the other machines configured as APCUPSD clients.

Make sure to have appropriate firewall and network security measures in
place to protect the server against spoofing, if DoS from the LAN is a concern,
or it's a security issue for untrusted LAN hosts to be able to ask for
UPS status info.

> If this is on Linux I would just setup SSH keys and run a script that halts
> each other machine at its own runlevel 0.

It will depend on how many servers and smart-UPS you have, but be
careful how you "shut down".... otherwise, there will be no proper
automatic reactivation of servers when power is finally restored.

If you drop a few hundred servers to runlevel 0, and the initscript includes
a 'poweroff' command... it could be quite a mess when power returns before
the shutdown is even finished, and servers remember the last power
state was off.

--
-JH
___________________
Nolug mailing list
nolug@nolug.org
Received on 03/31/11

This archive was generated by hypermail 2.2.0 : 04/02/11 EDT