Applying DB PSU 11.2.0.1.6 (12419378 ) Patch
To install the PSU 11.2.0.1.6 patch, the Oracle home must have the 11.2.0.1.0 Database installed. Subsequent PSU patches can be installed on Oracle Database 11.2.0.1.0 or any PSU with a lower 5th numeral version than the one being installed.The actual patch needs to be downloaded from MOS and the one I used was for Linux -
Patch Name - p12419378_112010_LINUX_11.2.0.1.6(PSU)
You must use the Opatch utility version 11.2.0.1.3 or later to apply this patch. Oracle recommends that you use the latest released OPatch 11.2, which is available for download from My Oracle Support patch 6880880 by selecting the 11.2.0.0.0 release.
For updating OPatch to latest version pls check the following note -
<http://handsonoracle.blogspot.in/2012/05/apply-psu-5-for-11gr2-grid-and-rac-11.html>
If you are installing the PSU to an environment that has a Grid Infrastructure home, note the following:
-- Database PSU 11.2.0.1.6 should only be applied to the Database home using the instructions contained in the patch readme file
-- 11.2.0.1.2 Grid Infrastructure PSU <<Patch 9655006>> should be applied to the Grid Infrastructure home using the readme instructions provided with that patch.
To apply GI PSU 9655006 check the following note -
<http://handsonoracle.blogspot.in/2012/11/applying-gi-psu-11.html>
Once you have all the pre-requisite checked you can install this patch in rolling mode. I'm implementing this on single node cluster for the demonstration purpose. However the same method can be used for multi-nodes as well.
To do the rolling upgrade, you have to leave the CRS Stack running on the node to be patched and OPatch will automatically shut down that stack during patching and will restart it after patch.
Since this PSU is meant for RAC Binaries you have to shutdown all instances and services running out of this home.
Detailed instructions are as follows..
[root@appsractest oracle]# sudo su - oracle
[oracle@appsractest ~]$ export PATH=$PATH:/u01/app/oracle/product/11.0/db_1/OPatch
[oracle@appsractest ~]$ which opatch
/u01/app/oracle/product/11.0/db_1/OPatch/opatch
[oracle@appsractest ~]$ cd /u01/app/grid/11.0/12419378/
[oracle@appsractest 12419378]$ ll
total 60
drwxr-xr-x 3 oracle oinstall 4096 Jul 8 2011 custom
drwxr-xr-x 4 oracle oinstall 4096 Jul 8 2011 etc
drwxr-xr-x 12 oracle oinstall 4096 Jul 8 2011 files
-rwxr-xr-x 1 oracle oinstall 2871 Jul 8 2011 patchmd.xml
-rw-rw-r-- 1 oracle oinstall 40790 Jul 18 2011 README.html
-rw-r--r-- 1 oracle oinstall 21 Jul 8 2011 README.txt
[oracle@appsractest 12419378]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.0/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.0/db_1/oraInst.loc
OPatch version : 11.2.0.3.0
OUI version : 11.2.0.1.0
Log file location : /u01/app/oracle/product/11.0/db_1/cfgtoollogs/opatch/12419378_Nov_07_2012_10_28_01/apply2012-11-07_10-28-00AM_1.log
Applying interim patch '12419378' to OH '/u01/app/oracle/product/11.0/db_1'
Verifying environment and performing prerequisite checks...
Patch 12419378: Optional component(s) missing : [ oracle.client, 11.2.0.1.0 ]
Interim patch 12419378 is a superset of the patch(es) [ 9654983 ] in the Oracle Home
OPatch will roll back the subset patches and apply the given patch.
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.0/db_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Backing up files...
Rolling back interim patch '9654983' from OH '/u01/app/oracle/product/11.0/db_1'
Patching component oracle.rdbms.rsf, 11.2.0.1.0...
Patching component oracle.rdbms.dbscripts, 11.2.0.1.0...
Patching component oracle.rdbms, 11.2.0.1.0...
Patching component oracle.oraolap, 11.2.0.1.0...
Patching component oracle.rdbms.deconfig, 11.2.0.1.0...
Patching component oracle.javavm.server, 11.2.0.1.0...
Patching component oracle.precomp.common, 11.2.0.1.0...
Patching component oracle.network.rsf, 11.2.0.1.0...
Patching component oracle.network.listener, 11.2.0.1.0...
RollbackSession removing interim patch '9654983' from inventory
OPatch back to application of the patch '12419378' after auto-rollback.
Patching component oracle.rdbms.rsf, 11.2.0.1.0...
Patching component oracle.rdbms.dbscripts, 11.2.0.1.0...
Patching component oracle.rdbms, 11.2.0.1.0...
Patching component oracle.oraolap, 11.2.0.1.0...
Patching component oracle.rdbms.deconfig, 11.2.0.1.0...
Patching component oracle.javavm.server, 11.2.0.1.0...
Patching component oracle.precomp.common, 11.2.0.1.0...
Patching component oracle.network.rsf, 11.2.0.1.0...
Patching component oracle.network.listener, 11.2.0.1.0...
Patching component oracle.rdbms.dv.oc4j, 11.2.0.1.0...
Patching component oracle.sdo.locator, 11.2.0.1.0...
Patching component oracle.sysman.console.db, 11.2.0.1.0...
Patching component oracle.sysman.oms.core, 10.2.0.4.2...
Patching component oracle.rdbms.dv, 11.2.0.1.0...
Patching component oracle.rdbms.dv, 11.2.0.1.0...
Patching component oracle.xdk.rsf, 11.2.0.1.0...
Patching component oracle.ldap.rsf.ic, 11.2.0.1.0...
Patching component oracle.ldap.rsf, 11.2.0.1.0...
Patching component oracle.sysman.plugin.db.main.repository, 11.2.0.1.0...
Verifying the update...
atch 12419378 successfully applied
Log file location: /u01/app/oracle/product/11.0/db_1/cfgtoollogs/opatch/12419378_Nov_07_2012_10_28_01/apply2012-11-07_10-28-00AM_1.log
OPatch succeeded.
-- Now if you check the OPatch for the applied PSU's you will see something like following.
9352237 12419378 Wed Nov 07 10:46:19 IST 2012 DATABASE PSU 11.2.0.1.1
9654983 12419378 Wed Nov 07 10:46:19 IST 2012 DATABASE PSU 11.2.0.1.2 (INCLUDES CPUJUL2010)
9952216 12419378 Wed Nov 07 10:46:19 IST 2012 DATABASE PSU 11.2.0.1.3 (INCLUDES CPUOCT2010)
12419378 12419378 Wed Nov 07 10:46:19 IST 2012 DATABASE PSU 11.2.0.1.6 (INCLUDES CPUJUL2011)
PNow you just need to load the modified sql in the DB the way you normally load during your CPU apply process and you are done. You jsut applied DB PSU successfully to your Database.
No comments:
Post a Comment