1. 程式人生 > >更換oracle 集群網卡(Changing a Network Interface)

更換oracle 集群網卡(Changing a Network Interface)

post data crs 52.0 network ifconf down oracle 更換

??


更換oracle 集群網卡(Changing a Network Interface)

假設換網卡前後 網卡名。ip,網關,子網掩碼都不變的話,集群層面不許要做額外的操作。

一下操作為更換網卡後使用新的網卡名


1、確保全部集群節點都是active 的
olsnodes -s

[[email protected] ~]$ olsnodes -s
vmrac1 Active
vmrac2 Active


2、確保新的替換網卡已經配置在server上
$ /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 集群網卡(Changing a Network Interface)