HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ups_mond and ups_conf help
Operating System - HP-UX
1825802
Members
2279
Online
109687
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
10-21-2005 01:12 AM
10-21-2005 01:12 AM
ups_mond and ups_conf help
I think I've asked this before... but is there any way to run a script before a UPS unit shuts the system down? It's a Jamaica enclosure. I did a cat on the /etc/ups_conf file and I get:
shutdown_delay_mins:10
shutdown_timeout_mins:10
upstty:/dev/tty1p0:SOLA
What I need to do is run a script I wrote called DBALLDOWN that brings all of our databases down "gracefully"....
shutdown_delay_mins:10
shutdown_timeout_mins:10
upstty:/dev/tty1p0:SOLA
What I need to do is run a script I wrote called DBALLDOWN that brings all of our databases down "gracefully"....
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 01:35 AM
10-21-2005 01:35 AM
Re: ups_mond and ups_conf help
The UPS monitor will call the first executable it finds called shutdown in its PATH. In theory you could write a script called shutdown, that wraps the "real" one, but calls your script DBALLDOWN first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 01:39 AM
10-21-2005 01:39 AM
Re: ups_mond and ups_conf help
ups_mond will initiate a "shutdown -h", so shutting down the db instances could be part of your normal shutdown scripts in /sbin/init.d. However if the shutdown hangs before the db is brought down, it will wait 10 mins (per your config) before issuing a reboot w/ halt to bring the box down.
-denver
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 04:25 AM
10-21-2005 04:25 AM
Re: ups_mond and ups_conf help
Take a look at this thread which addresses this issue and has a sample shutdown script:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=132743
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=132743
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP