"Robert Friberg" <[EMAIL PROTECTED]> wrote:

 >Just read the rather old UPS HOWTO and would appreciate
>any advice on how I can proceed.
>
>Are there any solutions that support bringing
>a system up again when the power is back? Perhaps
>using "wake on lan"?
>
>If or if not, is there any specific redhat way of implementing
>an ups solution? I couldn't find powerd on my box, is
>it on the CD or is there some other software?
>
>If anyone can recommend a specific hardware/software
>combination, it would be much appreciated.

The only combination I know works for sure is an older version of apcupsd 
and one of APC's "Smart-UPS" series.  You'll have to edit 
/etc/rc.d/init.d/halt a bit, especially if you're using software RAID, but 
other than that you can configure the UPS to shutdown based on:

- time running on UPS
- % of battery charge remaining
- minutes of runtime left

You can also configure the UPS to power back on after the power's been back 
on for a length of time and/or % of charge in the battery.  (Usually 0, 15, 
50 or 90% charged.)

I've used this combination successfully with RH 5.x and 6.0, 6.1 and 6.2 
with Smart-UPS models 700, 1000 and 1400.  Make sure you get the model that 
has the cable with it.  I've also used it with somewhat older Back-UPS Pro 
420.  The only difference is you can't set the UPS to come out of sleep 
mode after the power's been on for X amount of time.  (You can still use 
the battery % charge though.)

IMPORTANT:  Newer versions of apcupsd do *NOT* work in some cases.  Some of 
them install to /usr/local/sbin, which may or may not still be mounted when 
the halt script is ready to call the procedure to put the UPS in standby 
mode.  Other versions look like they're going to work properly, but 
don't.  I haven't had time to investigate further or notify the folks that 
maintain apcupsd, but I will shortly.  The only version I know works for 
sure is the older, binary only apcupsd-3.5.6.bin.tar.  I have it around if 
you want it.

That said, there are other options you can try as well.  APC has made 
available a Linux version of their Power Chute software but it requires 
X-Windows be installed.  There's also NUT (Network UPS Tools) at 
http://www.exploits.org/nut/.  Other UPS manufacturers may also have Linux 
versions of their monitoring software.

Good luck.  HTH.

-Eric


Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]

Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to