更换Oracle 集群网卡(Changing a Network Interface)
如果换网卡前后 网卡名,ip,网关,子网掩码都不变的话,集群层面不许要做额外的操作!
Linux-6-64下安装Oracle 12C笔记 http://www.linuxidc.com/Linux/2013-07/86805.htm
在CentOS 6.4下安装Oracle 11gR2(x64) http://www.linuxidc.com/Linux/2014-02/97374.htm
Oracle 11gR2 在VMWare虚拟机中安装步骤 http://www.linuxidc.com/Linux/2013-09/89579p2.htm
Debian 下 安装 Oracle 11g XE R2 http://www.linuxidc.com/Linux/2014-03/98881.htm
以下操作为更换网卡后使用新的网卡名
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 这个参数注意要做出相应修改
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-06/103069.htm
