Kjell Claesson
2005-Nov-15 21:08 UTC
[Nut-upsuser] HP/Compaq Rackmount UPS Support? [SOLVED]
Hi Denny. Nice, i have entered the HP R5500 XR to the drivers.list in the Testing and Development tree. Some info for you when you setup the nut. The shutdown_delay of the driver is internal to the ups. It calculate the time it can run after low-battery with the load. So when it comes to OB LB it starts the shutdown_delay and power off after it runs out. This is the normal way, as you would like the ups to wait as long as possible to get the line power back. When it hit OB LB it issue a shutdown -h now to take the machine down, and you have 'shutdown_delay' time to take it down. Most powerware ups'es gives about 120 sec. And that should be ok to take it down. If you have raid arrays to handle you may need longer times. If you set it to high, you get a warning that the delay is longer than remaining power. But if you want to do a premature shutdown you have to issue a 'upsmon -c fsd' and in the halt script do a 'upsdrvctl shutdown' to power off the ups. Read the shutdown.txt in the nut/docs/. Kjell tis 2005-11-15 klockan 09:26 -0600 skrev Denny Fox:> Hi Kjell, > > Downloaded the Development tag from CVS, and now it's working! Great! > > [root@encoda02 root]# /usr/local/ups/bin/upsc hpr5500@localhost > ambient.temperature: 26.5 > battery.charge: 99.3 > battery.runtime: 1153 > battery.voltage: 256.8 > driver.name: bcmxcp > driver.parameter.baud_rate: 19200 > driver.parameter.port: /dev/ttyS0 > driver.version: 2.1.0 > driver.version.internal: 0.10 > input.frequency: 59.8 > input.voltage: 199.7 > output.current: 11.5 > output.frequency: 60.0 > output.voltage: 197.0 > ups.firmware: 01.03 > ups.load: 45.6 > ups.model: R5500 XR 5000VA > ups.power.nominal: 5000 > ups.serial: Y1K6MHZ12H > ups.status: OL > ups.voltage.nominal: 204 > > Thanks for all your help! > > Now onward to the rest of the configuration... > > Denny > > -----Original Message----- > From: nut-upsuser-bounces@lists.alioth.debian.org > [mailto:nut-upsuser-bounces@lists.alioth.debian.org] On Behalf Of Kjell > Claesson > Sent: Sunday, November 13, 2005 3:03 PM > To: Denny Fox > Cc: nut-upsuser@lists.alioth.debian.org > Subject: RE: [Nut-upsuser] HP/Compaq Rackmount UPS Support? > > Hi Denny. > > You have to use the code from the cvs. You can use > the Development or Testing tag. > > cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/nut login > > [Press ENTER when prompted for a password] > > cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/nut co -r > Development nut > > If you want the code for next release change Development to Testing > in the last line. > > The driver you use is the version 0.08 and it does not contain the > fix for the baud-hunting and the param baud_rate. > > I send you a mail of list for more info. > > Regards > Kjell > >