Modifying the failover service group used for replication to IPv6

On the Primary site, in the existing failover service group created for the IPv4 virtual IP, create an IP resource and/or NIC resource for the virtual IPv6 address. In the following example, the service group is VVRGRP.

To modify the failover service group used for replication to IPv6

  1. Enable write operations on the VCS configuration. Enter the following:

    # haconf -makerw
  2. Add the NIC resource for the IPv6 address and configure the related attributes:

    # hares -add  nicres_v6  NIC  VVRGRP
    # hares -modify nicres_v6 Device  bge1
    # hares -modify nicres_v6 Enabled 1
    # hares -modify nicres_v6 Protocol IPv6
    # hares -probe nicres_v6 -sys node1
    # hares -probe nicres_v6 -sys node2
  3. Add the IP resource for the IPv6 address and configure the necessary attributes.

    hares -add  ipres_v6  IP  VVRGRP
    # hares -modify ipres_v6 Device  bge1 
    # hares -modify ipres_v6 \
      Address fd4b:454e:205a:111:211:43ff:feaa:af71
    # hares -modify ipres_v6 Enabled 1
    # hares -modify ipres_v6 PrefixLen 64
    # hares -probe ipres_v6 -sys node1
    # hares -probe ipres_v6 -sys node2
    # hares -online ipres_v6 -sys node1

    In the example above, the new IP resource ipres_v6 is configured for the virtual IPv6 address.

    Note:

    If you configure the IPv6 address on the same NIC that is used for IPv4, you do not need to create a new NIC resource. Instead, use the existing NIC resource and link the new IP resource to it. If you configure the IPv6 address on a separate interface, create a new NIC resource (nicres_v6) for the IPv6 interface.

  4. Link the IP resource to the NIC resource, Enter the following:

    # hares -link ipres_v6 nicres_v6
  5. Save your configuration changes. Enter the following:

    # haconf -dump -makero
  6. Repeat step 1 to 5 on the Secondary site.

    The virtual IP will be different on each site.

Note:

Do not stop VCS; do not modify the existing service group in the main.cf file. These changes affect replication between the sites because the service group will go offline.

After you save the configuration, the service group (VVRGRP) has the following settings: