1833150 Members
3407 Online
110051 Solutions
New Discussion

Cluster Lock disk

 
Mose Burton Jr
Occasional Contributor

Cluster Lock disk

I am using a shared disk for the lock disk. I am moving to another SAN and the lock disk will now reside on another device. How can I make the new device the lock disk. 1) vgchange the VG 2) vgextend 3) vgreduce the old device? 4) vgexport 5) vgimport... can this be done while the cluster is running?
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: Cluster Lock disk

You must bring the cluster down to change the lock disk. Since the lock disk is dependent on a disk device, the LVM stuff is irrelevant.
--
Jeff Traigle
Steven E. Protter
Exalted Contributor

Re: Cluster Lock disk

Shalome Mose,

You will need as noted earlier to close the cluster down.

Then:

1) create a new volume group
2) Migrate the data
3) Designate a lock disk in cluster configuration.
4) cmcheckconf
5) cmapplyconf

I do not have faith in your methodology of migrating the data. It won't work. Take a full backup of data once the cluster is down.

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
Steven E. Protter
Exalted Contributor

Re: Cluster Lock disk

Shalome Mose,

You will need as noted earlier to close the cluster down.

Then:

1) create a new volume group
2) Migrate the data
3) Designate a lock disk in cluster configuration.
4) cmcheckconf
5) cmapplyconf

I do not have faith in your methodology of migrating the data. It won't work. Take a full backup of data once the cluster is down.

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
Kenan Erdey
Honored Contributor

Re: Cluster Lock disk

hi;

you must reconfigure vg_cluster_lock_vg and vg_cluster_lock_pv parameters in cluster ascii file. after that you must run

cmcheckconf -v -k -C /etc/cmcluster/xxx.ascii
and
cmapplyconf -v -k -C /etc/cmcluster/xxx.ascii

where xxx is your cluster file name.in some changes cluster does not need to be halted. but cluster must be halted i think before your job.

Computers have lots of memory but no imagination
Mose Burton Jr
Occasional Contributor

Re: Cluster Lock disk

Thank You!!! I have the steps down.