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:
Remove the IPv4 resources from the Primary and Secondary sites.
Remove the IPv4 network on the Primary and Secondary sites. This task is optional. Only perform this task if you want to have an IPv6-only environment.
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 vvrias05
-
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 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)
-
Down the interface on which IPv4 was configured.
# ifconfig lan0 down
-
Unplumb in the interface.
# ifconfig lan0 unplumb
-
Remove the IPv4 network cable. This does not impact replication because the VVR configuration has been migrated to use IPv6 on all sites.
-
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
-
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.