Applying SOA Bundle Patch 20423535: PS6 Bundle Patch 7 (11.1.1.7.7) and OSB Bundle Patch 20423630: PS6 Bundle Patch 4 (11.1.1.7.4)
I) Applying SOA Bundle Patch 20423535: PS6 Bundle Patch 7 (11.1.1.7.7)
----------------------------------------------------------------------------------------------------
- Before applying patch, run below on soa_111 & oracle_common home to ensure that the patch is not already applied. You may also check for conflicts with existing patches.
opatch apply -report
- Stop services & take cold backup
Download the patch & copy to staging area.
cd /stage/20423535
i) Apply Patch 20423535 on soa_111 home
----------------------------------------------------------
export ORACLE_HOME=/instance_name/fmw/product/111/soa_111
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
---------------------
opatch lsinventory|grep 20423535
ii) Apply Patch 20423535 on oracle_common home
--------------------------------------------------------------------
export ORACLE_HOME=/instance_name/fmw/product/111/oracle_common
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
---------------------------
opatch lsinventory|grep 20423535
II) Applying OSB Bundle Patch 20423630: PS6 Bundle Patch 4 (11.1.1.7.4)
-----------------------------------------------------------------------------------------------------
- Before applying patch, run below on osb_111 home to ensure that the patch is not already applied
- Stop services & take cold backup
Download the patch & copy to staging area.
cd /stage/20423630
opatch apply -report
export ORACLE_HOME=/instance_name/fmw/product/111/osb_111
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
--------------------
opatch lsinventory|grep 20423630
III) Post Patching
-------------------
Move tmp and cache for Admin and each managed server
-----------------------------------------------------
cd /instance_name/admin/user_projects/soa_domain/servers/
mv tmp tmp_<date>
mv cache cache_<date>
Move the application staging area for each managed server
---------------------------------------------------------
Location of staging area: domain_home/servers/osb_server1/stage.
PLEASE NOTE: If staging directory for each managed server is not deleted, then the patch will not take effect & the server may not even start successfully.
Once server started, verify if the stage directory has got recreated.
cd /instance_name/admin/user_projects/soa_domain/bin
Configure setDomainEnv.sh
-------------------------
Take a backup of setDomainEnv.sh and add the below line appropriately
EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES}
-Dcom.bea.wli.sb.pipeline.RouterRuntimeCache.preload=true"
export EXTRA_JAVA_PROPERTIES
Start the services & ensure all urls work fine & no post patch errors seen in the logs.
I) Applying SOA Bundle Patch 20423535: PS6 Bundle Patch 7 (11.1.1.7.7)
----------------------------------------------------------------------------------------------------
- Before applying patch, run below on soa_111 & oracle_common home to ensure that the patch is not already applied. You may also check for conflicts with existing patches.
opatch apply -report
- Stop services & take cold backup
Download the patch & copy to staging area.
cd /stage/20423535
i) Apply Patch 20423535 on soa_111 home
----------------------------------------------------------
export ORACLE_HOME=/instance_name/fmw/product/111/soa_111
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
---------------------
opatch lsinventory|grep 20423535
ii) Apply Patch 20423535 on oracle_common home
--------------------------------------------------------------------
export ORACLE_HOME=/instance_name/fmw/product/111/oracle_common
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
---------------------------
opatch lsinventory|grep 20423535
II) Applying OSB Bundle Patch 20423630: PS6 Bundle Patch 4 (11.1.1.7.4)
-----------------------------------------------------------------------------------------------------
- Before applying patch, run below on osb_111 home to ensure that the patch is not already applied
- Stop services & take cold backup
Download the patch & copy to staging area.
cd /stage/20423630
opatch apply -report
export ORACLE_HOME=/instance_name/fmw/product/111/osb_111
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch apply
Verify patch applied
--------------------
opatch lsinventory|grep 20423630
III) Post Patching
-------------------
Move tmp and cache for Admin and each managed server
-----------------------------------------------------
cd /instance_name/admin/user_projects/soa_domain/servers/
mv tmp tmp_<date>
mv cache cache_<date>
Move the application staging area for each managed server
---------------------------------------------------------
Location of staging area: domain_home/servers/osb_server1/stage.
PLEASE NOTE: If staging directory for each managed server is not deleted, then the patch will not take effect & the server may not even start successfully.
Once server started, verify if the stage directory has got recreated.
cd /instance_name/admin/user_projects/soa_domain/bin
Configure setDomainEnv.sh
-------------------------
Take a backup of setDomainEnv.sh and add the below line appropriately
EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES}
-Dcom.bea.wli.sb.pipeline.RouterRuntimeCache.preload=true"
export EXTRA_JAVA_PROPERTIES
Start the services & ensure all urls work fine & no post patch errors seen in the logs.
No comments:
Post a Comment