Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 20:45:00 +0300
From:      Petri Riihikallio <Petri.Riihikallio@Metis.fi>
To:        "Jack L. Stone" <jackstone@sage-one.net>, questions@FreeBSD.ORG
Subject:   Re: How to shut down cleanly by killing power
Message-ID:  <a05111b07b9ba4753fc73@[192.168.0.2]>
In-Reply-To: <3.0.5.32.20020927113644.01026638@mail.sage-one.net>
References:  <3.0.5.32.20020927103653.01026638@mail.sage-one.net> <a05111b01b9b9ea46ac33@[192.168.0.2]> <a05111b01b9b9ea46ac33@[192.168.0.2]> <3.0.5.32.20020927103653.01026638@mail.sage-one.net> <3.0.5.32.20020927113644.01026638@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>I have several SmartUPS (APC 1500s) that run the most critical machines and
>dictate to the slaves.

I believe the SmartUPS can be programmed to wait before they start to 
supply power. If I read the apcupsd docs correctly you can check you 
settings with "apcaccess eeprom".

It should return the UPS settings like this:

>                          Config        Current  Permitted
>Description              Directive     Value    Values
>===================================================================
>Upper transfer voltage   HITRANSFER    253      253 264 271 280
>Lower transfer voltage   LOTRANSFER    196      196 188 208 204
>Return treshold          RETURNCHARGE  0        00 15 50 90
>Output voltage on batts  OUTPUTVOLTS   230      230 240 220 225
>Sensitivity              SENSITIVITY   H        H M L L
>Low battery warning      LOWBATT       2        02 05 07 10
>Shutdown grace delay     SLEEP         20       020 180 300 600
>Alarm delay              BEEPSTATE     0        0 T L N
>Wakeup delay             WAKEUP        0        000 060 180 300
>Self test interval       SELFTEST      336      336 168 ON  OFF

You can set the 'Return treshold' to 15% or the 'Wakeup delay' to 180 
seconds to avoid the problem you described.

>The slaves have dumb UPS, so nothing is cut 'n
>dried. I don't even know why they send a serial cable with the dumb UPses.
>I've watched folks waste days trying to make the dumbies communicate just
>because they got the cable with the new unit.

You can't really communicate with the dumb UPSes. They use the serial 
port status lines (RTS, CTS, DCD, DTR etc) to signal the basic 
status: OnLine, OnBattery, BatteryLow etc. You can also signal the 
UPS to shut down via the control lines.

NUT can use this kind of communication with the genericups driver.
-- 
Cheers,
Petri

Metis / Petri Riihikallio
GSM: +358 400 505 939

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05111b07b9ba4753fc73>