1837523 Members
3386 Online
110117 Solutions
New Discussion

cluster lock

 
Sachin Soni_1
Frequent Advisor

cluster lock


Hi all ,
i am getting following mesg in my syslog file.

cmcld: WARNING: Cluster lock on disk /dev/dsk/c7t1d
3 is missing!
cmcld: WARNING: Cluster lock on disk /dev/dsk/c7t1d
3 is missing!
cmcld: Until it is fixed, a single failure could
cmcld: Until it is fixed, a single failure could
cmcld: cause all nodes in the cluster to crash
cmcld: cause all nodes in the cluster to crash



i tried to reconfigure cluster lock disk.
but doesnt work.

any solution...

thanks in advance

sachin
N-joy
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: cluster lock

Hi Sachin:

From Knowledge Base document #KBRC00001982:

/begin_quote/

The warning message about "Cluster lock on disk /dev/dsk/... is missing!" could be result of corrupted SG binary OR if the cluster lock
disk was replaced or moved to a different disk.
Make sure cluster lock VG and cluster lock PV is defined in the ascii cluster configuration file, then to fix:

1. Halt the packages and cluster.

2. Activate the cluster lock VG on the configuration node ONLY, so thelock disk can be initialized, for example:

vgchange -a y /dev/vglock

2b. If needed, do the following on the VG:

vgchange -c n /dev/vglock

3. Generate the cluster binary configuration file & distribute to the nodes with cmapplyconf command, for example:

cmapplyconf -C /etc/cmcluster/cmclconf.ascii
-P /etc/cmcluster/pkg1/pkg1conf.ascii

4. Deactivate cluster lock VG.

vgchange -a n /dev/vglock

5. Restart the cluster.

/end_quote/

Regards!

...JRF...
Sachin Soni_1
Frequent Advisor

Re: cluster lock

James ,

I 've already done this.
still same problem...

sachin
N-joy
Sachin Soni_1
Frequent Advisor

Re: cluster lock

few more information:-

OS 11.11
MCSG 11.13
,
it cretes a file called config.lck in /etc/cmcluster. what it is , is it only in 11.13?????

Regards,
Sachin
N-joy
Animesh Chakraborty
Honored Contributor

Re: cluster lock

Hi Sachin,
What happened to you cluster lock disk ?
Did you replace it ?
If a vgcfgbackup was performed after the clusterlock disk was configured into the cluster earlier, a simple vgcfgrestore command may solve this problem.
vgcfgrestore -n vglock /dev/dsk/c7t1d3
And JRF's step also works fine.
Best of luck
Animesh
Did you take a backup?
Jej'
New Member

Re: cluster lock

Hi Sachin,
For your problem, look in the ASCII cluster configuration file if FIRST_CLUSTER _LOCK_VG and FIRST_CLUSTER_LOCK_PV are corrects and if they're present in all definitions of the nodes.
if it' ok, Animesh may have the solution : "a simple vgcfgrestore may solve the problem".
vgcfgrestore -n /dev/vg_lock /dev/dsk/c7t1d3
After doing this you should reinitialize the cluster lock by either halting and restarting one of the node in the cluster using cmhaltnode followed by cmrunnode or else halting and restarting the entire cluster using cmhaltcl followed by cmruncl.
Wax.