HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MC/SG Two nodes cluster
Operating System - HP-UX
1835680
Members
3193
Online
110082
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
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
11-24-2005 08:55 PM
11-24-2005 08:55 PM
MC/SG Two nodes cluster
Hi,
I have two nodes MC/SG cluster running oracle. We are patching the passive server with some new oracle patch, as such there is a new initora file. According to my DBA, the file need to convert to binary but only can be done after the startup of oracle database.
So I think the safest way is to halt the cluster package and cluster nodes. From the passive node, I will activate the VG and mount all the oracle file system.
vgchange -a y myvg
vgchange -c n myvg
Once the DBA finished all the necessary, I will then deactivate the VG and start MC/SG in the passive node.
This should corrupt the file system right as the MC/SG package is stopped first on the active node and all volume group are deactivated.
I have two nodes MC/SG cluster running oracle. We are patching the passive server with some new oracle patch, as such there is a new init
So I think the safest way is to halt the cluster package and cluster nodes. From the passive node, I will activate the VG and mount all the oracle file system.
vgchange -a y myvg
vgchange -c n myvg
Once the DBA finished all the necessary, I will then deactivate the VG and start MC/SG in the passive node.
This should corrupt the file system right as the MC/SG package is stopped first on the active node and all volume group are deactivated.
abc
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 09:09 PM
11-24-2005 09:09 PM
Re: MC/SG Two nodes cluster
Shalom kholikt,
I'm kind of wondering whats being converted to binary here. The configuration files for the SG cluster, part of those are binary, but the scripts are text.
the init.ora file is a text file and doesn't get converted to anything as far as I know.
If the oracle upgrade/patch involves a data conversion, please be sure to only run that once. There is only one database instance, sitting on shared storage that needs to be converted.
My recommendations on doing this:
If possible, halt the cluster completely, install the update on both nodes, convert the data one one of the nodes as if it was the active node.
If you can't bring down the cluster:
Remove the passive node from the cluster. Do the oracle patch, have the node re-join the cluster.
Then halt the active node, to the patch and do any data conversion if needed.
if there is no update to the data as part of the patch:
Take the passive node out of the cluster, upgrade/update oracle.
Put the passive node back in the cluster.
Fail oracle over to the passive node.
Repeat the update on what was the active node.
This is what is known as a rolling upgrade and it can be done without downtime.
Lastly: Get a good cold backup of the oracle binaries and data before doing ANYTHING.
SEP
I'm kind of wondering whats being converted to binary here. The configuration files for the SG cluster, part of those are binary, but the scripts are text.
the init
If the oracle upgrade/patch involves a data conversion, please be sure to only run that once. There is only one database instance, sitting on shared storage that needs to be converted.
My recommendations on doing this:
If possible, halt the cluster completely, install the update on both nodes, convert the data one one of the nodes as if it was the active node.
If you can't bring down the cluster:
Remove the passive node from the cluster. Do the oracle patch, have the node re-join the cluster.
Then halt the active node, to the patch and do any data conversion if needed.
if there is no update to the data as part of the patch:
Take the passive node out of the cluster, upgrade/update oracle.
Put the passive node back in the cluster.
Fail oracle over to the passive node.
Repeat the update on what was the active node.
This is what is known as a rolling upgrade and it can be done without downtime.
Lastly: Get a good cold backup of the oracle binaries and data before doing ANYTHING.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 10:06 PM
11-24-2005 10:06 PM
Re: MC/SG Two nodes cluster
I always thougt the init.ora file was a text ascii file, so this is new to me.
Anyway, if you DO need to stop th edatabse, then there is no need to halt the cluster.
Simply halt the package, and leave the cluster running.
This enabkles you to activate the vg WITHOUT having to do vgchange -c n etc.
Simply vgchange -a e, mount any files systems etc. Do the work, unmount any file systems, vgchange -a n.
Anyway, if you DO need to stop th edatabse, then there is no need to halt the cluster.
Simply halt the package, and leave the cluster running.
This enabkles you to activate the vg WITHOUT having to do vgchange -c n etc.
Simply vgchange -a e, mount any files systems etc. Do the work, unmount any file systems, vgchange -a n.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2005 01:49 AM
11-25-2005 01:49 AM
Re: MC/SG Two nodes cluster
I assume your DBA is talking about an oracle spfile yes? This is indeed the bianry equivalent of the init file - it has the advantage that most parameters can be changed 'on the fly' without stopping the database.
That said, I can't really understand why you need to muck about with Serviceguard to make this change (unless Serviceguard is actively monitoring your database?)
Presumably the tasks are:
1) Stop Database
2) Apply patch
3) Start database with new init file
4) convert init file to spfile
5) halt database
6) Start database with spfile
If serviceguard *is* monitoring you database processes, yo will either need to a) suspend monitoring (this depends on whether someone was bright enough to put a check for a maintenance flag in your monitoring script) until your changes are complete.
-or-
b) If you can't suspend monitoring you will need to stop the serviceguard package and manually mount the appropriate filesystems (no need to stop the cluster though)
- Stop the package using cmhaltpkg - vgchange -a e myvg
- mount /dev/myvg/lvolN /mntpoint (or whatever)
HTH
Duncan
I am an HPE Employee
That said, I can't really understand why you need to muck about with Serviceguard to make this change (unless Serviceguard is actively monitoring your database?)
Presumably the tasks are:
1) Stop Database
2) Apply patch
3) Start database with new init file
4) convert init file to spfile
5) halt database
6) Start database with spfile
If serviceguard *is* monitoring you database processes, yo will either need to a) suspend monitoring (this depends on whether someone was bright enough to put a check for a maintenance flag in your monitoring script) until your changes are complete.
-or-
b) If you can't suspend monitoring you will need to stop the serviceguard package and manually mount the appropriate filesystems (no need to stop the cluster though)
- Stop the package using cmhaltpkg
- mount /dev/myvg/lvolN /mntpoint (or whatever)
HTH
Duncan
I am an HPE Employee

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