Oracle 11G R2 RAC modify public network IP

Source: Internet
Author: User

1. Disable the startup of related CRS resources and stop these resources (vip, listener, scan, scan_listener, database)

1.1 disable database startup and stop on all nodes

[Grid @ rac1 ~] $ Srvctl disable database-d racdb

[Grid @ rac1 ~] $ Srvctl stop database-d racdb

1.2 disable start of LISTNER on all nodes and stop LISTENER on all nodes

[Grid @ rac1 ~] $ Srvctl disable listener

[Grid @ rac1 ~] $ Srvctl stop listener

1.3 disable the start of VIP addresses on all nodes and stop VIP addresses on all nodes (Note:. when the VIP is operated, the/etc/hosts parameter is configured with the VIP name; B. only root users can disable vip resources)

[Root @ rac1 ~] #/U01/app/11.2.0/grid/bin/srvctl disable vip-I "rac1-vip"

[Root @ rac1 ~] #/U01/app/11.2.0/grid/bin/srvctl disable vip-I "rac2-vip

[Grid @ rac1 ~] $ Srvctl stop vip-n rac1

[Grid @ rac1 ~] $ Srvctl stop vip-n rac2

1.4 disable the start of SCAN_LISTENER on all nodes and stop SCAN_LISTENER on all nodes.

[Grid @ rac1 ~] $ Srvctl disable scan_listener

[Grid @ rac1 ~] $ Srvctl stop scan_listener

1.5 disable the start of SCAN on all nodes and stop SCAN on all nodes

[Root @ rac1 ~] #/U01/app/11.2.0/grid/bin/srvctl disable scan

[Grid @ rac1 ~] $ Srvctl stop scan

2. Network Infrastructure configuration (vswitches, routers, and DNS)

Make sure that the host configuration is changed so that the network resources can be accessed for a long time. The related entries in the DNS server must reflect the new IP address.

3. OS Network Configuration modification (/etc/hosts, ifcfg-eth0,/etc/resolve. conf)

4. reconfiguration and startup of CRS network-related resources (public network and nic settings of the cluster, vip configuration and LISTENER startup, scan reconfiguration, and SCAN_LISTENER startup)

The following operations can be performed only after the configuration takes effect. In addition, the public ip address and vip do not require special configuration. After modifying the corresponding entries in the/etc/hosts file

The cluster automatically uses the new IP address. Oracle should mainly use the host name to configure these IP addresses;

  • 1
  • 2
  • Next Page

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.