- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cheating MC/Service Guard
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
тАО09-16-2002 01:51 AM
тАО09-16-2002 01:51 AM
Does anybody know a method to "cheat" MC/Service Guard not to start some Oracle processes? I need to test a new software and that implies to shutdown the database - but MC/ServiceGuard restarts it immediately. I don't want to halt the MC/SG cluster.
Thank you in advance,
ionut
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 01:59 AM
тАО09-16-2002 01:59 AM
Re: cheating MC/Service Guard
Can't you just halt the package where the database resides in, in stead of halting the entire cluster ? Or are there multiple databases in one package ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 02:04 AM
тАО09-16-2002 02:04 AM
Re: cheating MC/Service Guard
The oracle startup commands for SG are under /etc/cmcluster/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 02:48 AM
тАО09-16-2002 02:48 AM
Re: cheating MC/Service Guard
"Cheat" the MC/SG so that it does not restart Oracle processes:
as root user on the database server, enter:
#touch /tmp/ora_smon_omc_cheating
#tail -f /tmp/ora_smon_omc_cheating &
...that seems weird for me - I simply don't understand how can I cheat the MC/SG with that..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 04:20 AM
тАО09-16-2002 04:20 AM
Re: cheating MC/Service Guard
Essentialy, your package startup script will be looking for the file that you touch, and if it finds it assumes that you want to do something other than the normal startupp, e.g. start Oracle processes but not teh database.
I suggest you read the instructions further, or contact whoever supplied you with this new software/instructions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 04:24 AM
тАО09-16-2002 04:24 AM
Re: cheating MC/Service Guard
But thank you anyway for your help!
Have a nice day,
ionut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 04:43 AM
тАО09-16-2002 04:43 AM
Re: cheating MC/Service Guard
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 04:57 AM
тАО09-16-2002 04:57 AM
Re: cheating MC/Service Guard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 05:54 AM
тАО09-17-2002 05:54 AM
SolutionSounds like you want to shut down oracle instance without shuting down the package. Here is my two cents.
Mc/ServiceGuard monitors the processes in the pacakge by a monitor_service scrpit defined in the package control file. You need to disable this service monitor script in this case, otherwise, mc/sg will automatically start it again once the process it monitors disappears from system.
1, Edit /etc/cmcluster/
2, Find the "Start_Services" line and comment out the script definition following this line.
(The name of the scripts usually is "oracle.sh monitor" but could be another name)
3, Shut down the package: cmhaltpkg -n
4, Restart the package: cmrunpkg -n
5, Shut down oracle instance, and it should not be restarted again. If not, there must be another scripts is monitoring it. And we need detail configure file to analyze it.
Thank,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 06:34 AM
тАО09-17-2002 06:34 AM