ADOP Options in 12.2
ADOP stands for Application DBA Online Patching and this was introduced in EBS R12.2
This is new feature that we can able to patch running system without taking any down time for a significant period of time
ADOP uses dual file system to support online patching
If you want to know all the available options in ADOP, try below command
$adop -examples
To check the status of ADOP session
$adop -status
To get the list of log files along with the snippet of the error message corresponding to each log file try this command
$adopscanlog -latest=yes
Onlilne Patching Cycle: Consists of 5phases which needs to be execute in order.
Source the environment variable
adop phase=prepare
adop phase=apply patches=000000
adop phase=finalize
adop phase=cutover
source the environment variable
adop phase=cleanup
Also multiple phases can be executed in a single adop command
Example: adop phase=finalize,cutover,cleanup
Prior to cutover phase, it is possible to execute additional 'apply' and 'finalize' phases as needed.
Exaple: adop phase=prepare
adop phase=apply patches=000000
adop phase=finalize
adop phase=apply patches=000000
adop phase=cutover
adop phase=cleanup
If you apply any patches after the finalize, you need to run the finalize again before cutover
Parameters applicable to all phases:
workers=<number> Number of parallel workers used to execute tasks. Default value is computed according to CPU cores.
Example: adop phase=prepare workers=8
prompt=(yes/no) [default:yes]
This parameter specifies whether adop should prompt for user input on warnings.
By default adop will ask user whether to continue or exit on some warning messages. If this parameter is set to 'no' adop will remain fully non-iterative, and will continue past any warning messages without user confirmation.
Example: adop phase=cutover prompt=no
Prepare Parameters:
skipsyncerror=(yes/no) [default:no]
This specifies whether to ignore errors that may occur during incremental file system synchronization. This might happen if you applied a patch in the previous patching cycle
Example: adop phase=prepare skipsyncerror=yes
Apply Parameters:
apply=(yes/no) [default:yes]
This parameter controls adop acually applies the patch. In test environment we can use this parameter to complete the patch cycle without applying the patch
Example: adop phase=apply apply=no patches=000000
Apply two patches in series:
adop phase=apply patches=123456,987654
Apply patch to a user-specific directory
patchtop=<directory-name> [default:$PATCH_TOP]
Example: adop phase=apply patches=000000 patchtop=/u01/fs_ne/EBSapps/patches
apply_mode=(online/downtime/hotpatch) [default:online]
Use online mode to apply a patch to the patch edition during an online patching cycle.
Downtime mode to apply a patch to the run edition when services are down.
Hotpatch mode to apply a patch to the run edition when services are up and running. [Use only when Oracle recommends]
Example: adop phase=apply patches=000000 apply_mode=downtime
adop phase=fs_clone
It will check for any pending cleanup actions
It will clone patch file system from run file system
It will check if there are any blocking managed server ports
ADOP stands for Application DBA Online Patching and this was introduced in EBS R12.2
This is new feature that we can able to patch running system without taking any down time for a significant period of time
ADOP uses dual file system to support online patching
If you want to know all the available options in ADOP, try below command
$adop -examples
To check the status of ADOP session
$adop -status
To get the list of log files along with the snippet of the error message corresponding to each log file try this command
$adopscanlog -latest=yes
Onlilne Patching Cycle: Consists of 5phases which needs to be execute in order.
Source the environment variable
adop phase=prepare
adop phase=apply patches=000000
adop phase=finalize
adop phase=cutover
source the environment variable
adop phase=cleanup
Also multiple phases can be executed in a single adop command
Example: adop phase=finalize,cutover,cleanup
Prior to cutover phase, it is possible to execute additional 'apply' and 'finalize' phases as needed.
Exaple: adop phase=prepare
adop phase=apply patches=000000
adop phase=finalize
adop phase=apply patches=000000
adop phase=cutover
adop phase=cleanup
If you apply any patches after the finalize, you need to run the finalize again before cutover
Parameters applicable to all phases:
workers=<number> Number of parallel workers used to execute tasks. Default value is computed according to CPU cores.
Example: adop phase=prepare workers=8
prompt=(yes/no) [default:yes]
This parameter specifies whether adop should prompt for user input on warnings.
By default adop will ask user whether to continue or exit on some warning messages. If this parameter is set to 'no' adop will remain fully non-iterative, and will continue past any warning messages without user confirmation.
Example: adop phase=cutover prompt=no
Prepare Parameters:
skipsyncerror=(yes/no) [default:no]
This specifies whether to ignore errors that may occur during incremental file system synchronization. This might happen if you applied a patch in the previous patching cycle
Example: adop phase=prepare skipsyncerror=yes
Apply Parameters:
apply=(yes/no) [default:yes]
This parameter controls adop acually applies the patch. In test environment we can use this parameter to complete the patch cycle without applying the patch
Example: adop phase=apply apply=no patches=000000
Apply two patches in series:
adop phase=apply patches=123456,987654
Apply patch to a user-specific directory
patchtop=<directory-name> [default:$PATCH_TOP]
Example: adop phase=apply patches=000000 patchtop=/u01/fs_ne/EBSapps/patches
apply_mode=(online/downtime/hotpatch) [default:online]
Use online mode to apply a patch to the patch edition during an online patching cycle.
Downtime mode to apply a patch to the run edition when services are down.
Hotpatch mode to apply a patch to the run edition when services are up and running. [Use only when Oracle recommends]
Example: adop phase=apply patches=000000 apply_mode=downtime
adop phase=fs_clone
It will check for any pending cleanup actions
It will clone patch file system from run file system
It will check if there are any blocking managed server ports
1 comment:
Wonderfully explained to apply patch using adop online patch
Post a Comment