Operating System - HP-UX
1755699 Members
3440 Online
108837 Solutions
New Discussion

¿Modify CLUSTER_LOCK_VG = down cluster?

 
Jose Zamora
Occasional Contributor

¿Modify CLUSTER_LOCK_VG = down cluster?

Hi:

I have in 2 computers ServiceGuard and HP-UX.
Modify CLUSTER_LOCK_VG it consequently has the fall of the cluster.

Thanks for its answer.


José
4 REPLIES 4
Jeeshan
Honored Contributor

Re: ¿Modify CLUSTER_LOCK_VG = down cluster?

if you modify cluster lock vg you need to rebuild the cluster.
a warrior never quits
Frank_W
Frequent Advisor

Re: ¿Modify CLUSTER_LOCK_VG = down cluster?

Yes,

you have to edit the cluster-config file and check it with check it with "cmcheckconf".
This should work with a running cluster.

Then you have to halt the cluster and apply the new config with "cmapplyconf".
Asif Sharif
Honored Contributor

Re: ¿Modify CLUSTER_LOCK_VG = down cluster?

Avinash20
Honored Contributor

Re: ¿Modify CLUSTER_LOCK_VG = down cluster?

Please refer to doc UXSGKBRC00017956 from www.itrc.hp.com
This is an excellent doc which will answer your queries.


Modify CLUSTER_LOCK_VG
This requires downtime, since we need to rebuild the cluster.

I assume that you have created the VG and have vgimported it the other node.

Locate the cluster configuration file. It is normally located in /etc/cmcluster on at least one node in the cluster. If unsure of the name of the file, try this command in
/etc/cmcluster:

$ grep LOCK *
CONF:# Lock Disk Parameters. Use the FIRST_CLUSTER_LOCK_VG and
CONF:# FIRST_CLUSTER_LOCK_PV parameters to define a lock disk.
CONF:# The FIRST_CLUSTER_LOCK_VG is the LVM volume group that
CONF:FIRST_CLUSTER_LOCK_VG /dev/vg05
CONF: FIRST_CLUSTER_LOCK_PV /dev/dsk/c2t5d6
CONF: FIRST_CLUSTER_LOCK_PV /dev/dsk/c2t5d6

If multiple files are reported, create a current configuration file:
# cmgetconf cluster_new.ascii

Edit your cluster configuration file with the name of the intended cluster
lock VG and disk

Edit your PV annd VG appropriately
Halt the cluster and update the cluster binary file:
# cmhaltcl -f
Decluster the VG
# vgchange -c n /dev/vg01
Activete the lock VG in one node
# vgchange -a y vg01

Update the cluster binary file, deactivate the lock VG and start the
cluster:
# cmapplyconf -f -C
# vgchange -a n vg01
# cmruncl
"Light travels faster than sound. That's why some people appear bright until you hear them speak."