Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function
FUJITSU Software

E.3.3 Changing the IP address of the virtual interface

Change the IP address of the virtual interface according to "E.1 Designing network of the copy destination system." Below is the example for each communication mode.

Fast switching mode

Take the following steps to change the IP address that is described in the design example in "E.1.1 Designing the network of Fast switching mode."

[How to change in design example 1: Fast switching mode - Single system]
  1. Changing IP address of the virtual interface

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.1
[How to change in design example 2: Fast switching mode - Cluster system (1:1 Active standby)]
  1. Changing IP address of the virtual interface (HOST-A)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.1
  2. Changing IP address of the virtual interface (HOST-B)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.2
  3. Reconfiguring the takeover virtual interface (both HOST-A and HOST-B)

    /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0 -i 192.168.180.3

NIC switching mode

Take the following steps to change the IP address that is described in the design example in "E.1.2 Designing the network of NIC switching mode"

[How to change in design example 3: NIC switching mode - Single system]
  1. Changing IP address of the virtual interface

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.170.1 -e 192.168.170.2
[How to change in design example 4: NIC switching mode - Cluster system (1:1 Active standby)]
  1. Changing IP address of the virtual interface (HOST-A)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.170.1 -e 192.168.170.2
  2. Changing IP address of the virtual interface (HOST-B)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.170.1 -e 192.168.170.3
  3. Reconfiguring the takeover virtual interface (both HOST-A and HOST-B)

    /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0

GS/SURE linkage mode

Take the following steps to change the IP address that is described in the design example in "E.1.3 Designing the network of GS/SURE linkage mode."

[How to change in design example 5: GS/SURE linkage mode - Single system]
  1. Changing IP address of the virtual interface

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.1
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha1 -i 192.168.170.1
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha2 -i 192.168.171.1
  2. Changing IP address of the virtual gateway

    /opt/FJSVhanet/usr/sbin/hanetgw delete -n sha0
    /opt/FJSVhanet/usr/sbin/hanetgw create -n sha0 -g 192.168.180.254
[How to change in design example 6: GS/SURE linkage mode - Cluster system (1:1 Active standby)]
  1. Changing IP address of the virtual interface (HOST-A)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.1
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha1 -i 192.168.170.1
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha2 -i 192.168.171.1
  2. Changing IP address of the virtual interface (HOST-B)

    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha0 -i 192.168.180.1
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha1 -i 192.168.170.2
    /opt/FJSVhanet/usr/sbin/hanetconfig modify -n sha2 -i 192.168.171.2
  3. Changing IP address of the virtual gateway (Both HOST-A and HOST-B)

    /opt/FJSVhanet/usr/sbin/hanetgw delete -n sha0
    /opt/FJSVhanet/usr/sbin/hanetgw create -n sha0 -g 192.168.180.254
  4. Reconfiguring the takeover virtual interface (both HOST- and HOST-B)

    /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0