HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shut down script when ups is down
Operating System - HP-UX
1839964
Members
4431
Online
110157
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
01-09-2005 06:46 PM
01-09-2005 06:46 PM
shut down script when ups is down
i need a script for HP-UX11i to run and shut down the db and oracle aplication cleanely when the ups is down.
Can somebody help me ??
Thank you !!
Can somebody help me ??
Thank you !!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 07:18 PM
01-09-2005 07:18 PM
Re: shut down script when ups is down
Hi Vali,
You can configure your system to automatically start Oracle databases when your system starts up and to shut down Oracle databases when your system shuts down.
The dbshut and dbstart scripts are located in the $ORACLE_HOME/bin directory and can be used to automate database startup and shutdown. On bootup, the /etc/init.d/dbora script is executed by a link in the rc2.d directory. The dbora script checks to make sure the dbstart script file exists and, if it does, switches to the ORA_OWNER, and executes dbstart.
The dbstart and dbshut scripts reference the same entries in the oratab file, so the scripts must apply to the same set of databases.
For example, you cannot have dbstart automatically start up databases sid1, sid2, and sid3, and dbshut shut down only databases sid1 and sid2. You can, however, specify that dbshut shut down a set of databases while dbstart is not used at all. To do this, include the dbshut entry in the shutdown file but omit the dbstart entry from the system startup files.
You can modify the $ORACLE_HOME/bin/dbstart and dbshut to also stop and start the listener. Likewise you can add the lined to bring the start and stop the application.
Attached document provides the steps.
Indira A
You can configure your system to automatically start Oracle databases when your system starts up and to shut down Oracle databases when your system shuts down.
The dbshut and dbstart scripts are located in the $ORACLE_HOME/bin directory and can be used to automate database startup and shutdown. On bootup, the /etc/init.d/dbora script is executed by a link in the rc2.d directory. The dbora script checks to make sure the dbstart script file exists and, if it does, switches to the ORA_OWNER, and executes dbstart.
The dbstart and dbshut scripts reference the same entries in the oratab file, so the scripts must apply to the same set of databases.
For example, you cannot have dbstart automatically start up databases sid1, sid2, and sid3, and dbshut shut down only databases sid1 and sid2. You can, however, specify that dbshut shut down a set of databases while dbstart is not used at all. To do this, include the dbshut entry in the shutdown file but omit the dbstart entry from the system startup files.
You can modify the $ORACLE_HOME/bin/dbstart and dbshut to also stop and start the listener. Likewise you can add the lined to bring the start and stop the application.
Attached document provides the steps.
Indira A
Never give up, Keep Trying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 07:25 PM
01-09-2005 07:25 PM
Re: shut down script when ups is down
hi,
also refer to metalink note: 1019790.6 AUTOMATIC STARTUP/SHUTDOWN OF ORACLE INSTANCES ON HP-UX UNIX
regards
Yogeeraj
also refer to metalink note: 1019790.6 AUTOMATIC STARTUP/SHUTDOWN OF ORACLE INSTANCES ON HP-UX UNIX
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 08:21 PM
01-09-2005 08:21 PM
Re: shut down script when ups is down
I have Oracle 11i version. The script you gived me is for 9i right ? can i use it for 11i ??
Thank you !
Thank you !
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