- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: database shutdown script after power failure d...
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО07-11-2001 06:37 AM
тАО07-11-2001 06:37 AM
database shutdown script after power failure detection
I'd like to have my Ingres DBMS shutdown when the Unix machine (11.00) detects a power failure (upsmond).
How can I realize this ?
Second question : is there anyway to simulate the solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:26 AM
тАО07-11-2001 07:26 AM
Re: database shutdown script after power failure detection
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 08:07 AM
тАО07-11-2001 08:07 AM
Re: database shutdown script after power failure detection
1. Create a startup/shutdown script in /etc/init.d
2. Create a K and S link to this file in the respective rc dir such as /sbin/rc2.d
When the system does a shutdown, the script will shutdown the DB.
Hope this helps.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 09:02 AM
тАО07-11-2001 09:02 AM
Re: database shutdown script after power failure detection
Another option if you just want to shut down the database but not the server you could set up the scripts that you need, then unplug the UPS from the wall - that should start the database shutdown, and you could plug it back in before the UPS died so the machine itself doesn't go down.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 09:52 AM
тАО07-11-2001 09:52 AM
Re: database shutdown script after power failure detection
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 10:03 AM
тАО07-11-2001 10:03 AM
Re: database shutdown script after power failure detection
This could cause significant hardware problems. The UPS/systems gets its ground from the plug. If you just unplug while it is running, you loose your ground....very very bad.
I suggest tripping the breaker.
...jcd...