Removing the IPv4 resources from the VCS configuration when VCS global clustering and VVR agents are not configured

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 vvrias05
  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            vvrias05   ONLINE
    ipres_v6     State            vvrias06   OFFLINE
    nicres_v6    State            vvrias05   ONLINE
    nicres_v6    State            vvrias06   ONLINE

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

  1. Down the interface on which IPv4 was configured.
    # ifconfig lan0 down
  2. Unplumb in the interface.
    # ifconfig lan0 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.
    # netstat -in
    IPv4:
    Name      Mtu  Network         Address         Ipkts       Ierrs Opkts       Oerrs Coll
    lo0     32808  127.0.0.0       127.0.0.1       2202        0     2202        0     0
    
    IPv6:
    Name      Mtu  Address/Prefix                            Ipkts        Opkts
    lan2     1500  fd4b:454e:205a:111:211:43ff:feaa:af70/64  3105960      2
    lo0     32808  ::1/128                                   3280         3280
  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 migrated VVR to an IPv6-only network.