Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jumba on April 29, 2008, 12:35:47 PM
-
Hello world!
Is there anyone out there using the Powerware PW 5115 UPS with Sme Server?
It's listed on http://www.networkupstools.org/compat/stable.html as supposed to be using NUT driver bcmxcp, but somehow I just cannot get the communication part working.
I've tried USB cable as well as serial cable, following the instructions on http://wiki.contribs.org/Uninterruptable_Power_Supply
Of course I probably just do something wrong (!) but if someone would tell how they got this UPS to operate together with Smeserver I'd be very thankful!
-
I have had 2 separate 5115's working with SME. They were bought 2 years ago and if I remember correctly they only had serial cable connections, so perhaps the current 5115's have other differences? I did not have to do anything special to get them working. I believe that the serial cable is not a standard cable (is yours the original cable?)
I know that this is probably not much help but it was a while ago.
-
Well, the USB was delivered with USB cable as well as serial cable.
I have tried them both :sad: :sad: :sad:
-
You have 2 choices with that UPS, USB and serial. Which do you prefer as they use different drivers/configurations? USB is probably easier to set up but they should both work.
Show the output of:
config show nut
Note: You don't need to show MasterPass or SlavePass.
-
USB or serial really doesn't matter, but if USB is easier I'll probably go for that :?
[root@server ~]# config show nut
nut=service
MasterPass=***************************************************************
Model=bcmxcp
SlavePass=***************************************************************
status=enabled
-
Model=bcmxcp
That driver is for the serial version but you don't have a serial port configured. You need to connect the UPS with the serial cable and specify what port it is connected to like so:
config setprop nut Device /dev/ttyS0
signal-event post-upgrade
signal-event reboot
NOTE: This would be if your UPS is attached to comm1, use ttyS1=comm2, etc.
OR If you want to try the "Experimental" USB driver (tested on the PW3501 and PW5110) you could try the USB driver specifically designed for Powerware?
config delprop nut Device
config setprop nut Model bcmxcp_usb
signal-event post-upgrade
signal-event reboot
Note: This driver does not use a specified port so if you added ttyS0 as above, you must remove it to use the USB driver thus the delprop line.
-
@ pfloor:
Thank you many many times for your kind reply.
I tried to follow your suggestions, but still no success, - until I realized that the USB cable was connected as well (eventhough I tried to set up communication through the serial cable...)
For some reason, it seems that the serial port on these devices is disabled as long as the USB cable is still connected!
I removed the USB cable, and now it all works!
-
Thank you many many times for your kind reply.
Glad I could help.