HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ServiceGuard and Oracle
Operating System - HP-UX
1833864
Members
2509
Online
110063
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
Go to solution
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
10-27-2003 07:24 AM
10-27-2003 07:24 AM
Hi,
I'm pretty new to MC/ServiceGuard and I just inherited an existing 2-node cluster running in HP-UX 11.00. The setup is using MC/ServiceGuard A.11.09 and also have the SG-Oracle-Tool B.01.01. The current cluster configuration doesn't include Oracle 8.0.6 to start when the package is brought up. I was told that DBA doesn't want (or I may say doesn't trust) the cluster to start the Oracle. They want to manually check the Oracle DB first then manually bring it up. We finally convinced them to use the cluster to automatically switch and bring it up. During weekends, the DBAs have a maintenance job that shuts down the oracle instance and perform a replication of the dbf file to our Disaster site using the native OS rcp command, then brings it up again. Now the problem I forsee is whenever the Oracle is shutdown by this maintenance job, the cluster will try to bring it up on the second node (?). Is there any cluster command (cm*) wherein I can just shutdown the oracle db, retain the application floating IP address (the maintenance job is running using this IP addr), and also have the Volume Group still activated the FS mounted without triggering a switch to second node? What are the sequence of cluster commands I can use to achieve this?
I'm pretty new to MC/ServiceGuard and I just inherited an existing 2-node cluster running in HP-UX 11.00. The setup is using MC/ServiceGuard A.11.09 and also have the SG-Oracle-Tool B.01.01. The current cluster configuration doesn't include Oracle 8.0.6 to start when the package is brought up. I was told that DBA doesn't want (or I may say doesn't trust) the cluster to start the Oracle. They want to manually check the Oracle DB first then manually bring it up. We finally convinced them to use the cluster to automatically switch and bring it up. During weekends, the DBAs have a maintenance job that shuts down the oracle instance and perform a replication of the dbf file to our Disaster site using the native OS rcp command, then brings it up again. Now the problem I forsee is whenever the Oracle is shutdown by this maintenance job, the cluster will try to bring it up on the second node (?). Is there any cluster command (cm*) wherein I can just shutdown the oracle db, retain the application floating IP address (the maintenance job is running using this IP addr), and also have the Volume Group still activated the FS mounted without triggering a switch to second node? What are the sequence of cluster commands I can use to achieve this?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 07:48 AM
10-27-2003 07:48 AM
Solution
You will have to craete a "maintenance" flag option. Something like:
In your "monitor" section:
while true
do
if [ -f /tmp/maint_flag ]
then sleep 30
#
# DO NOT CHECK IF APP IS RUNNING
#
else
if app_running
then sleep 30
else exit
fi
fi
done
Rgds...Geoff
In your "monitor" section:
while true
do
if [ -f /tmp/maint_flag ]
then sleep 30
#
# DO NOT CHECK IF APP IS RUNNING
#
else
if app_running
then sleep 30
else exit
fi
fi
done
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 09:12 PM
10-27-2003 09:12 PM
Re: ServiceGuard and Oracle
I use the flag to indicate for MC/SG that the application will not be check from that moment.
Then You can put in the job (script) before the command for shutdown the DB Oracle to create the file with "touch" command and use the script described above to check if the file exists. After the maintenance job you need to remove the file for MC/SG start checking if the application is running. You should put the command to remove the file in the same job (script).
Tania
Then You can put in the job (script) before the command for shutdown the DB Oracle to create the file with "touch
Tania
If you want something, you need to persist to get that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2003 01:48 AM
10-30-2003 01:48 AM
Re: ServiceGuard and Oracle
Thanks to both of you. I'm now trying to build the script and test it. Since we don't have a similar environment in our UAT, I have to test the script in production. Hope this works.
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