Use the following procedure to change the control networks in a currently active cluster. This procedure is valid for a two-node cluster consisting of nodes node1 and node2. In this procedure, you must complete each step before proceeding to the next step.
Note: Do not perform any other administration operations during this procedure.
From any node, stop HA services on the cluster. Make sure all HA processes have exited on both nodes.
From node2, stop the cluster processes on node2:
# /etc/rc.d/init.d/fs_cluster stop # killall cdbd |
Make sure the cdbd process have been killed on node2.
From node1, modify the node1 and node2 definition. Use the following cmgr commands:
cmgr> modify node node1 Enter commands, when finished enter either "done" or "cancel" node1?> remove nic old nic address node1> add nic nnew nic address NIC - new nic address set heartbeat to ... NIC - new nic address set ctrl_msgs to ... NIC - new nic address set priority to ... NIC - new nic address done node1? done |
Repeat the same procedure to modify node2.
From node1, check if the node1 and node2 definitions are correct. Using cmgr on node1, execute the following commands to view the node definitions:
cmgr> show node node1 cmgr> show node node2 |
On both node1 and node2, modify the network interface IP addresses in /etc/failsafe/config/netif.options and execute ifconfig to configure the new IP addresses on node1 and node2. Verify that the IP addresses match the node definitions in the CDB.
From node1, stop the cluster process on node1:
# /etc/rc.d/init.d/fs_cluster stop # killall cdbd |
Make sure the cdbd process have been killed on node1.
From node2, execute the following command to start cluster process on node2:
# /usr/cluster/bin/cdbreinit /var/cluster/cdb/cdb.db |
Answer y to the prompt the appears.
From node1, start cluster processes on node1:
# /etc/rc.d/init.d/fs_cluster start |
The following messages should appear in the SYSLOG on node2:
Starting to receive CDB sync series from machine node1_node_id> ... Finished receiving CDB sync series from machine node1_node_id |
Wait for approximately sixty seconds for the sync to complete.
From any node, start HA services in the cluster.