Change the settings for the IP address, the MAC address, and the interface name of GLS on all 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. In the procedure below, sha0 indicates the virtual interface name and sha1 indicates the interface name of the standby patrol.
Delete all settings for the takeover virtual Interface.
# /opt/FJSVhanet/usr/sbin/hanethvrsc delete -n all
Stop the HUB monitoring function and the patrol monitoring function.
# /opt/FJSVhanet/usr/sbin/hanetpoll off
# /opt/FJSVhanet/usr/sbin/stpptl -n sha1
Disable the interface status monitoring function.
# touch /var/opt/FJSVhanet/tmp/disable_watchif
Modify the IP address of the primary physical interface.
The following is the example of changing the IP address of the primary interface net1 in the Solaris 11 environment. IP address is changed by using the ipadm(1M) command.
# /usr/sbin/ipadm delete-ip net1 # /usr/sbin/ipadm create-ip net1 # /usr/sbin/ipadm create-addr -T static -a 10.34.214.191/24 net1/v4
# /usr/sbin/ipadm show-addr net1/v4 <- Check that the IP address has been changed.
# /usr/sbin/ipadm delete-ip net1 # /usr/sbin/ipadm create-ip net1 # /usr/sbin/ipadm create-addr -T static -a 10.34.214.192/24 net1/v4
# /usr/sbin/ipadm show-addr net1/v4 <- Check that the IP address has been changed.
Note
When bundling interfaces that are different in the copy source and copy destination, use the ipadm(1M) command to delete the IP address in the copy source, and then assign the IP address for the interface used in the copy destination.
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 print -n sha0 <- Check that the IP address has been changed.
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 10.34.214.195 -e 10.34.214.192
# /opt/FJSVhanet/usr/sbin/hanetconfig print -n sha0 <- Check that the IP address has been changed.
Change the MAC address that is set in the standby patrol function.
Take the following procedure on all the nodes in the copy destination. These are the examples of [primecl03] and [primecl04].
Check the MAC address that is set in the standby patrol function.
# /opt/FJSVhanet/usr/sbin/hanetconfig print
[IPv4,Patrol]
Name Hostname Mode MAC Adder/Phys ip Interface List
+---------+--------------+----+-------------------+---------------------------+
sha0 10.34.214.185 d 10.34.214.181 net1,net2
sha1 - p 02:03:04:05:06:07 sha0
^^^^^^^^^^^^^^^^^ <- Check this value.
Take the following procedure depending on the current value.
If the current value is "00:00:00:00:00:00", this procedure is not necessary. Go to step 7.
If the current value is not "00:00:00:00:00:00", change the MAC address by executing the following command.
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha1 -a 0:0:0:0:0:0
Change the interfaces bundled by GLS as necessary.
When bundling the interfaces that are different in the copy source and copy destination, change the interfaces bundled by GLS. If the interface names have not been changed, skip this step. The following is the procedure when the interfaces bundled by the virtual interface sha0 of GLS need to be changed. Change the primary interface to net3 and the secondary interface to net4.
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -t net3,net4
# /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -t net3,net4
Create the takeover virtual interface again.
# /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
Check the changed configuration definition.
The following is the example of [primecl03].
# /opt/FJSVhanet/usr/sbin/hanethvrsc print ifname takeover-ipv4 takeover-ipv6 +----------+----------------+--------------------------------------------------+ sha0:65 10.34.214.195 - <- Check that the takeover virtual interface is set correctly. # /opt/FJSVhanet/usr/sbin/hanetconfig print -n sha1 [IPv4,Patrol] Name Hostname Mode MAC Adder/Phys ip Interface List +---------+--------------+----+-------------------+---------------------------+ sha0 10.34.214.195 d 10.34.214.191 net3,net4 <- Check IP addresses and interface names. sha1 - p 00:00:00:00:00:00 sha0 <- Check the MAC address.
To enable the setting change of IP address, you must restart OS on all nodes. If the NIC cable has been disconnected in the preliminary operation, stop OS first and then connect the NIC cable again. After that, restart OS.
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."