AD online patching is a new feature in EBS R12.2. We have a different command line then adpatch for that feature. Here in this article,I have given a very common and useful 31 adop command line for R12.2
-
- Get examples about adop
adop -examples
- Get help about command line option for adop
adop -help
- Typical online patching cycle:
source <ebs_root>/EBSapps.env run adop phase=prepare adop phase=apply patches=123456 adop phase=finalize adop phase=cutover source <ebs_root>/EBSapps.env run adop phase=cleanup
- Run prepare phase
adop phase=prepare
- Run apply phase
adop phase=apply patches=12797970
- Run Finalize phase
adop phase=finalize
- Run Cutover phase
adop phase=cutover
- Run Cleanup phase
adop phase=cleanup
- Run fs_clone phase
adop phase=fs_clone
- Multiple phases can be executed in a single adop command.Example – combined finalize/cutover/cleanup:
adop phase=finalize,cutover,cleanup
- How to restart the failed adop session incase you want to start from failure
adop phase=apply patches=2375757 restart=yes
- How to restart the failed adop session incase you want to start from the very beginning
adop phase=apply patches=1234 abandon=yes
- If you want to ignore a previously failed patch and apply a different one instead, you need to specify the new patch number and abandon=yes on the command line:
adop phase=apply patches=5868678 abandon=yes
- How to deal with “Continue As If It Were Successful” error:
$ adop phase=apply patches=<patch list> abandon=no restart=yes flags=autoskip
- how to define workers in adop:
$ adop phase=apply patches=<patch list> workers=5
- How to re-apply patch forcefully:
$ adop phase=apply patches=<patch list> options=forceapply
- How to define patchtop in adop:
$ adop phase=apply patches=<patch list> patchtop=<patch location base>
- How to merge patch in adop
$ adop phase=apply patches=<patch list> merge=yes
- How to stop application from restarting after cutover
adop phase=cutover mtrestart=no
- adop exit incase of failure in jobs. If you want it to wait for action through adctrl
adop phase=apply patches=123456 wait_on_failed_job=yes
- How to apply patch directly to run file system with no downtime
$ adop phase=apply patches=<patch_list> hotpatch=yes
- How apply a single patch to an NLS installation
This procedure assumes that you will apply US and language patches separately. a. Use adop to start a new patching cycle adop phase=prepare b. Use adop to apply the patch driver of the US patch. adop phase=prepare patches=123456 c. Use adop to apply the patch drivers of each NLS patch. If you have merged the individual NLS patches for a system that runs multiple languages, apply the driver for the merged NLS patch. adop phase=apply patches=123456_JA:u123456.drv workers=8 d. Use adop to complete the patching cycle adop phase=finalize, cutover, cleanup phase
- How to apply multiple patches to an NLS installationThis example assumes the system has American English, French, and German installed.
a. Use adop to start a new patching cycle adop phase=prepare b. Use AD Merge Patch to merge the US (American English) patches into a single patch. c. Use AD Merge Patch to merge the French and German patches into a single NLS patch. d. Use adop to apply all drivers of the merged US patch. e. Use adop to apply all drivers of the merged NLS patch. f. Use adop to complete the patching cycle (finalize, cutover, cleanup phases).
- How to apply the Apply hrglobal.drv
adop phase=apply patchtop=$PER_TOP/patch/115 patches=driver:hrglobal.drv workers=8 options=nocopyportion,nogenerateportion,forceapply
- How to apply the xla driver
$ adop phase=apply options=nocopyportion patchtop=$XLA_TOP/patch/115 patches=driver:xla5584908.drv
- How to multiple patches using separate apply commands:
source <ebs_root>/EBSapps.env run adop phase=prepare adop phase=apply patches=4689990 adop phase=apply patches=5789990 adop phase=finalize adop phase=apply patches=5668899 adop phase=finalize adop phase=cutover source <ebs_root>/EBSapps.env run adop phase=cleanup
- How to clean up old version
$ adop phase=prepare $ adop phase=actualize_all $ adop phase=finalize finalize_mode=full $ adop phase=cutover $ adop phase=cleanup cleanup_mode=full
- How to abort the adop patching cycle
$ adop phase=abort,cleanup cleanup_mode=full $ adop phase=fs_clone
- How to validate the system before starting prepare or cutover
adop -validate
- How to find the running online patching cycle
adop -status
- If you want additional details of operations performed:
$ adop -status -detail
Related Articles
Adop(Ad online patching utility) explained R12.2
Downtime and Hotpatch apply mode in adop R12.2
adopmon and adopreports utility R12.2.5
- Get examples about adop
Leave a Reply