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 resources from the VCS configuration on the bunker site.
Remove the IPv4 network. This task is optional. Only perform it if you want to have an IPv6-only environment.
To remove the IPv4 resources from the Primary and Secondary sites
# haconf -makerw
# hares -offline ipres -sys vvrias05
# hares -unlink res_rvg ipres
# hares -unlink ipres nicres
# hares -delete ipres # hares -delete nicres
# haconf -dump -makero
# 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 resources from the VCS configuration on the bunker site
# hares -state #Resource Attribute System Value ipres State vvrias09 ONLINE ipres_v6 State vvrias09 ONLINE nicres State vvrias09 ONLINE nicres_v6 State vvrias09 ONLINE phantom_vxss State vvrias09 ONLINE vxatd State vvrias09 ONLINE
# haconf -makerw
# hares -unlink ipres nicres
# hares -delete ipres # hares -delete nicres
# haconf -dump -makero
# hares -state #Resource Attribute System Value ipres_v6 State vvrias09 ONLINE nicres_v6 State vvrias09 ONLINE phantom_vxss State vvrias09 ONLINE vxatd State vvrias09 ONLINE
# netstat -in IPv4: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lo0 32808 127.0.0.0 127.0.0.1 113649 0 113649 0 0 IPv6: Name Mtu Address/Prefix Ipkts Opkts lan2 1500 fd4b:454e:205a:111:211:43ff:feaa:af70/64 0 2 lo0 32808 ::1/128
To remove the IPv4 network on the Primary and Secondary sites (optional)
# ifconfig lan0 down
# ifconfig lan0 unplumb
# 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
/etc/hosts
and /etc/resolv.conf
files on all the hosts on both the Primary and Secondary sites.
You have now migrated VVR to an IPv6-only network.