To remove the IPv4 resources from the VCS configuration do the following:
To remove the IPv4 resources from the Primary and Secondary sites
Make the VCS configuration writeable. Enter the following:
# haconf -makerw
Take the system offline. Enter the following:
# hares -offline ipres -sys swax25
Unlink the IP and NIC resources. Enter the following:
# hares -unlink ipres nicres
Delete the IP and NIC resources. Enter the following:
# hares -delete ipres # hares -delete nicres
Save your configuration changes. Enter the following:
# haconf -dump -makero
Verify that only IPv6 addresses are defined.
# hares -state | grep -i res #Resource Attribute System Value ipres_v6 State swax25 ONLINE ipres_v6 State swax27 OFFLINE nicres_v6 State swax25 ONLINE nicres_v6 State swax27 ONLINE
To remove the IPv4 network on the Primary and Secondary sites (optional)
Down the interface on which IPv4 was configured.
# ifconfig en0 down
# ifconfig en0 detach
Remove the IPv4 network cable. This does not impact replication because the VVR configuration has been migrated to use IPv6 on all sites.
Remove the IPv4 entries from /etc/hosts
and /etc/resolv.conf
files on all the hosts on both the Primary and Secondary sites.