The following describes how to change an IP address when the IP address of the public LAN has been changed.
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 public 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 public 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."
If the administrative LAN is shared with the public LAN, 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 public 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 a takeover IP address must be changed (when the takeover IP address is changed after installation, or when the takeover IP address is changed due to transfer of the node), correct the IP address being used as the takeover IP address in the "/etc/hosts" file of each node.
When you have created takeover network resources, and change the subnet mask value due to the change of the public LAN, you also need to edit the /usr/opt/reliant/etc/hvipalias file.
See
For information on how to edit the /usr/opt/reliant/etc/hvipalias file, see "6.7.3.6 Setting Up Takeover Network Resources."
If GLS is used with the public LAN, refer to "PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function" and change the IP address of GLS.
If the public 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."