先发总结:
1.从11gR2开始单实例所有组件都支持ipv6
2.12cR1 RAC只支持对public网络进行ipv6改造
3.12cR2开始RAC支持对public及private网络进行ipv6改造
4.12cR1版本可能需要先安装个补丁28805158
一、实施前准备工作
1.主机层对网卡进行ipv6设置
2.在/etc/hosts中补充ipv6地址
3.检查ipv6地址的连接通,hpux使用ping、linux使用ping6
4.对现有集群配置进行备份
srvctl config network
srvctl config vip -node node1_name
srvctl config vip -node node2_name
srvctl config network -netnum 1
srvctl config scan -all
oifcfg getif
oifcfg iflist -p -n
5.备份ocr
su - root
ocrconfig –manualbackup
二、实施ipv6设置
1.添加ipv6子网到集群网络(任一节点操作)
su - root
./srvctl config network --查看当前配置
./srvctl modify network –subnet ipv6_subnet/prefix_length --添加IPV6
./srvctl config network --复核配置变更情况
2.添加IPV6 VIP到集群网络(所有节点操作)
srvctl config vip -node node_name --查看当前节点VIP配置
srvctl modify vip -node node_name -netnum network_number -address vip_name/netmask
–添加IPV6
srvctl config vip -node node_name --复核VIP配置变更情况
3.添加IPV6资源到OCR(任一节点操作)
su -grid
oifcfg getif --查看当前配置
oifcfg setif -global if_name/subnet:public --添加IPV6
oifcfg getif --复核配置变更情况
4.添加IPV6地址到SCAN VIP(任一节点操作)
su - root
srvctl config scan –all --查看当前配置
srvctl modify scan -scanname scan_name --添加IPV6
srvctl config scan -all --复核配置变更情况
5.转换网络IP TYPE到双栈运行(任一节点操作)
su - root
srvctl config network -netnum 1 --查看当前配置
srvctl modify network -netnum network_number -iptype both --转换配置
srvctl config network -netnum 1 --复核配置变更情况
三、验证测试
查看监听状态,地址中是否注册了ipv6地址
使用ipv6地址连接登陆数据库