[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] uninturrupted server



I may be wrong, but it sounds like it _should_ be easy enough to program
for UPS shutdowns. If you can monitor a COM port and trap signals from
the UPS, one can follow this:
There is a device /dev/watchdog usually. Software watchdog can be [ or
is] compiled into the kernel, if I remember correctly. Please check
docs, but the device works as follows. One must write some data into it
continuously. If no data is sent to /dev/watchdog for more than 1 min.
or so, after it has been initialised, then the watchdog sends the m/c
for a shutdown.

My memory might be rusty ;->.
[I heard of this more than a yr. back, and the guy who told me this
showed me the dev in a Slackware 96 system]

Ciao
-sush
------Jiju Thomas wrote----------
>UPSes as far as i have heard, atleast some of them have a serial port
>connection to inform server to do a shutdown, but alas most cost effective
>ones have only win$ drivers.  but the etc/inittab file does contain some
>entries about reading the UPS oops and issuing a halt signal etc, so any
>serial interfaced UPS should serve ur purpose.

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.