- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle 7.3.4 Startup and Halt scripts
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
тАО08-22-2001 11:29 PM
тАО08-22-2001 11:29 PM
Oracle 7.3.4 Startup and Halt scripts
Can anybody provide me the m/c service guard 11.X startup and halt scripts of oracle.
I have 2 nodes configured under m/c service guard running oracle 7.3.4 version and the hpux version is 11.x .how can i configure package script to startup and shut down oracle database .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2001 11:50 PM
тАО08-22-2001 11:50 PM
Re: Oracle 7.3.4 Startup and Halt scripts
This is your oracle.sh script
case $1 in
'start')
su oracle -c ${ORACLE_HOME}/bin/sqldba lmode=y <
startup pfile=${PFILE}
exit
EOF
if [$? ! = 0 ]
then
echo "Oracle startup failed"
else
su oracle -c "${ORACLE_HOME}/bin/lsnrctl start your_sql_net_name
if [[ $? != 0 ]]
then
print "Listener start failed."
fi
fi
;;
'halt')
su oracle -c ${ORACLE_HOME}/bin/svrmgrl <
shutdown immediate
EOF
su oracle -c "${ORACLE_HOME}/bin/lsnrctl stop"
;;
esac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2001 06:13 AM
тАО08-23-2001 06:13 AM
Re: Oracle 7.3.4 Startup and Halt scripts
If you are running Oracle in a MC-SG package, HP has a product called Enterprise Cluster Master Toolkit(which includes templates for different kinds of databases including Oracle).
Look for more information at
http://docs.hp.com/hpux/pdf/B5139=90019.pdf or
http://docs.hp.com/hpux/onlinedocs/B5139-90019/B5139-90019.html
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2001 07:47 AM
тАО08-23-2001 07:47 AM
Re: Oracle 7.3.4 Startup and Halt scripts
Try installing HP Product No. B5139DA - Enterprise Cluster Master Toolkit. It has templates for most of the RDBMS. The shell script for Oracle will be under /opt/cmcluster/toolkit/oracle and the filename is ORACLE.sh . There is a README with this file. You just have to modify the variables in ORACLE.sh and you can use it for the startup and shutdown of oracle database. Also you can use the same script to monitor Oracle processes.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2001 10:15 AM
тАО08-23-2001 10:15 AM
Re: Oracle 7.3.4 Startup and Halt scripts
Attached is our startup/shutdown script for package, form the toolkit, as mentioned by Sanjay & Ramesh.
It's slightly modified to keep file systems mounted even you shutdown oracle manually (with maint. flag)
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2001 01:21 PM
тАО08-24-2001 01:21 PM
Re: Oracle 7.3.4 Startup and Halt scripts
There are some HP guys around here ;-)
So, either you can write your own script or purchange oracle toolkit.
-Sri