Removing the IPv4 resources from the VCS configuration when VCS global clustering and VVR agents are configured in the presence of a bunker

To remove the IPv4 resources from the VCS configuration, do the following:

To remove the IPv4 resources from the Primary and Secondary sites

  1. On the Primary site, make the VCS configuration writeable. Enter the following:
    # haconf -makerw
  2. Take the system offline. Enter the following:
    # hares -offline ipres -sys swsx25
  3. Unlink the RVG and IP resources. Enter the following:
    # hares -unlink res_rvg ipres
  4. Unlink the IP and NIC resources. Enter the following:
    # hares -unlink ipres nicres
  5. Delete the IP and NIC resources. Enter the following:
    # hares -delete ipres
    # hares -delete nicres
  6. Save the changes made to the configuration. Enter the following:
    # haconf -dump -makero
  7. Verify that only IPv6 addresses are defined.
    # hares -state | grep -i res
    #Resource    Attribute        System     Value
    ipres_v6     State            swsx25     ONLINE
    ipres_v6     State            swsx26     OFFLINE
    nicres_v6    State            swsx25     ONLINE
    nicres_v6    State            swsx26     ONLINE
  8. Repeat this procedure on the Secondary site to remove its IPv4 resources.

To remove the IPv4 resources from the VCS configuration on the bunker site

  1. Enter the following command:
    # hares -state
    #Resource    Attribute             System     Value
    ipres        State                 swsx29     ONLINE
    ipres_v6     State                 swsx29     ONLINE
    nicres       State                 swsx29     ONLINE
    nicres_v6    State                 swsx29     ONLINE
    phantom_vxss State                 swsx29     ONLINE
    vxatd        State                 swsx29     ONLINE
  2. Make the VCS configuration writeable. Enter the following:
    # haconf -makerw
  3. Unlink the IP and NIC resources. Enter the following:
    # hares -unlink ipres nicres
  4. Delete the IP and NIC resources. Enter the following:
    # hares -delete ipres
    # hares -delete nicres
  5. Save the changes made to the configuration. Enter the following:
    # haconf -dump -makero
  6. Verify that only IPv6 addresses are defined.
    # hares -state
    #Resource    Attribute             System     Value
    ipres_v6     State                 swsx29     ONLINE
    nicres_v6    State                 swsx29     ONLINE
    phantom_vxss State                 swsx29     ONLINE
    vxatd        State                 swsx29     ONLINE
  7. Display the current network status. Enter the following:
    # ifconfig -a

To remove the IPv4 network on the Primary and Secondary sites (optional)

  1. Down the interface on which IPv4 was configured.
    # ifconfig bge0 down
  2. Unplumb in the interface.
    # ifconfig bge0 unplumb
  3. Remove the IPv4 network cable. This does not impact replication because the VVR configuration has been migrated to use IPv6 on all sites.
  4. Verify that there are no IPv4 addresses defined.
    # ifconfig -a
  5. Remove the IPv4 entries from /etc/hosts and /etc/resolv.conf files on all the hosts on both the Primary and Secondary sites.

    Note:

    Do not remove the IPv4 loopback entry from the /etc/hosts file. If you remove the loopback entry, and replication is affected, stop and restart the VVR service using the vxstart_vvr stop and vxstart_vvr start commands.

You have now migrated VVR to an IPv6-only network.