[Linux-HA] Stonith with APC Smart UPS 1000 & USB on Debian

unicoletti at prometeo.it unicoletti at prometeo.it
Tue Mar 8 03:59:31 MST 2005


Quoting Dave Dykstra <dwdha at drdykstra.us>:

> On Thu, Mar 03, 2005 at 03:56:02PM -0600, Dave Dykstra wrote:
> > I've have two APC Smart 1000 Rack-mounted UPS and would like to set up
> > stonith with them.  The Debian hosts don't have any spare serial ports,
> > but the UPS's have both USB and serial port connections and I'd like to
> > set up direct USB connections if I could.  The "apcsmart" stonith type
> > only talks about serial port.  Will it work over USB?  If so, how do I
> > set it up?  I found some web sites referring to the usbhid module which I
> > loaded and they talk about /dev/usb/hid* devices but those didn't
> > get created (the web site was for Fedora).

I had to create those devices on suse linux for apcupsd. The following is a link
to the make-hiddev script for apcupsd:

http://cvs.sourceforge.net/viewcvs.py/apcupsd/apcupsd/examples/make-hiddev?rev=1.1.1.1&view=markup

Regards,
Umberto

> Otherwise I could get USB to
> > serial port converters, would those work better?
> 
> If anybody knows anything about this, please advise.  I tried a USB to
> serial port converter and as soon as I plug it in without even sending any
> data the UPS shuts off and refuses to turn on until I unplug the cable.
> An RS232 lead status monitor hints that no null-modem is needed (there's
> a CTS signal from the UPS, and RTS and other signals from the computer).
> 
> - Dave Dykstra
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> 





More information about the Linux-HA mailing list