- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To keep oracle datbase high avilable to on m/c ser...
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
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
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
03-05-2002 03:34 AM
03-05-2002 03:34 AM
To keep oracle datbase high avilable to on m/c service guard
I have M/c service guard a.11.13 on hp-ux11i on n-class server with Fc-60 disk array.I have installed oracle database on fc-60 disk array.If oracle sitting on current(system1) server fails i want oracle to start on another node configured(system2) for failover.Already i tested when oracle was not installed the failover was working perfectly.Now my question is what to be added in(ex:pkg_oltp.sh) script file so that oracle will failover to configured node.I have added oracle startup scirpt in
#vi pkg_oltp.sh
ServiceName:service1
Servicecmd:"/etc/cmcluster/pkg_oltp/orastart
But i 'm unable to get oracle started and also failover is not working and it is unable to mount filesystems.Help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 01:49 PM
03-05-2002 01:49 PM
Re: To keep oracle datbase high avilable to on m/c service guard
First things to do are:
1) verfiy that the VG(s) can be mounted manually.
2) If they mount OK then try to execute your Oracle startup script.
If these work OK then you need the ensure that you have an Oracle shutdown script to run when you want the pkg to failover. Again. I would test that outside MC/SG.
(One of the keys to Oracle scripts is to ensure they are run by the Oracle user (EX #su - oracle -c "script") so that proper env vars exist.). By default root runs MC/SG scripts.
When everything works OK outside of MC/SG - then you can tailor the control & ascii files to mount the VGs (you'll need to make them cluster aware), run the start & stop scripts for the pkg & make sure pkq switching is enabled. Then cmhaltpkg the Oracle pkg & see if it starts properly on the other node.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 08:22 PM
03-05-2002 08:22 PM
Re: To keep oracle datbase high avilable to on m/c service guard
i would like to suggest u to put ur oracle startup and shutdown script in package control script file, under customer defined function. ie.
function customer_defined_run_cmds
{
# ADD customer defined run commands.
su - oracle /xyz/oracle_start.sh
test_return 51
}
function customer_defined_halt_cmds
{
# ADD customer defined halt commands.
su - oracle /xyz/oracle_stop.sh
test_return 52
}
This scripts will be executed once all the VG and filesystem defined in control files are activated/deactivated.
In service command, invoke ur oracle monitoring script (to make oracle db high available) which will be demon script continusely checking health of ur databases.
Hope this will help u to make ur database 99.9999 % available.
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 08:57 PM
03-05-2002 08:57 PM
Re: To keep oracle datbase high avilable to on m/c service guard
In my server:
SERVICE_CMD[0]="/etc/cmcluster/its_prod/its_prod.sh monitor"
I am attaching its_prod.sh scripts for your reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 09:19 PM
03-05-2002 09:19 PM
Re: To keep oracle datbase high avilable to on m/c service guard
ur monitor script will work fine if database is open in normal state, but suppose take the following scenario
"Datafile missing/currepted while starting database"
in this case ur database will have all the background process running (ie. pmon,smon,dbwr,lgwr etc) but it will be not in open state, that means database is not available to user.
To over come this u need to modify the script to also check the status of database.
cheers.