In RAC, how does one change the IP address and VIP address of an external Nic and an internal Internet card?

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.