From: Niall O Broin (niall at domain magicgoeshere.com)
Date: Thu 27 Jul 2000 - 16:09:41 IST
On Thu, Jul 27, 2000 at 02:48:32PM +0100, Damian O'Sullivan wrote:
> I have just bought an APC Smart UPS 1000. I want to hang our linux mail
> server and our NT PDC off of it.
> Which should I connect the serial cable to and how do I get one to shut
> off the other?
That depends on which OS you prefer to program in. The principle of this is
that the machine which hosts the UPS (i.e. has the serial cable) runs
monitoring software, and when it decides that the systems are going down, it
tells the other systems, which are running daemons waiting for this message
(alternatively the host can run a process on the other machines, thus
avoiding the daemons.
Of course, I've only done this with Unix boxen. NT's notorious lack of
remote managability won't help you here. A thought occurs to me though - you
could use the Linux box as a repeater - connect UPS to one serial port, and
have a little piece of code which monitors that port, and replicates
everything on it to the other serial port. This will be a different task
depending on whether your UPS talks down the serial line in the conventional
sense, or just uses some of the status lines as toggles.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:07:00 GMT