Adding Oracle 10g R1 or R2 patches
Use the following procedures to add Oracle 10g R1 or R2 patches to your node if you have installed Oracle, but have not yet configured Oracle in your cluster. To install Oracle 10g patch software, you must have installed Oracle 10g software.
Applying Oracle 10.1.0.5 Patchset
Applying Oracle 10.1.0.5 patchset involves the following tasks:
-
Install 10.1.0.5 CRS
-
Install 10.1.0.5 Database Software
-
Relink Oracle
To install 10.1.0.5 CRS
-
Stop Oracle instances on all systems in the cluster.
-
Stop CRS on all system in the cluster.
-
Log in as root and change permissions for $CRS_HOME.
#chown -R oracle:oinstall /app/crshome
-
Refer to Oracle 10.1.0.5 Patch note and apply the patch to CRS binaries.
-
Near the end of the CRS patch installation, OUI will prompt you to invoke root10105.sh on all systems in the cluster. Log in as root user on each system in the cluster and run the following commands:
-
Change directory to $CRS_HOME/install/patch10105/lib
#cd $CRS_HOME/install/patch10105/lib
-
Check if the 64-bit libskgxn2.a and libskgxn2.so exist. If they do, copy SF Oracle RAC SKGXN libraries in their place.
#ls libskgxn2.a libskgxn2.so
#cp /opt/VRTSvcs/rac/lib64/libskgxn2.a libskgxn2.a
#cp /opt/VRTSvcs/rac/lib64/libvcsmm.so libskgxn2.so
-
Check if the 64-bit libskgxp10.a exists. If it does, copy SF Oracle RAC SKGXP library in its place.
#ls libskgxp10.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.a libskgxp10.a
-
Change directory to $CRS_HOME/install/patch10105/lib32
#cd $CRS_HOME/install/patch10105/lib32
-
Check if 32-bit libskgxn2.a and libskgxn2.so exist. If they do, copy SF Oracle RAC SKGXN libraries in their place.
#ls libskgxn2.a libskgxn2.so
#cp /opt/VRTSvcs/rac/lib/libskgxn2.a libskgxn2.a
#cp /opt/VRTSvcs/rac/lib/libvcsmm.so libskgxn2.so
-
Check if 32-bit libskgxp10.a exists. If it does, copy SF Oracle RAC SKGXP library in its place.
#ls libskgxp10.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_32.a libskgxp10.a
-
Now invoke the script, root10105.sh. This script copies everything from under $CRS_HOME/install/patch10105 directory to their corresponding location under $CRS_HOME. It then starts the CRS daemons. You must run this script on each system in the cluster (in the same order as specified by Oracle installer).
#cd $CRS_HOME/install
#./root10105.sh
-
Verify that CRS daemons are up on systems in the cluster. The command, crs_stat, should list all the CRS resources.
# $CRS_HOME/bin/crs_stat -t
To install 10.1.0.5 Oracle database Software
-
Refer to Oracle 10.1.0.5 Patch note and apply the patch to Oracle binaries.
-
Run root.sh script at the end of the patch installation as instructed by Oracle.
-
Relink the Oracle libraries.
See Relinking the SF Oracle RAC libraries to Oracle
Applying Oracle 10.2.0.2 Patchset
Applying Oracle 10.2.0.2 patchset involves the following tasks:
-
Install 10.2.0.2 CRS
-
Install 10.2.0.2 Database Software
-
Relink Oracle
To install 10.2.0.2 CRS
-
Stop Oracle instances on all systems in the cluster.
-
Stop CRS on all system in the cluster.
-
Log in as root and change permissions for $CRS_HOME.
#chown -R oracle:oinstall /app/crshome
-
Refer to Oracle 10.2.0.2 Patch note and apply the patch to CRS binaries.
-
Near the end of the CRS patch installation, OUI will prompt you to invoke root102.sh on all systems in the cluster. Log in as root user on each system in the cluster and run the following commands:
-
Change directory to $CRS_HOME/install/patch102/lib
#cd $CRS_HOME/install/patch102/lib
-
Check if the 64-bit libskgxp10.a and libskgxg.a libraries exist. If they do, copy SF Oracle RAC SKGXP libraries in their place.
#ls libskgxp10.a libskgxpg.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.a libskgxp10.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.a libskgxpg.a
-
Change directory to $CRS_HOME/install/patch102/lib32
#cd $CRS_HOME/install/patch102/lib32
-
Check if 32-bit libskgxp10.a and libskgxpg.a libraries exists. If they do, copy SF Oracle RAC SKGXP library in their place.
#ls libskgxp10.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_32.a libskgxp10.a
#cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_32.a libskgxpg.a
-
Now invoke the script, root102.sh. This script copies everything from under $CRS_HOME/install/patch102 directory to their corresponding location under $CRS_HOME. It then starts the CRS daemons. You must run this script on each system in the cluster (in the same order as specified by Oracle installer).
#cd $CRS_HOME/install
#./root102.sh
-
Verify that CRS daemons are up on systems in the cluster. The command, crs_stat, should list all the CRS resources.
# $CRS_HOME/bin/crs_stat -t
To install 10.2.0.2 Oracle database Software
-
Make sure CRS is running on all the nodes.
-
Refer to Oracle 10.2.0.2 Patch note and apply the patch to Oracle binaries.
-
Run root.sh script at the end of the patch installation as instructed by Oracle.
-
Relink the Oracle libraries.
See Relinking the SF Oracle RAC libraries to Oracle