1. Download the corresponding patch from Oracle My
Oracle Support (MOS) site
2. Extract into some
stage directory. In my case, I have extracted to below directory.
- /opt/app/oracle/soa_bp_12.1.3.2/20423408
- This patch (number: 20423408)
is for upgrade the SOA12.1.3.0 to 12.1.3.2 bundle patch.
3. Follow the below
instructions.
- Stop all services which are
associated to SOA Oracle home. Below is the Oracle home in my SOA 12c
environment.
- ORACLE_HOME
= /opt/app/oracle/middleware
- Set Java Home
- export
JAVA_HOME=/opt/app/oracle/jdk
- export
PATH=$JAVA_HOME/bin:$PATH
3. Set Oracle Home
- ORACLE_HOME=/opt/app/oracle/middleware
- export
PATH=$ORACLE_HOME/OPatch:$PATH
4. Verify the Java_Home & Oracle_Home pointing to
right directory and also check the opatch location pointing to correct
ORACLE_HOME.
o
$ which opatch
o
/opt/app/oracle/middleware/OPatch/opatch
5. Then go to downloaded directory (/opt/app/oracle/soa_bp_12.1.3.2/20423408)
and apply the patch using opatch. Before running check the ‘lsinventory’.
[oracle@mySOAHost01 oracle]$ opatch lsinventory -jre
/opt/app/oracle/jdk/jre
Oracle Interim Patch Installer version 13.2.0.0.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.
Oracle Home
: /opt/app/oracle/middleware
Central Inventory : /opt/app/oracle/oraInventory
from :
/opt/app/oracle/middleware/oraInst.loc
OPatch version
: 13.2.0.0.0
OUI version
: 13.2.0.0.0
Log file location :
/opt/app/oracle/middleware/cfgtoollogs/opatch/opatch2015-06-20_05-54-49AM_1.log
OPatch detects the Middleware Home as
"/opt/app/oracle/middleware"
Jun 20, 2015 5:55:08 AM
oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created command with access
level 0
Lsinventory Output file location :
/opt/app/oracle/middleware/cfgtoollogs/opatch/lsinv/lsinventory2015-06-20_05-54-49AM.txt
--------------------------------------------------------------------------------
There are no Interim patches installed in this Oracle
Home.
--------------------------------------------------------------------------------
OPatch succeeded.
6. Run the opatch.
[oracle@mySOAHost01 oracle]$ cd soa_bp_12.1.3.2/20423408/
[oracle@mySOAHost01 20423408]$ opatch apply
Oracle Interim Patch Installer version 13.2.0.0.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.
Oracle Home :
/opt/app/oracle/middleware
Central Inventory : /opt/app/oracle/oraInventory
from :
/opt/app/oracle/middleware/oraInst.loc
OPatch version :
13.2.0.0.0
OUI version :
13.2.0.0.0
Log file location :
/opt/app/oracle/middleware/cfgtoollogs/opatch/20423408_Jun_20_2015_06_00_47/apply2015-06-20_06-00-32AM_1.log
OPatch detects the Middleware Home as
"/opt/app/oracle/middleware"
Jun 20, 2015 6:00:47 AM
oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created with access level 0
Applying interim patch '20423408' to OH
'/opt/app/oracle/middleware'
Verifying environment and performing prerequisite checks...
Patch 20423408: Optional component(s) missing : [
oracle.integration.bpm, 12.1.3.0.0 ] , [ oracle.mft.apache, 12.1.3.0.0 ] , [
oracle.bpm.processspaces, 12.1.3.0.0 ] , [ oracle.bpm.addon, 12.1.3.0.0 ] , [
oracle.mft, 12.1.3.0.0 ] , [ oracle.soa.workflow.wc, 12.1.3.0.0 ] , [
oracle.bpm.plugins, 12.1.3.0.0 ]
All checks passed.
Please shutdown Oracle instances running out of this
ORACLE_HOME on the local system.
(Oracle Home = '/opt/app/oracle/middleware')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Patching component oracle.rcu.soainfra, 12.1.3.0.0...
Patching component oracle.rules, 12.1.3.0.0...
Patching component oracle.soa.mgmt, 12.1.3.0.0...
Patching component oracle.integration.bam, 12.1.3.0.0...
Patching component oracle.soa.common.adapters, 12.1.3.0.0...
Patching component oracle.soacommon.plugins, 12.1.3.0.0...
Patching component oracle.integration.soainfra, 12.1.3.0.0...
Verifying the update...
Patch 20423408 successfully applied
Log file location:
/opt/app/oracle/middleware/cfgtoollogs/opatch/20423408_Jun_20_2015_06_00_47/apply2015-06-20_06-00-32AM_1.log
OPatch succeeded.
[oracle@mySOAHost01 20423408]$
7. Now run lsinventory command again and verify the
patch is installed to corresponding Oracle home and start all services. Apply the same patch to other node(s) of SOA Cluster.
No comments:
Post a Comment