Professional Documents
Culture Documents
SFRAC - 11 2 0 2 - Technote-Martix$
SFRAC - 11 2 0 2 - Technote-Martix$
The interfaces that are currently stored in the GPnP profile, their subnets, and their role (public or cluster_interconnect) are displayed. 2. Add the remaining LLT links to the GPnP profile:
# $GRID_HOME/bin/oifcfg setif -global \ eth2/192.168.12.0:cluster_interconnect
Upgrading to Oracle RAC 11gR2 (11.2.0.2) from Oracle RAC 11gR2 (11.2.0.1) on Unix
To upgrade existing 11.2.0.1 Oracle Grid Infrastructure installations to Oracle Grid Infrastructure 11.2.0.2, you must do either of the following: i. Patch the Oracle Grid Infrastructure home with 9413827 and 9706490 patches. (Solaris) ii. Install Oracle Grid Infrastructure Patch Set 1 (GI PSU1) or Oracle Grid Infrastructure Patch Set 2 (GI PSU2). Oracle Clusterware and Oracle ASM upgrades are out-of-place upgrades.
2.
Configure the static private IP addresses for the private interfaces used as cluster interconnect as detailed in the section Configuring Private IPs for Oracle cluster interconnect. Earlier these private IP addresses were managed by PrivNIC/MultiPrivNIC. Install the prerequisite Oracle patches for upgrading to 11.2.0.2 as listed above in Oracle Grid Infrastructure home. Refer to the patch READMEs for instructions. For upgrading Oracle grid infrastructure, Refer to How to Upgrade to Oracle Grid Infrastructure 11g Release 2 section in Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for more details. Log in as the Oracle grid user. On the first node, set the DISPLAY variable.
3.
4.
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. For C Shell (csh or tcsh), type:
$ setenv DISPLAY 10.20.12.150:0.0
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. 5. Start the Oracle Universal Installer for installing Oracle grid infrastructure, and select the option to upgrade an existing Oracle Clusterware and Oracle ASM installation.
$ <11.2.0.2 installer directory>/runInstaller
Note: Provide a new grid infrastructure home when the OUI prompts for the grid infrastructure home location. Oracle Clusterware and Oracle ASM upgrades are out-of-place upgrades. 6. After completing the grid infrastructure installation, when prompted run rootupgrade.sh script as superuser on each node. Note: Veritas Membership library would be automatically linked with grid infrastructure during installation. For upgrading the Oracle database, refer to Oracle Database Upgrade Guide for complete details. 7. Log in as the Oracle database user. On the first node, set the DISPLAY variable.
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. For C Shell (csh or tcsh), type:
$ setenv DISPLAY 10.20.12.150:0.0
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. 8. 9. Start the Oracle Universal Installer for installing database software on the first node.
$ <11.2.0.2 installer directory>/runInstaller
After upgrading the Oracle database, relink Veritas ODM library. Refer to the procedure provided in Relinking the SF Oracle RAC libraries with Oracle RAC in Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide. When prompted for Oracle home, provide the Oracle 11.2.0.2 database home.
$ORACLE_HOME/bin/dbua
10. Use the database upgrade assistant to upgrade the existing databases. As a Oracle database user, enter: 11. If DB is under VCS control , then configure the Oracle RAC database for manual startup, refer to section Preventing automatic database startup in Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide. 12. Unfreeze cvm service group and if database is under VCS control then unfreeze database service group.
# # # # haconf makerw hagrp -unfreeze cvm hagrp unfreeze <database service group> haconf -dump makero
Upgrading to Oracle RAC 11gR2 (11.2.0.2) from Oracle RAC 11gR2 (11.2.0.1) on Linux
The following procedure assumes that you are running Oracle RAC 11gR2 (11.2.0.1) with Oracle patch 8649805. Upgrading to Oracle RAC 11gR2 (11.2.0.2) requires Oracle Patch Set Update 11.2.0.1.2 (PSU2) released for Oracle RAC 11gR2 (11.2.0.1). Apply it on all the cluster nodes.
14. Configure the static private IP addresses for the private interfaces used as cluster interconnect as detailed in the section Configuring Private IPs for Oracle cluster interconnect. Earlier these private IP addresses were managed by PrivNIC/MultiPrivNIC. 15. Stop the database. Run the following command on one of the cluster nodes as the Oracle database user:
$ srvctl stop database -d <database_name>
16. Stop Oracle Grid Infrastructure on each node in the cluster. As a superuser, enter:
# crsctl stop crs
17. Unlink Veritas Membership library. As a Oracle grid user, on each node enter:
$ cd $GRID_HOME/lib $ mv libskgxn2.so libskgxn2.so.veritas.`date '+%m_%d_%y-%H_%M_%S'` $ cp libskgxns.so libskgxn2.so
19. Roll back Oracle patch 8649805 from Oracle grid infrastructure home. Refer to the Oracle patch 8649805 readme for rollback procedure.
20. Roll back Oracle patch 8649805 from Oracle database home. Refer to the Oracle patch 8649805 readme for rollback
procedure. 21. Upgrade the OPatch utility of Oracle grid Infrastructure home and Oracle database software home by applying Oracle patch 6880880. a. Extract the OPatch utility in the Oracle grid infrastructure home. As a Oracle grid user, on each node in cluster enter:
$ unzip <6880880 patch zip file> -d $GRID_HOME
b. Extract the OPatch utility in the Oracle database software home. As a Oracle database user, on each node in cluster enter:
$ unzip <6880880 patch zip file> -d $ORACLE_HOME
22. Apply Oracle Set Update 11.2.0.1.2 (PSU2) to Oracle grid infrastructure home. As a superuser, on each node in cluster enter:
# $GRID_HOME/OPatch/opatch auto <PSU2 patch file directory> -oh $GRID_HOME
Note: This applies Oracle patch 9655006 and 9654983. 23. Apply Oracle Set Update 11.2.0.1.2 (PSU2) to Oracle database home. As a Oracle database user, on each node in cluster enter:
$ORACLE_HOME/OPatch/opatch apply <PSU2 patch file directory>/9654983 oh $ORACLE_HOME
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. For C Shell (csh or tcsh), type:
$ setenv DISPLAY 10.20.12.150:0.0
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. 25. Start the Oracle Universal Installer for installing Oracle grid infrastructure, and select the option to upgrade an existing Oracle Clusterware and Oracle ASM installation.
Note: Provide a new grid infrastructure home when the OUI prompts for the grid infrastructure home location. Oracle Clusterware and Oracle ASM upgrades are out-of-place upgrades. 26. After completing the grid infrastructure installation, when prompted run rootupgrade.sh script as superuser on each node. Note: Veritas Membership library would be automatically linked with grid infrastructure during installation. For upgrading the Oracle database, refer to Oracle Database Upgrade Guide for complete details. 27. Log in as the Oracle database user. On the first node, set the DISPLAY variable. For Bourne Shell (bash), type:
$ DISPLAY=10.20.12.150:0.0;export DISPLAY
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. For C Shell (csh or tcsh), type:
$ setenv DISPLAY 10.20.12.150:0.0
where 10.20.12.150 is the IP address of X client where you want to export the display for the installer. 28. Start the Oracle Universal Installer for installing database software on the first node.
$ <11.2.0.2 installer directory>/runInstaller
29. After upgrading the Oracle database, relink Veritas ODM library. Refer to the procedure provided in Relinking the SF Oracle RAC libraries with Oracle RAC in Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide. When prompted for Oracle home, provide the Oracle 11.2.0.2 database home. 30. 31. Use the database upgrade assistant to upgrade the existing databases. As a Oracle database user, enter:
$ $ORACLE_HOME/bin/dbua
32. If DB is under VCS control , then configure the Oracle RAC database for manual startup, refer to section Preventing automatic database startup in Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide. 33. Unfreeze the cvm service group and if database is under VCS control, unfreeze database service group.
# # # # haconf makerw hagrp -unfreeze cvm hares unfreeze <database service group> haconf -dump makero