Change the vip address of Oracle10gRAC1 from 192.168.2.11 to 192.168.2.13, And the vip address of rac2 from 192.168.2.12 to 192.168.2.14.
Change the vip address of Oracle 10g RAC 1 from 192.168.2.11 to 192.168.2.13, And the vip address of rac2 from 192.168.2.12 to 192.168.2.14.
Change the vip address of Oracle 10g RAC 1 from 192.168.2.11 to 192.168.2.13, And the vip address of rac2 from 192.168.2.12 to 192.168.2.14.
I. Overview of software and hardware Environments
Install two redhet Enterprise-R4-U4 systems rac1 and rac2 on the Virtual Machine VMware GSX Server, virtual shared storage, built on this oracle10g RAC environment.
1. rac1 two NICs: eth0: 192.168.2.111, eth1: 10.10.10.11
2. rac2 two NICs: eth0: 192.168.2.112, eth1: 10.10.10.12
/Etc/hosts file:
127.0.0.1
Localhost
192.168.2.111
Rac1.mycorpdomain.com
Rac1
192.168.2.11
Rac1-vip.mycorpdomain.com
Rac1-vip
10.10.10.11
Rac1-priv.mycorpdomain.com
Rac1-priv
192.168.2.112
Rac2.mycorpdomain.com
Rac2
192.168.2.12
Rac2-vip.mycorpdomain.com
Rac2-vip
10.10.10.12
Rac2-priv.mycorpdomain.com
Rac2-priv
3. Change VIP1 and confirm the vip configurations of the current rac1 and rac2.
#./Srvctl config nodeapps-n rac1-
VIP exists.:/rac1-vip.mycorpdomain.com/192.168.2.11/255.255.255.0/eth0
#./Srvctl config nodeapps-n rac2-
VIP exists.:/rac2-vip.mycorpdomain.com/192.168.2.12/255.255.255.0/eth0
2. Stop resources dependent on vip on rac1
# Cd/u01/app/oracle/product/10.2.0/crs_1/bin
Stop a database instance
#./Srvctl stop instance-d devdb-I ora. devdb. devd1.inst
Stop Database
#./Srvctl stop database-d devdb
Stop an ASM instance
#./Srvctl stop asm-n rac1
Stop vip, gsd, listener, ons
#./Srvctl stop nodeapps-n rac1
3. Stop resources dependent on vip on rac2
# Cd/u01/app/oracle/product/10.2.0/crs_1/bin
Stop a database instance
#./Srvctl stop instance-d devdb-I ora. devdb. devd2.inst
Stop Database
#./Srvctl stop database-d devdb
Stop an ASM instance
#./Srvctl stop asm-n rac2
#./Srvctl stop nodeapps-n rac2
4. Change the hosts file
127.0.0.1
Localhost
192.168.2.111
Rac1.mycorpdomain.com
Rac1
192.168.2.13
Rac1-vip.mycorpdomain.com
Rac1-vip
10.10.10.11
Rac1-priv.mycorpdomain.com
Rac1-priv
192.168.2.112
Rac2.mycorpdomain.com
Rac2
192.168.2.14
Rac2-vip.mycorpdomain.com
Rac2-vip
10.10.10.12
Rac2-priv.mycorpdomain.com
Rac2-priv