Koozali.org: home of the SME Server

Liebert UPS setup? [FIXED]

Offline judgej

  • *
  • 375
  • +0/-0
Liebert UPS setup? [FIXED]
« on: October 30, 2006, 03:45:20 PM »
Anyone managed to set up a Liebert Powersure PSA UPS on SME Server 7? It has both serial and USB connections.

The details for setting up any kind of UPS are a bit hit-and-miss, being distributed over many different places, and I've not managed to find anything that helps.

The 'it should just work' approach doesn't work - so any ideas on what I need to do to get this UPS working with SME, if it is possible at all? On Windows to set up it up, I just plug it in and that's it - Windows sees it as a standard UPS and is able to monitor its battery, shut down etc.

-- JJ
-- Jason

Offline judgej

  • *
  • 375
  • +0/-0
Re: Liebert UPS setup? [FIXED]
« Reply #1 on: November 08, 2006, 12:30:19 PM »
Just for information, in case anyone else is doing this:

For the Emmerson/Liebert Powersure PSA, use the hipups driver not the liebert or the newhidups drivers.

The steps to get this thing working, using the USB cable, on SME 7.0 are:


Code: [Select]
config setprop nut Model hidups
config setprop nut status enabled

expand-template /etc/sysconfig/ups
expand-template /etc/ups/ups.conf
expand-template /etc/ups/upssched.conf
expand-template /etc/ups/upsmon.conf
expand-template /etc/ups/upsd.users
expand-template /etc/ups/upsd.conf

/etc/rc7.d/S15nut restart


Then the details for the UPS can be read:

Code: [Select]
[root@sme ~]# upsc UPS@localhost
battery.charge: 100
battery.chemistry: PbAc
battery.runtime: 4660
battery.voltage: 24.1
driver.name: hidups
driver.version: 2.0.3-pre2
ups.mfr: Unknown
ups.model: Liebert PSA1000 FW:09
ups.serial: 0417100054BA089
ups.status: OL


I expect it would be possible to use the serial cable too, and there are some documents around detailing what the serial cable pins do, but since USB is so easy to set up, I didn't follow that line through.
-- Jason

Offline robwellesley

  • *
  • 92
  • +0/-0
Liebert UPS setup? [FIXED]
« Reply #2 on: May 11, 2007, 01:46:32 AM »
Did you figure out how to set the amount of time the Server will run on Battery before shutting down?

Rob

Offline judgej

  • *
  • 375
  • +0/-0
Liebert UPS setup? [FIXED]
« Reply #3 on: May 12, 2007, 12:39:16 AM »
Quote from: "robwellesley"
Did you figure out how to set the amount of time the Server will run on Battery before shutting down?


Nope. I've disconnected the monitor completely now, as it was just too unreliable, and I didn't have the time to fix it [nut]. The UPS just sits there catching the odd momentary power lapse or accidental RCD trip.

I'll stick to APC in the future, just for simplicity because it 'just works' without days of messing around.

-- JJ
-- Jason