This section describes how to change the IP address of CF over IP.
Note
If the administrative LAN is shared with the public LAN, do not perform the following procedure, but change the IP address according to the procedure described in "9.2.1 Changing the IP Address of the Public LAN."
Operation Procedure
Edit the /etc/default/cluster file on all the nodes in the cluster to change the IP address and the broadcast address.
Edit the file appropriately depending on if the cluster nodes are located in the same network segment or they are located in different network segments.
If the cluster nodes are located in one of the following environments:
- Different network segments
- K5 environment
- RHOSP environment
nodename <CF node name> clustername <cluster name> device <IP device 1> <IP address 1> <broadcast address 1> <IP address of the remote node 1> device <IP device 2> <IP address 2> <broadcast address 2> <IP address of the remote node 2>
If the cluster nodes are located in one of the following environments:
- Physical environment
- KVM environment
- VMware environment
nodename <CF node name> clustername <cluster name> device <IP device 1> <IP address 1> <broadcast address 1> device <IP device 2> <IP address 2> <broadcast address 2>
Restart the system on all the nodes in the cluster.
Check the CF settings.
Check the following settings:
Make sure that all the nodes have joined the cluster.
Execute the following command on any one node in the cluster system and make sure that all the CF node names are displayed in "Node" field. Also make sure that UP is displayed in "State" field.
# cftool -n
Example
# cftool -n
Node Number State Os Cpu
node1 1 UP Linux EM64T
node2 2 UP Linux EM64T
Make sure that all the CF node names are displayed in "Node" field, and UP is displayed in "State" field.
Make sure that the settings of CF over IP are enabled.
Execute the following command on all the nodes in the cluster system and make sure that the settings of CF over IP are enabled.
# cftool -d
Example: The number of cluster interconnects are 2.
# cftool -d
Number Device Type Speed Mtu State Configured Address
4 /dev/ip0 6 n/a 1392 UP YES 0a.00.00.c9.00.00
5 /dev/ip1 6 n/a 1392 UP YES 0a.00.00.ca.00.00
Make sure that only /dev/ipX is displayed in "Device" field (X indicates the number of cluster interconnects ranged from 0 to 3).