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 patch set
Your cluster should be in following state:
-
Oracle CRS version 10.1.0.3 up and running
-
Oracle database version 10.1.0.3 installed
-
SF Oracle RAC installer (installsfrac -configure galaxy nebula) is waiting on question to stop crs.
If you are continuing in the installer, you are prompted to link Oracleafter installing Oracle 10.1.0.3. Normally Oracle needs to be linked to Storage Foundation Libraries, for which it is mandatory to stop CRS.
To bring the configuration to the desired Oracle patch level:
To apply Oracle 10.1.0.5 patch set
-
Shift the Oracle cluster registry from Cluster Files System to a raw volume. Oracle CRS version 10.1.0.5 has issues with OCR on CFS. To shift the OCR:
-
Stop CRS and all the Oracle processes, if not already stopped.
-
Under the shared disk group for Oracle Cluster Registry, create a raw volume as follows. You must create a new shared disk group if sufficient space is not available in the existing disk group.
# vxassist -g ocrdg make ocrrawvol 100M
-
Assign ownership of the volumes using the vxedit command:
# vxedit -g ocrdg set user=oracle group=oinstall mode=660 ocrraw
-
Start the volume:# vxvol -g ocrdg startall
-
Check the ocr file name and location in /etc/oracle/ocr.loc. The existing ocr file must be copied on the freshly created volume.
For example, if the existing ocr file is at /ocrvote with name ocr copy the ocr as follows.
# dd if=/ocrvote/ocr of=/dev/vx/rdsk/ocrdg/ocrrawvol
-
Back up the existing ocr.loc in /etc/oracle on all cluster nodes:
# cp /etc/oracle/ocr.loc /etc/oracle/ocr.loc.org
-
Change the ocr.loc file to reflect the new location of ocr at ocrconfig_loc. In the example, the new ocr.loc would look similar to:
ocrconfig_loc=/dev/vx/rdsk/ocrdg/ocrrawvol
local_only=FALSE
-
Refer to 10.1.0.5 patch note to apply 10.1.0.5 patch set to Oracle CRS and database.
-
After you have finished applying patch set for 10.1.0.5, link oracle with Storage Foundation libraries.
See Relinking the SF Oracle RAC libraries to Oracle
Applying Oracle 102.0.2 patch set
Your cluster should be in following state:
-
Oracle CRS version 10.2.0.1 up and running
-
Oracle database version 10.2.0.1 installed
-
SF Oracle RAC installer (installsfrac -configure galaxy nebula) is waiting on question to stop crs.
If you are continuing in the installer, you are prompted to link Oracleafter installing Oracle 10.2.0.1. Normally Oracle needs to be linked to Storage Foundation Libraries, for which it is mandatory to stop CRS.
To bring the configuration to the desired Oracle patch level:
To apply Oracle 10.2.0.1 patch set
-
Refer to Oracle 10.2.0.2 Patch note to apply 10.2.0.2 patch set to Oracle CRS and database.
-
Invoke the Storage Foundation installer to relink Oracle:
See Relinking the SF Oracle RAC libraries to Oracle