Top
PRIMECLUSTER  Installation and Administration Guide 4.3
FUJITSU Software

8.2.1 Changing the IP address of the public LAN

The following describes how to change an IP address when the IP address of the public LAN has been changed.

Operation Procedure:

  1. Execute the following command on one of the cluster nodes to stop RMS operation.

    # hvshut -a
  2. Execute the following commands on all nodes to start the system in single-user mode.

    # /sbin/shutdown now
  3. Mount the local file system on all nodes.

    (Example)
    # /bin/mount -a -t ext3
  4. Edit the "/etc/hosts" file, and change the IP address on each node.

  5. Change the IP address of the public LAN.

    For details on how to change the IP address, see the Linux documentation.

  6. If an IP address of the Shutdown Facility or the Shutdown Agent needs to be changed along with the IP address of the public LAN changes, it is necessary to change "/etc/opt/SMAW/SMAWsf/rcsd.cfg" and "/etc/opt/SMAW/SMAWsf/SA_xxx.cfg" on each node.
    SA_xxx.cfg indicates the configuration file for the Shutdown Agent.

  7. If an IP address used by Web-Based Admin View also needs to be changed along with the IP address of the public LAN changes, 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 the "PRIMECLUSTER Web-Based Admin View Operation Guide."

  8. 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."


  9. If a Gls resource is created, edit the "/opt/SMAW/SMAWRrms/bin/hvenv.local" file of each cluster node as shown below so that RMS does not start automatically when the node is rebooted.

    # vi /opt/SMAW/SMAWRrms/bin/hvenv.local <Return>
    export HV_RCSTART=0
  10. Restart the system on all nodes.

    # /sbin/shutdown -r now
  11. If the takeover IP address is defined by GLS, see "3.4 Changing system setup" in the "PRIMECLUSTER Global Link Services Configuration and Administration Guide : Redundant Line Control Function."


    Note

    If a takeover IP address has been defined by GLS and if the takeover IP address is specified directly with an IP address value, not a host name, in the GLS environment settings and the Gls resource settings, first delete the Gls resource. Then change /etc/hosts and the GLS environment settings, and re-register the Gls resource.

    For details, see "6.2.1 GLS Setup" and "6.7.3.5 Setting Up Gls Resources" in this manual, and "5.2 Configuration for Cluster system" in the "PRIMECLUSTER Global Link Services Configuration and Administration Guide : Redundant Line Control Function."

  12. If you edited the "/opt/SMAW/SMAWRrms/bin/hvenv.local" file in Step 9, return the file to its previous setting.