Removing the IPv4 resources from the VCS configuration

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

To remove the IPv4 resources from the Primary and Secondary sites

  1. 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 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 your configuration changes. Enter the following:

    # haconf -dump -makero
  6. Verify that only IPv6 addresses are defined.

    # hares -state | grep -i res
    #Resource    Attribute        System     Value
    ipres_v6     State            swsx25     ONLINE
    ipres_v6     State            swsx27     OFFLINE
    nicres_v6    State            swsx25     ONLINE
    nicres_v6    State            swsx27     ONLINE

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. 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 migrated VVR to an IPv6-only network.