APC UPS BackUPS Pro (BX1500M)
galtsev at kicp.uchicago.edu
Tue Sep 4 14:47:57 UTC 2018
On 9/4/18 8:34 AM, Daniel Feenberg wrote:
> On Mon, 3 Sep 2018, Valeri Galtsev wrote:
>> To solve this last trouble I configure since forever in BIOS power ON
>> after AC power is returned. Usually if UPS has drained battery, after
>> power returns, it powers itself ON, provides power to outputs and starts
>> charging battery. We had this situation once, outage longer that UPS's on
> What happens if power returns during the shutdown sequence? The power
> never goes off, therefore never turns on, and the computer remains off.
> Is there a solution other than remote control?
You are absolutely right. So, as far as I remember apcupsd will try to
abort shutdown, and if the machine didn't go too far in shutdown
sequence, all will stay. Someone who read apcupsd more recently that I
did, please, correct me if I'm wrong here. Incidentally, if on battery
run is 20 min and shutdown starts 2 min before battery drained, the
chance of outage to be exactly that long is at least 10 times smaller
that outage shorter than that. But, exactly as you said, the machine may
get shut down, and stay if outage duration in in that narrow range.
Now, if this happens, you deal with the situation from external box.
This is the case when you need more important machine that is behind UPS
with much longer on battery run time. And if you run something like
nagios (or other host/service watch system), that box can send WOL (Wake
On LAN) signal some 5 min after it notices that machine is off line. Now
you have really robust system.
I hope, this helps.
> Daniel Feenberg
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
More information about the freebsd-questions