1827445 Members
6391 Online
109965 Solutions
New Discussion

Change in cmclconf.ascii

 
SOLVED
Go to solution
Sanjiv Sharma_1
Honored Contributor

Change in cmclconf.ascii

Hi,

I want to make the following changes in the cmclconf.ascii file.

Previously:
NETWORK_INTERFACE lan0
HEARTBEAT_IP a.b.c.d
NETWORK_INTERFACE lan1
STATIONARY_IP x.y.z.aa
NETWORK_INTERFACE lan2

It will be:
NETWORK_INTERFACE lan0
HEARTBEAT_IP a.b.c.d
NETWORK_INTERFACE lan1
HEARTBEAT_IP x.y.z.aa
NETWORK_INTERFACE lan2

Should I have to run
# cmcheckconf -C cmclconf.ascii
# cmapplyconf -C cmclconf.ascii
or I have to mention all the packages name here.

What will be syntax of the commands to be used (setp by step) to modify STATIONARY_IP to HEARTBEAT_IP?

Thanks,
Raje.
Everything is possible
3 REPLIES 3
John Poff
Honored Contributor

Re: Change in cmclconf.ascii

Hi,

I think you pretty much have the steps right. Make the changes you have shown in your cmclconf.ascii file, copy it to all other nodes, and run cmcheckconf and cmapplyconf as you have listed. For changes to the cluster ascii file you don't need to list all your packages.

JP
John Poff
Honored Contributor
Solution

Re: Change in cmclconf.ascii

Hi again,

I forgot to mention that your cluster will have to be down to make the changes for the heartbeat lan. So your steps would look like:

1. cmhaltpkg ...(all your packages)
2. cmhaltcl
3. make changes to cmclconf.ascii and copy to all nodes
4. cmcheckconf -C cmclconf.ascii
5. chapplyconf -C cmclconf.ascii
6. cmruncl


JP
Ashwani Kashyap
Honored Contributor

Re: Change in cmclconf.ascii

Your modifying a stationary IP into heartbeat .

So first make a copy of you rexisting cmclconf.ascii file . The shutdown your packages and cluster . Then rewire or repatch your network cables , if you have to ( assuming this is a dedicated heartbeat lan over private hub/vlan or sross over cable ).

THen modify your /etc/rc.config.d file and restart your network damons .

At this point do a cmcheckconf -C cmclconf.ascii .If the check is succesfull , then do an cmapplyconf . This will create and distribute the binaries on all the nodes in the cluster . Its the binary that is required on all the nodes not the ascii file , but its a good idea to copy the modified file on all the nodes .
Now restart your cluster .