更换Oracle 集群网卡(Changing a Network Interface)

2014-11-24 17:20:57 · 作者: · 浏览: 1

如果换网卡前后 网卡名,ip,网关,子网掩码都不变的话,集群层面不许要做额外的操作!


以下操作为更换网卡后使用新的网卡名


1、确保所有集群节点都是active 的


olsnodes -s


[grid@vmrac1 ~]$ olsnodes -s


vmrac1 Active


vmrac2 Active


2、确保新的替换网卡已经配置在服务器上


$ /sbin/ifconfig..


3、将新网卡加到集群


oifcfg setif -global if_name/subnet:cluster_interconnect


oifcfg setif -global "eth*/192.168.0.0:cluster_interconnect


4、在完成新网卡添加后,移除以前的配置信息


oifcfg delif -global if_name/subnet


For example:


$ oifcfg delif -global eth1/10.10.0.0


5、验证当前的配置信息:


oifcfg getif


For example:


$ oifcfg getif


eth2 10.220.52.0 global cluster_interconnect


eth0 10.220.16.0 global public


6、重启集群


# crsctl stop crs


7、os 层面删除网卡


$ ifconfig down


8、重启集群


# crsctl start crs


如果使用 CLUSTER_INTERCONNECTS 这个参数注意要做出相应修改