R122 Quick Notes
R122 Quick Notes
2 Quick Notes
ADOP Patching:
adop phases:
prepare : Prepare the instance for online patching.
apply : Apply patch(es) to the Patch Edition.
finalize : Ready the instance for cutover.
abort : Abort the patching cycle.
cutover : Promote the Patch Edition to Run Edition.
cleanup : Drop obsolete objects and seed data from Old Editions.
actualize_all : Actualize all objects in the Patch Edition.
cleanup_full : Cleanup and drop Old Editions.
abandon : yes|no - Abandon failed patches.
$ adop phase=prepare
2. Apply technology patches to the Oracle Home under the Patch f/s using the
information below.
3. Apply any Oracle E-Business Suite patches planned for this patching cycle
$ adop phase=finalize
$ adop phase=cutover
Note: Below steps can be done when applications are up and running
$ adop phase=cleanup
6. To complete the process and synchronize the technology level between patch
and run f/s.
$ adop phase=fs_clone
After hotpatch please run phase=cleanup and phase=fs_clone to sync the run fs
with patch fs to prepare for next patching cycle
$ adop phase=abort
$ adop phase=cleanup cleanup_mode=full
$ adop phase=fs_clone
1. Use adctrl and select option#8 (This will not be visible) to skip
thefailed jobs
2. Restart adop using "restart=yes" parameter
** If the failed jobs are numerous, then better to re-start this patch once
again with autoskip option.
This command will restart the patch once again from starting onwards and will
skip all the failures if any comes. But make sure to review the log file at
the end of the patch application that you have skipped the failures that you
want to.
Refer Note:
How to Apply WebLogic Server (WLS) Patches Using Smart Update [Video] (Doc ID
876004.1)
3.cd $FMW_HOME/utils/bsu
To install patch:
./bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -patchlist=7FC9 -verbose -install
To Verify:
./bsu.sh -prod_dir=$FMW_HOME/wlserver_10.3 -status=applied -verbose -view |
grep 7FC9
To Rollback:
./bsu.sh -remove -patchlist=7FC9 -prod_dir=$FMW_HOME/wlserver_10.3 -verbose
We can also apply the Smart Update patch in graphical (GUI) mode.
$ export ORACLE_HOME=$FMW_HOME/webtier
$ export PATH=$ORACLE_HOME/OPatch:$PATH
$ opatch lsinventory
Apply opatch:
$ opatch apply
$ export ORACLE_HOME=$FMW_HOME/oracle_common
$ export PATH=$ORACLE_HOME/OPatch:$PATH
$ opatch lsinventory
Apply opatch:
$ opatch apply
Queries :
Query to check if a patch is applied in
Oracle EBS R12.2.x:
In Oracle E Business Suite (ebs erp) R12.2.x you cannot query the AD_BUGS table to check if
patches have been applied..
The AD_BUGS table may have entries for patches that were applied but later the patching
cycle was aborted (not really applied).
Usage:
select
AD_PATCH.IS_PATCH_APPLIED(\'$release\',\'$appltop_id\',\'$patch_no\',\'$langu
age\')
from dual;
Example sql:
SELECT adb.bug_number,ad_patch.is_patch_applied('11i', 1045, adb.bug_number)
FROM ad_bugs adb
WHERE adb.bug_number in (20034256);
Expected results:
EXPLICIT = applied
NOT APPLIED = not applied / aborted
Note: If you are sure patch is applied, but showing as not applied then do the following
workaround.