1834628 Members
2914 Online
110069 Solutions
New Discussion

MCSG Config Dilemma

 
Rob Saunders
Occasional Advisor

MCSG Config Dilemma

Where I previously had a 3 node cluster, (node1, node2, node3) I now have only 2 nodes (node2 and node3).

I cannot cmdeleteconf (even with the -f option) to permit the creation of a new configuration on node2/2 because the node1 does not exist and this prevents the cmdeleteconf from completing.

I guess there's some tidying up to be done somewhere, but where and how ?

TIA

Rob
6 REPLIES 6
Sanjay_6
Honored Contributor

Re: MCSG Config Dilemma

Hi,

you can try this,

Do a cmgetcong to generate the ascii configuration file from your present cluster binary file. Then modify this file to exclude node1 and do a cmcheckconf. Then do a cmapplyconf to apply the new ascii configuration which exludes the node1.

Hope this helps.

regds
fg_1
Trusted Contributor

Re: MCSG Config Dilemma

Robert

You need to do the following:

1) edit /etc/cmcluster/cmclnodelist and ensure that the 2 nodes remaining are present.

2)cmquerycl -v -C /etc/cmcluster/cmclconf.ascii -n node1 -n node2

3) cmcheckconf -v -C /etc/cmcluster/cmclconf.ascii

4) cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii

5) cmruncl -f -v

6) cmviewcl -v

This is all designed to regenerate your cluster using only the 2 existing nodes.

Anything further let us know.

Gl.

FG.

melvyn burnard
Honored Contributor

Re: MCSG Config Dilemma

If all else fails,:
1)backup the /etc/cmcluster directories ;-}
2)halt the cluster completely
3)edit the ascii file to just refer to the two nodes and ENSURE you have a cluster lock disc coinfigured.
4)remove the current binary cmclconfig on each node
5)cmcheckconf
6)vgchange -c n on the vg's
7)vgchange -a y for all the vg's to be used (this ensures they get writen with the new cluster id)
8)cmapplyconf
9)vgchange -a n all vg's
10) cmruncl
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
A. Clay Stephenson
Acclaimed Contributor

Re: MCSG Config Dilemma

Also, if this is a permanent demotion to a two-node cluster, don't overlook the necessity of a lock disk.
If it ain't broke, I can fix that.
Tim D Fulford
Honored Contributor

Re: MCSG Config Dilemma

Rob

You only have two machines in a previous 3 node cluster. IF that node has been removed & say re commissioned then you probably only have one choice.
# rm /etc/cmcluster/cmclconfig
then redo a new cluster.ascii with the node removed then
# cmapplyconf -C /etc/cmcluster/cluster.ascii -P /etc/cmcluster//.ascii -P...

Regards

Tim
-