How to modify the VIP address in a 10 Gb environment of Oracle Database

Source: Internet
Author: User

How to modify the VIP address in a 10 Gb environment of the Oracle database:

◆ 1. Stop all services

Crs_stop-all


◆ 2. root user Login, according to the original environment needs to execute commands, set environment variables (note if you are not the root to execute, to report the error PRKO-2117: This command shoshould be executed as the system privilege user .):


Export ORACLE_BASE =/u01/app/oracle

Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/rac_db

Export ORA_CRS_HOME = $ ORACLE_BASE/product/10.2.0/crs

Export ORACLE_SID = orcl1

Export NLS_LANG = AMERICAN_AMERICA.us7ascii

Export NLS_DATE_FORMAT = "YYYY-MM-DD HH24: MI: SS"

Export PATH =. :$ {PATH }:$ HOME/bin: $ ORACLE_HOME/bin: $ ORA_CRS_HOME/bin

Srvctl modify nodeapps-n xxx1-A 192.168.100.30/255.255.255.0


Ifconfig eth0: 1 192.168.100.30


◆ 3. modify the/etc/hosts file and files in the/u01/app/oracle/product/10.2.0/rac_db/network/admin directory as needed. If you use the machine name, you do not need to modify it.


◆ 4. convert to an oracle user:

Srvctl start nodeapps-n xxx1

Srvctl start asm-n xxx1

Srvctl start instance-d orcl-I orcl1


◆ 5. Test OK!

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.