Top
PRIMECLUSTER  Installation and Administration Guide 4.3
FUJITSU Software

L.3.4 Changing the IP Address of GLS

Change the IP address of GLS. Change the settings on all the nodes.

See

For details on the settings, see "PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function."

Note

The procedure depends on the data communication mode. The following procedure is for changing the IP address within the same network as the configuration using the NIC switching mode.

  1. Delete all settings for the takeover virtual Interface.

    # /opt/FJSVhanet/usr/sbin/hanethvrsc delete -n all
  2. Stop the HUB monitoring function.

    # /opt/FJSVhanet/usr/sbin/hanetpoll off
  3. Modify the ifcfg-eth0 file to change the IP address of the primary physical interface.

    For [primecl03]
    [Before change]
    DEVICE=eth0
    BOOTPROTO=static
    HWADDR=XX:XX:XX:XX:XX:XX
    HOTPLUG=no
    BROADCAST=10.34.214.255
    IPADDR=10.34.214.181
    NETMASK=255.255.255.0
    NETWORK=10.34.214.0
    ONBOOT=yes
    TYPE=Ethernet
    [After change]
    DEVICE=eth0
    BOOTPROTO=static
    HWADDR=XX:XX:XX:XX:XX:XX
    HOTPLUG=no
    BROADCAST=10.34.214.255
    IPADDR=10.34.214.191
    NETMASK=255.255.255.0
    NETWORK=10.34.214.0
    ONBOOT=yes
    TYPE=Ethernet
    For [primecl04]
    [Before change]
    DEVICE=eth0
    BOOTPROTO=static
    HWADDR=XX:XX:XX:XX:XX:XX
    HOTPLUG=no
    BROADCAST=10.34.214.255
    IPADDR=10.34.214.182
    NETMASK=255.255.255.0
    NETWORK=10.34.214.0
    ONBOOT=yes
    TYPE=Ethernet
    [After change]
    DEVICE=eth0
    BOOTPROTO=static
    HWADDR=XX:XX:XX:XX:XX:XX
    HOTPLUG=no
    BROADCAST=10.34.214.255
    IPADDR=10.34.214.192
    NETMASK=255.255.255.0
    NETWORK=10.34.214.0
    ONBOOT=yes
    TYPE=Ethernet
  4. Change the IP address of the virtual interface.

    For [primecl03]
    # /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 10.34.214.195 -e 10.34.214.191
    For [primecl04]
    # /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 10.34.214.195 -e 10.34.214.192
  5. Reregister the settings of the takeover virtual Interface.

    # /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
  6. In order to let the IP address change take effect, restart all the nodes. If you plan to do "L.3.5 Restoring the GDS Configuration Information" or "L.3.7 Setting Up System Disk Mirroring," this restarting is not necessary.

See

For changing the IP address to a different network, the subnet mask of the virtual interface and the monitoring IP address of the HUB monitoring function need to be changed. For details, see "PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function."