HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- start script when power fails
Operating System - HP-UX
1830899
Members
2963
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 08:09 AM
12-23-2002 08:09 AM
start script when power fails
Hello,
I have a hp-ux (10.20) server which is attached to a UPS (tty0p1). I have configured ups_mond to begin the shutdown procedure after 3 minutes. The first thing the server should do is bring down some clients. The clients have to go down when the server will go down by the ups but not by a normal reboot. I tried to make a script which searches the though syslog file if the system shuts down by the power fail but I don???t always see the same message. Is there a different approach to run a script when the ups demon brings down the system?
Thanks,
Robert Verhagen.
I have a hp-ux (10.20) server which is attached to a UPS (tty0p1). I have configured ups_mond to begin the shutdown procedure after 3 minutes. The first thing the server should do is bring down some clients. The clients have to go down when the server will go down by the ups but not by a normal reboot. I tried to make a script which searches the though syslog file if the system shuts down by the power fail but I don???t always see the same message. Is there a different approach to run a script when the ups demon brings down the system?
Thanks,
Robert Verhagen.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 08:26 AM
12-23-2002 08:26 AM
Re: start script when power fails
#ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
in file /etc/inittab should handle it.
Caveat. I copied this from a 11.00 system.
Good Luck.
Steve
in file /etc/inittab should handle it.
Caveat. I copied this from a 11.00 system.
Good Luck.
Steve
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 10:40 PM
12-23-2002 10:40 PM
Re: start script when power fails
For HP systems "HP PowerTrust" software is available to handle this type of scenarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 10:40 PM
12-23-2002 10:40 PM
Re: start script when power fails
For HP systems "HP PowerTrust" software is available to handle this type of scenarios
Rgds
VJ
Rgds
VJ
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP