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!