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.
Delete all settings for the takeover virtual Interface.
# /opt/FJSVhanet/usr/sbin/hanethvrsc delete -n all
Stop the HUB monitoring function.
# /opt/FJSVhanet/usr/sbin/hanetpoll off
Modify the ifcfg-eth0 file to change the IP address of the primary physical interface.
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
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
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
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
Change the IP address of the virtual interface.
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 10.34.214.195 -e 10.34.214.191
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 10.34.214.195 -e 10.34.214.192
Reregister the settings of the takeover virtual Interface.
# /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
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."