Koozali.org: home of the SME Server

SOLVED: UPS Powerware PW 5115

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SOLVED: UPS Powerware PW 5115
« 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!
« Last Edit: April 29, 2008, 11:21:19 PM by jumba »

Offline bluejay

  • *
  • 9
  • +0/-0
Re: UPS Powerware PW 5115
« Reply #1 on: April 29, 2008, 03:29:07 PM »
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. 

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: UPS Powerware PW 5115
« Reply #2 on: April 29, 2008, 03:31:09 PM »
Well, the USB was delivered with USB cable as well as serial cable.

I have tried them both :sad: :sad: :sad:

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: UPS Powerware PW 5115
« Reply #3 on: April 29, 2008, 05:44:38 PM »
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.
In life, you must either "Push, Pull or Get out of the way!"

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: UPS Powerware PW 5115
« Reply #4 on: April 29, 2008, 06:36:16 PM »
USB or serial really doesn't matter, but if USB is easier I'll probably go for that :?

Code: [Select]
[root@server ~]# config show nut
nut=service
    MasterPass=***************************************************************
    Model=bcmxcp
    SlavePass=***************************************************************
    status=enabled

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: UPS Powerware PW 5115
« Reply #5 on: April 29, 2008, 07:03:58 PM »
Quote
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.
In life, you must either "Push, Pull or Get out of the way!"

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: UPS Powerware PW 5115
« Reply #6 on: April 29, 2008, 11:20:40 PM »
@ 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!

« Last Edit: April 29, 2008, 11:22:19 PM by jumba »

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: SOLVED: UPS Powerware PW 5115
« Reply #7 on: April 29, 2008, 11:22:47 PM »
Quote
Thank you many many times for your kind reply.

Glad I could help.
In life, you must either "Push, Pull or Get out of the way!"