RAC修改不对等网卡的操作步骤
检查CRS的状态是否正常:crs_stat -t
停止CRS的所有服务:crs_stop -all
[root@pztest1 bin]# oifcfg getif
eth0 192.168.8.0 global public
eth1 10.0.0.0 global cluster_interconnect
[root@pztest1 bin]# oifcfg delif -global eth1
[root@pztest1 bin]# oifcfg getif
eth0 192.168.8.0 global public
[root@pztest1 bin]# oifcfg setif -node eth2/10.0.0.0:cluster_interconnect
PRIF-14: invalid node name
[root@pztest1 bin]# oifcfg setif -node pztest1 eth2/10.0.0.0:cluster_interconnect
[root@pztest1 bin]# oifcfg getif
eth2 10.0.0.0 pztest1 cluster_interconnect
eth0 192.168.8.0 global public
[root@pztest1 bin]# oifcfg setif -node pztest2 eth1/10.0.0.0:cluster_interconnect
[root@pztest1 bin]# oifcfg getif
eth2 10.0.0.0 pztest1 cluster_interconnect
eth1 10.0.0.0 pztest2 cluster_interconnect
eth0 192.168.8.0 global public
停止CRS的所有服务:crs_stop -all
[root@pztest1 bin]# oifcfg getif
eth0 192.168.8.0 global public
eth1 10.0.0.0 global cluster_interconnect
[root@pztest1 bin]# oifcfg delif -global eth1
[root@pztest1 bin]# oifcfg getif
eth0 192.168.8.0 global public
[root@pztest1 bin]# oifcfg setif -node eth2/10.0.0.0:cluster_interconnect
PRIF-14: invalid node name
[root@pztest1 bin]# oifcfg setif -node pztest1 eth2/10.0.0.0:cluster_interconnect
[root@pztest1 bin]# oifcfg getif
eth2 10.0.0.0 pztest1 cluster_interconnect
eth0 192.168.8.0 global public
[root@pztest1 bin]# oifcfg setif -node pztest2 eth1/10.0.0.0:cluster_interconnect
[root@pztest1 bin]# oifcfg getif
eth2 10.0.0.0 pztest1 cluster_interconnect
eth1 10.0.0.0 pztest2 cluster_interconnect
eth0 192.168.8.0 global public
两节点重启CRS
[root@pztest1 bin]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE pztest1
ora....T1.lsnr application ONLINE ONLINE pztest1
ora....st1.gsd application ONLINE ONLINE pztest1
ora....st1.ons application ONLINE ONLINE pztest1
ora....st1.vip application ONLINE ONLINE pztest1
ora....SM2.asm application ONLINE ONLINE pztest2
ora....T2.lsnr application ONLINE ONLINE pztest2
ora....st2.gsd application ONLINE ONLINE pztest2
ora....st2.ons application ONLINE ONLINE pztest2
ora....st2.vip application ONLINE ONLINE pztest2
ora.test.db application ONLINE ONLINE pztest1
ora....t1.inst application ONLINE ONLINE pztest1
ora....t2.inst application ONLINE ONLINE pztest2
[root@pztest1 bin]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE pztest1
ora....T1.lsnr application ONLINE ONLINE pztest1
ora....st1.gsd application ONLINE ONLINE pztest1
ora....st1.ons application ONLINE ONLINE pztest1
ora....st1.vip application ONLINE ONLINE pztest1
ora....SM2.asm application ONLINE ONLINE pztest2
ora....T2.lsnr application ONLINE ONLINE pztest2
ora....st2.gsd application ONLINE ONLINE pztest2
ora....st2.ons application ONLINE ONLINE pztest2
ora....st2.vip application ONLINE ONLINE pztest2
ora.test.db application ONLINE ONLINE pztest1
ora....t1.inst application ONLINE ONLINE pztest1
ora....t2.inst application ONLINE ONLINE pztest2
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/86358/viewspace-739702/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/86358/viewspace-739702/