Adding IP and NIC resources for IPv6 addresses in the RVG agent group when VCS global clustering and VVR agents are configured

Currently, replication between the Primary and Secondary sites uses an IPv4 network. Before you can migrate the network to IPv6, you must add the IP and NIC resources to VCS control. You can do this in one of the following ways:

The first method, adding new IP and NIC resources for IPv6, ensures high availability. For example, suppose you add resources for IP and NIC resources for IPv6 addresses in the main.cf on the node in the Primary site from where replication is active. If the Primary site crashes before VVR migration to IPv6 from IPv4, the application service group fails over to the other node in the Primary site and replication continues using the IPv4 address. The existing IP and NIC resources are still in the main.cf file.

The second method, modifying the current IP and NIC resources, hampers replication. If a node in the Primary site crashes as you modify the existing IP resource, the original IPv4 virtual IP is lost. The application service group fails over to the other node, but the IPv4 IP address does not come online on the other node because you changed the IP resource from an IPv4 address to an IPv6 address. Instead, the IPv6 IP comes online. However, VVR is not configured use the IPv6 IP for replication, and replication pauses or stops. The IPv4 IP is not available on the other node.

To add the IP and NIC resources on the Primary and Secondary sites

  1. Make the VCS configuration writeable. Enter the following:
    # haconf -makerw
  2. Modify the IP and NIC attributes of the service group which has the RVG logowner agent resource for controlling the logowner. On the Primary site, enter the following:
    # haconf -makerw
    # hares -add nicres_v6 NIC rlogowner
    VCS NOTICE V-16-1-10242 Resource added. 
    Enabled attribute must be set before agent monitors
    # hares -modify nicres_v6 Enabled 1
    # hares -modify nicres_v6 Device lan3
    # hares -modify nicres_v6 NetworkHosts \
      fd4b:454e:205a:111:211:43ff:fed3:f327
    # hares -modify nicres_v6 Protocol IPv6
    # hares -probe nicres_v6 -sys vvrias05
    # hares -probe nicres_v6 -sys vvrias06
    # hares -add ipres_v6 IP RVG_Group
    VCS NOTICE V-16-1-10242 Resource added. 
    Enabled attribute must be set before agent monitors
    # hares -modify ipres_v6 Enabled 1
    # hares -modify ipres_v6 Device lan3
    # hares -modify ipres_v6 Address \
      fd4b:454e:205a:111:211:43ff:feaa:af70
    # hares -modify ipres_v6 PrefixLen 64
    # hares -probe ipres_v6 -sys vvrias05
    # hares -probe ipres_v6 -sys vvrias06
    # hares -online ipres_v6 -sys vvrias05
    # hares -link ipres_v6 nicres_v6
    # hares -link res_rvg ipres_v6

    Note:

    VVR replication between sites is not impacted by these modifications.

  3. Repeat step 2 on the Secondary site, using the appropriate system names and IP addresses.
  4. Save your configuration changes. Enter the following:
    # haconf -dump -makero