Operating System - HP-UX
1836750 Members
2702 Online
110109 Solutions
New Discussion

Re: cmapplyconf when adding new OPS VG

 
Prashant Zanwar_4
Respected Contributor

cmapplyconf when adding new OPS VG

I am wondering if I have to take down cluster for such small reason ? Update cluster ascii file for a OPS/RAC VG which has raw vols. ? I think I should be able to do cmapplyconf, just by updating file.. Please point to something which covers this. - Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
3 REPLIES 3
Calandrello
Trusted Contributor

Re: cmapplyconf when adding new OPS VG

friend
you add new vg in cluster ?
IT_2007
Honored Contributor

Re: cmapplyconf when adding new OPS VG

If VG already exist in cluster ascii then you don't have to. otherwise to add new VG in the cluster ascii file then you have to take it down and cmapplyconf to update binaries.
Stephen Doud
Honored Contributor

Re: cmapplyconf when adding new OPS VG

SG-RAC VGs differ from standard VGs or Serviceguard VGs in that they can be activated by more than one node concurrently.
You may observe this by performing vgdisplay on such a volume group, and note the 'status' of
available, shared

You may create a new shared VG while the cluster is running, but you may not modify the VG once it has been marked "shared". Note this message example from the 'lvextend' man page:
"lvextend cannot be performed if the volume group is activated in shared mode."


1) Create the VG & logical volumes on one node.

2) vgimport it on the other node(s)

3) Deactivate the VG, and cluster/share it:
# vgchange -c y -S y
(NOTE: the above command can only be performed from a server running cmlvmd at the time)

4) list the rlvols in the Oracle configuration file.

5) Once the VG has been marked as "clustered" and "shared", add a OPS_VOLUME_GROUP reference for VGname to the Cluster ASCII configuration file.