Operating System - HP-UX
1833925 Members
3175 Online
110063 Solutions
New Discussion

Adding a new package to a cluster

 
SOLVED
Go to solution
EJ Stremler
Frequent Advisor

Adding a new package to a cluster

I had created the package scripts, edited the package ascii file, and edited the cluster ascii file with the new volume groups (because they are running OPS) for a new database in a Service Guard cluster. The DBAs needed to install their Oracle software, so I had the volume groups activated with a vgchange -a y.. In order for me to make this package part of the cluster, I need to de-activate the volume groups, then run the cmapplyconf -k -v -C cluster.ascii -P package.ascii to create the new binary..Does the cmapplyconf make the Volume groups sharable also? (vgchange -c y).. Then i will do a cmrunpkg pkkg to bring up the database on one of the nodes.. Please correct me if i am wrong..Thanks,,,Ed..
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Adding a new package to a cluster

The cmapplyconf does not make the VG sharable; however, once the vgchange -c y is done on any node for a given VG, it applies to all other nodes because that metadata are carried on the LVM disk themselves. You will need to do the vgimport on all potential adoptive nodes. I typically do this while the VG is not cluster aware (ie no -c y) and then as a last step, do the vgchange -c y on the node I intend to be the package's primary node.
If it ain't broke, I can fix that.
EJ Stremler
Frequent Advisor

Re: Adding a new package to a cluster

I had already imported the volume groups on the adoptive node.. I guess what you are saying is do the vgchange -a n VG first, then do the vgchange -c y VG to make them sharable, then do the cmapplyconf -k -v -C cluster.ascii -P pachage.ascii.. I appreciate your help... ed
EJ Stremler
Frequent Advisor

Re: Adding a new package to a cluster

Thank you for all your help... ed