[plug] UPS's

Bernard Blackham bernard at blackham.com.au
Tue Nov 7 17:59:16 WST 2000


On Mon, 6 Nov 2000, Matt Kemner wrote:
> Rather than shut down the server completely, why not go to single-user
> mode and remount the drives read-only? That way the disks are safe, but
> the server can keep monitoring the UPS in case the power comes back.

So assuming all the disks/partitions are mounted r/o, a fsck wont be done
on startup if the power cuts?

Could this be achieved by using one of those unused runlevels (perhaps 4
on my RH6...) and make it identical to 1 (single user mode) and add a last
step to mount drives ro. Then simply get the UPS software to run "init 4
(or whatever runlevel)" if juice gets low?

Then if and when power comes back, it restores it to runlevel 3 (or the
usual default) - would I need to explicitly put in each other runlevel
(2,3,5) a script to remount the drives rw or is this done already?

We settled on an APC BackUPS Pro 280 to run our server box (no monitor)
and I'm about to start configuring the automation et al tonight. Thankyou
all very much for your helpful replies.

Bernard.

--
 Bernard Blackham
 bernard at blackham.com.au





More information about the plug mailing list