1753926 Members
9034 Online
108810 Solutions
New Discussion юеВ

ups shutdown script

 
Ed Velasco
Occasional Advisor

ups shutdown script

hi,

we have a system with the following config:
- hp integrity rx5670 rung hp-ux 11.2
- hp rx3000 xr ups

ups and cpu are configured to communicate. how could i make the shutdown script for the system to shutdown gracefully in case of power outage?

thanks,
ed
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: ups shutdown script

You need to install and configure HP power manager for HP-UX. This software will shutdown your server if needed.

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!   
Torsten.
Acclaimed Contributor

Re: ups shutdown script

see

http://h18013.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/sup_oss.html

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!   
Steven E. Protter
Exalted Contributor

Re: ups shutdown script

Shalom ed,

Usually this is done with /etc/inittab, not a special script.

The exact syntax depends on the type of UPS you are using, some of them actually come with software for HP-UX. I'm sure some may have shutdown scripts, but I've always used inittab

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: ups shutdown script

AFAIR the built-in UPS monitor software (ups_mond) does not support this UPS. You need to download and install the software from the link I posted earlier.

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!