- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Automatic Oracle Shutdown when UPS dies
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
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
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
тАО02-10-2003 09:04 AM
тАО02-10-2003 09:04 AM
Any information/documentation that can be shared related to this would be very much appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 09:24 AM
тАО02-10-2003 09:24 AM
Solutionusually an UPS does have at least a serial cable top connect to the UN*X box. That cable will drop signal "DTR" upon loss of power, so all you need is a line in your "/etc/inittab" to wait for that to happen. As dropping "DTR" creates the signal "HUP" on all processes connected to that line, a shell-script using
trap "/sbin/init.d/oracle stop" 1
and then sleeping/waiting forever should work fine...
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 09:29 AM
тАО02-10-2003 09:29 AM
Re: Automatic Oracle Shutdown when UPS dies
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 07:24 PM
тАО02-10-2003 07:24 PM
Re: Automatic Oracle Shutdown when UPS dies
Unless you specifically want a HP solution, many UPS manufacturers supply supervision and shutdown programs with their products for many platforms (including). If you are using HP hardware, disregard this suggestion, since the previous answers would be more relevant.
Lars-Olof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2003 10:24 PM
тАО02-10-2003 10:24 PM
Re: Automatic Oracle Shutdown when UPS dies
you can configure the "psafe" parmeters. The install program will ask to configure battery reserve time, battery recharge time in hours, and the users to receive mail from psafe and the shutdown script to execute.
And then to automatically start up Powersafe 5 software when your computer system is up, you need to edit a system file which is executed at startup.
We had expererienced this problem where the air-conditioning had a problem and the UPS daemon died and this shutdown the UNIX servers and the oracle databases 10 minutes before after the initial warning message. And the when the UPS was started the systems were automatically started up by the startup scripts configures in powersafe configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2003 02:32 AM
тАО02-11-2003 02:32 AM
Re: Automatic Oracle Shutdown when UPS dies
For HP systems "HP PowerTrust" software is available to handle this type of scenarios. For more details you can contact HP.
Regards
Kvs Raju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2003 12:56 PM
тАО02-11-2003 12:56 PM
Re: Automatic Oracle Shutdown when UPS dies
Both are started with /etc/inittab entries.
Man pages to look at:
man inittab
man ups_mond
man ups_conf