[Linux-HA] STONITH smart-ups 1500I
Etienne van Tonder
evt at infoware.com.au
Mon Oct 10 18:26:24 MDT 2005
Hi Alan,
Thank you for all your help it's much appreciated.
I have one more problem, I'm running apcupsd to monitor for power failures
so that the system can shutdown cleanly. When I start the apcupsd daemon and
execute:
stonith -t apcsmart -p "/dev/ttyS0 beta" -S
it returns with the following error:
CRITICAL **: APC_open_serialport: Could not lock tty /dev/ttyS0 (rc: -1)
If I stop apcupsd then it all works ok.
Regards,
Etienne.
----- Original Message -----
From: "Alan Robertson" <alanr at unix.sh>
To: "General Linux-HA mailing list" <linux-ha at lists.linux-ha.org>
Sent: Monday, October 10, 2005 11:49 PM
Subject: Re: [Linux-HA] STONITH smart-ups 1500I
> Etienne van Tonder wrote:
> > Hi Alan,
> >
> > I upgraded to 2.0.2 yesterday and everything is working as expected now,
> > thanks.
> >
> > I've only got one serial port but an abundance of USB ports on my new
> > servers which is a real shame when using them with Linux, as Linux
support
> > for USB devices does not seem to be quite there yet.
> >
> > I was going to use the serial port for the backup heartbeat connection,
but
> > I now will be using it for the UPS link for my stonith setup. Do you
know if
> > anyone has successfully used stonith with a USB connected smart-ups?
> >
> > Is there any issues with using another eth nic connection as the backup
> > heartbeat?
>
> No. Serial is good if you're playing with firewall rules - but not
> essential.
>
> Another thought if you're into writing shell scripts or something, might
> be to write a script to integrate your UPS with the network UPS tools
> (NUT) as a STONITH device.
>
>
> --
> Alan Robertson <alanr at unix.sh>
>
> "Openness is the foundation and preservative of friendship... Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list