HPE 9000 and HPE e3000 Servers
1820213 Members
3760 Online
109620 Solutions
New Discussion юеВ

Re: anyone know how to connect an APC UPS to a HP server?

 
Bob_16
Frequent Advisor

anyone know how to connect an APC UPS to a HP server?

I posted an message earier on this subject. No takers???
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: anyone know how to connect an APC UPS to a HP server?

Do you need to install the PowerChute software or hook the serial cable from the UPS to the HP-UX box?

Here is instructions for installing PowerChute:
http://sturgeon.apcc.com/techref.nsf/umanuals/F8B48669C418C526852569B90078AAB2?OpenDocument

You should have gotten instructions with the UPS on how to connect everything.

If not, APC has a pretty good support page from what I have seen so far.

http://www.apc.com
Bob_16
Frequent Advisor

Re: anyone know how to connect an APC UPS to a HP server?

I posted a more detail discription earlier in the day, but got no response.

we've followed the instructions as best we can, but the powerchute software can not communicate on the port we are trying to use.

The documents describe setting up the default ups port as a terminal, and set the respwan to off, but what should the /etc/ups_conf file have for a port?

We are verifying cables, and will make further attempts tonight. I will check out the link you provided thanks.
Mike Fisher_3
Advisor

Re: anyone know how to connect an APC UPS to a HP server?

Bobby

A bit off-the-wall but...

Are you using PowerChute for HP-UX?

Over here in the UK the APC UPS's are of course supplied with PowerChute management software BUT NOT the version that works with HP-UX OS

This has to be ordered on-line as an additional item at an additional cost

Could this be the root of your problem?

Regards - Mike
The best things in life aren't things
Mike Fisher_3
Advisor

Re: anyone know how to connect an APC UPS to a HP server?

Sorry mate

After reading your original post I realise it's nowt to do with the version of PowerChute

Good luck
Mike
The best things in life aren't things
Ian Cameron
Frequent Advisor

Re: anyone know how to connect an APC UPS to a HP server?

I am using only SmartUPS and have not used BackUPS or other APC ups units.

The cable you need for HPs is stamped 940-0024C on one of the ends of the 9pin m/f cable. You 'should' be able to connect to either serial port (assuming you have two on the HP box) and the software will allow you to switch if you have the one other than the configured port plugged in. All of this assumes you have installed the proper PowerChute (ver 4.2.3 was the last HPUX version I think) and have the serial port on the back of the ups (SmartUPS).

My units (SmartUPS 1000s and 1400s) are typically communicating through the port using the device at /dev/tty0p0 (default) or /dev/tty1p0 if the cable is in the serial 2 port instead.

Hope this helps,
Ian
Bob_16
Frequent Advisor

Re: anyone know how to connect an APC UPS to a HP server?

We have that cable, 940-0024c, i will make sure this is the one in use. What does your /etc/inittab file look like? here is mine

ups0::off:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
a0:3:off:/usr/sbin/getty -h tty0p1 2400
APCd:0123456:wait:/etc/rc.APCupsd start #POWERCHUTE

What about /etc/ups_conf? Is the hp-ux ups deamond running?
Ian Cameron
Frequent Advisor

Re: anyone know how to connect an APC UPS to a HP server?

Bobby,

my etc/inittab:

ups1::off:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf

APCd:0123456:wait:/etc/rc.APCupsd start #POWERCHUTE

The second line is the one created by Powerchute when installed.

I have never made any changes to any of the port settings (like your line a0....) to change the speeds but the closest config I have to yours is a D370 with a rackmount smartups1400 that also has the inittab lines above and nothing about setting tty0p1. If you can comment that line out and restart (with the right cable) the box you should see the UPS.

Ian
Bob_16
Frequent Advisor

Re: anyone know how to connect an APC UPS to a HP server?

Thanks for your help, knowing the correct cable part number was a big help. we verified the port address, and setup it up.

The software then worked correctly, thanks again.