HPE 9000 and HPE e3000 Servers
1748123 Members
3175 Online
108758 Solutions
New Discussion

Re: UPS on RP5470

 
SteveK19
Member

UPS on RP5470

I am trying to setup an old server RP5470 with a UPS PowerTrust. I've done this before, but forgot how to do it. Seems like the inittab is wrong. I added a ups with sam and it used /dev/tty0p4. When I changed /etc/inittab line with "ups0" from "off" to "respawn", the system began producing errors, "/usr/lbin/ups_mond[1818]: /usr/lbin/ups_mond: UPS /dev/tty0p4 read failed: File exists; Uninterruptable Power Supply has not been connected correctly; loss of power would not be detectible"

 

Thanks in advance.

 

# ioscan -fun -C tty                                                           
Class     I  H/W Path  Driver S/W State   H/W Type     Description             
==================================================================             
tty       0  0/0/4/1   asio0 CLAIMED     INTERFACE    PCI Serial (103c1048)    
                      /dev/GSPdiag1   /dev/mux0       /dev/tty0p4              
                      /dev/cua0p2     /dev/tty0p0     /dev/ttyd0p2             
                      /dev/cul0p2     /dev/tty0p2                              
                      /dev/diag/mux0  /dev/tty0p3

# cat /etc/inittab                                                             
init:3:initdefault:                                                            
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1                                
tape::sysinit:/sbin/mtinit > /dev/console 2>&1                                 
muxi::sysinit:/sbin/dasetup   </dev/console >/dev/console 2>&1 # mux init      
stty::sysinit:/sbin/stty 9600 clocal icanon echo opost onlcr ixon icrnl ignpar <
/dev/systty                                                                    
brc1::bootwait:/sbin/bcheckrc </dev/console >/dev/console 2>&1 # fsck, etc.    
link::wait:/sbin/sh -c "/sbin/rm -f /dev/syscon;                        /sbin/ln
 /dev/systty /dev/syscon" >/dev/console 2>&1                                   
cprt::bootwait:/sbin/cat /etc/copyright >/dev/syscon           # legal req     
sqnc::wait:/sbin/rc </dev/console >/dev/console 2>&1           # system init   
powf::powerwait:/sbin/powerfail >/dev/console 2>&1            # powerfail      
cons:123456:respawn:/usr/sbin/getty console console            # system console
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600                               
#ttp2:234:respawn:/usr/sbin/getty -h tty0p2 9600                               
#ttp4:234:respawn:/usr/sbin/getty -h tty0p4 9600                               
#ttp5:234:respawn:/usr/sbin/getty -h tty0p5 9600                               
krsd:123456:respawn:/sbin/krsd -i                                              
sfd:123456:respawn:/sbin/sfd                                                   
#APCd:0123456:wait:/etc/rc.APCupsd start #POWERCHUTE                           
a1:3:off:/usr/sbin/getty -h tty0p3 2400                                        
a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p2 9600                   
ems1::bootwait:/sbin/rm -f /etc/opt/resmon/persistence/runlevel4_flag          
ems2::bootwait:/sbin/cat </dev/null >/etc/opt/resmon/persistence/reboot_flag   
ems3:3456:wait:/sbin/sh -c "/usr/bin/touch /etc/opt/resmon/persistence/runlevel4
_flag; /usr/bin/chmod 644 /etc/opt/resmon/persistence/runlevel4_flag"          
ems4:3456:respawn:/etc/opt/resmon/lbin/p_client                                
ups0::off:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf 

 

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: UPS on RP5470

What powertrust model do you have?

Some need special software and don't work with ups_mond!!!

Depending on the GSP model used in the server you probably need some patches to get the correct special device files for the UPS connection too!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
SteveK19
Member

Re: UPS on RP5470

The UPS is model A2997A. How do I determine GSP model?

 

Thanks. Steve

SteveK19
Member

Re: UPS on RP5470

This server is no longer under a support contract. Will I still be able to get the patches I need from HP?

 

Thanks. Steve

Dennis Handly
Acclaimed Contributor

Re: UPS on RP5470

>This server is no longer under a support contract.

 

You need a software support contract to download patches for HP-UX.

SteveK19
Member

Re: UPS on RP5470

That's what I was afraid of. Is it possible I may not need patches? This server used to have an APC ups on it. That line (APCd) is commented out. Are there other lines that need to be commented out that are causing the error in my original post, (a1 or a0)?

 

Thanks. Steve

S_Logan
HPE Pro

Re: UPS on RP5470

Hi Steve,

 

Check this related post, could be helpful to your scenerio:

http://h30499.www3.hp.com/t5/HP-9000/RP5400-server-UPS-R3000XR/m-p/3346907/highlight/true#M19614

 

HTH

Surendar

I work for HPE

Accept or Kudo


[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]