Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

ORACLE 11i application and databse packages on MC/SG

SOLVED
Go to solution

ORACLE 11i application and databse packages on MC/SG

I Have 2 rp8400 with hp-ux 11i, clustered with MC/Sg 11i. pkg1 on hostA will start the database. pkg2 on hostB will start the application web processes. Oracle engineer needs to restart pkg2 whenever pkg1 (DB) moved to hostB, this is to refress the application processes and to be always after the DB processes been created, so plz advice?
1 REPLY
Ashwani Kashyap
Honored Contributor
Solution

Re: ORACLE 11i application and databse packages on MC/SG

You can write a small script and put in the customer_defined_functions are of the pkg1 control file , where in it checks the hostname before it starts the database . IF hostname is hostA , then it starts normally . But if hostname is returnedas hostB , then it shutsdown the pkg2 on hostB using cmhaltpkg , then starts up the database and then starts the pkg2 pn hostB usin cmrunpkg .