The following describes how to change an IP address when the IP address of the administrative LAN has been changed.
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:
Execute the following command on one of the cluster nodes to stop RMS operation.
# hvshut -a
Execute the following commands on all the nodes to start the system in single-user mode.
[For RHEL6]
# /sbin/shutdown now
[For RHEL7]
# /usr/bin/systemctl set-default rescue.target # /sbin/shutdown -r now
Mount the local file system on all the nodes.
(Example)
# /bin/mount -a -t ext3
Edit the "/etc/hosts" file, and change the IP address on each node.
Change the IP address of the administrative LAN.
For details on how to change the IP address, see the Linux documentation.
If the IP address of CF over IP must be changed as the IP address of administrative LAN is changed, change /etc/default/cluster on each node.
See
For details, refer to "1.1.7 Example of CF configuration by CLI" in "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide."
Since the IP address of the shutdown facility or the IP address of the shutdown agent needs to be changed as the IP address of the administrative LAN is changed, execute the following command on each node to save rcsd.cfg.
# mv /etc/opt/SMAW/SMAWsf/rcsd.cfg /etc/opt/SMAW/SMAWsf/rcsd.cfg.work
If an IP address used by Web-Based Admin View also needs to be changed as the IP address of the administrative LAN is changed, change it on each node.
See
For details, see "7.1 Network address," "7.3 Management server," and "7.5 Multi-network between server and client by classified use" in "PRIMECLUSTER Web-Based Admin View Operation Guide."
If the administrative LAN is shared with the network used for the mirroring among servers, refer to "Changing IP Addresses Used for Mirroring among Servers" in "PRIMECLUSTER Global Disk Services Configuration and Administration Guide" and change the settings of each node.
Restart OS on all the nodes.
[For RHEL6]
# /sbin/shutdown -r now
[For RHEL7]
# /usr/bin/systemctl set-default multi-user.target # /sbin/shutdown -r now
If rcsd.cfg is saved in Step 7, execute the following command.
# mv /etc/opt/SMAW/SMAWsf/rcsd.cfg.work /etc/opt/SMAW/SMAWsf/rcsd.cfg
After that, set the shutdown facility again.
See
For details, see "5.1.2 Setting up the Shutdown Facility."