Re: [Nolug] APC UPS server shutdowns

From: Petri Laihonen <pietu_at_weblizards.net>
Date: Sat, 2 Apr 2011 17:53:46 -0500
Message-ID: <AANLkTikQ6Kc3oUmL-m8JuUXKgoRVMykOdHyxW+xcCfg_@mail.gmail.com>

So, what is the correct way to shut down, so that Linux system comes back up
when the power is restored?
Or is this only via Bios setting which makes the coputer to come up always
when power is restored?

P

On Thu, Mar 31, 2011 at 7:43 PM, Jimmy Hess <mysidia@gmail.com> wrote:

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

___________________
Nolug mailing list
nolug@nolug.org
Received on 04/02/11

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