In the RAC environment, sometimes the NIC or IP address needs to be changed. Here, we will record the procedure (refer to metalink documentation: 283684.1 ). 1. Check the configuration of the current PUBLIC Nic and private nic: test1:/home/oracle> $ oifcfg getif
Eth1 10.0.100.0 global cluster_interconnect
Eth0 172.19.20.0 global public2. Change the PUBLIC Nic or IP address. For example, change the PUBLIC Nic from eth0 to bond0 and the IP address from 172.19.20.0 to 172.13.20.0. First, you must use the oifcfg delif command to delete the original PUBLIC Nic settings, and then use the oifcfg setif command to change the NIC and IP configuration. You only need to execute this step on any node. (Note: You must stop resources in RAC before changing PUBLIC or PRIVATE NICs and IP addresses. You can use crs_stop-all to stop resources.) test1: /home/oracle> $ oifcfg delif-global eth0 test1:/home/oracle> $ oifcfg setif-global bond0/172.13.20.0: public. Check that the PUBLIC Nic and IP address have been changed: test1:/home/oracle> $ oifcfg getif.
Eth1 10.0.100.0 global cluster_interconnect
Bond0 172.19.20.0 global public3. Change PRIVATE Nic or IP address: This step is similar to changing PUBLIC Nic. For example, we need to change PRIVATE Nic from eth1 to ib1: test1: /home/oracle> $ oifcfg delif-global eth1 test1:/home/oracle> $ oifcfg setif-global ib1/172.13.20.0: cluster_interconnect4. Change VIP configuration: after changing the PUBLIC Nic, the VIP of each node of RAC must be reconfigured so that CRS can know the change of the PUBLIC Nic name corresponding to the VIP: test1: /home/oracle> $ srvctl modify nodeapps-n test1-A 172.13.20.1/255.255.255.0/bond0 after execution, the entire change is completed.