Prepare Phase:
- Prepares the system for patching cycle.
- Creates the Database Patch Edition
- Validates system configuration
- Check & Submit Concurrent Request 'Online Patching In Progress'(ADZDPATCH)
- Prepare is run on all nodes in a mute-node configuration
- Synchronizes the Run and Patch File System
- If cleanup was not executed in previous adop cycle it will also run Cleanup.
Syntax:
adop phase=prepareApply Phase:
- Patches are applied in this phase.
- Adop internally calls adpatch to apply the patches, but we cannot run adpatch utility as standalone in R12.2 .
- Patches are applied in the Patch Edition.
- Application user are connected to RUN edition and they are not impacted by patching cycle.
- We can apply multiple patches in a patching cycle.
adop phase=apply
Finalize Phase:
- Ready the system for Cutover.
- Compile Invalid objects.
- If we don't run finalize, then the cutover phase will call finalize automatically before doing the actual cutover. But that will increase the downtime window for the cutover.
- Computes any DDL to be executed before the cutover.
adop phase=finalize
Cutover Phase:
- Switches to the patch edition of database and file system.
- In the phase, the system actually goes down.
- All application tier services are stopped and starts after the cutover.
adop phase=cutover
Cleanup Phase:
- Cleans up old edition and objects.
- Recovers space.
Syntax:
adop phase=cleanup
Adop opttions:
https://docs.oracle.com/cd/E26401_01/doc.122/e22954/T202991T531062.htm
{ echo systempasswd; echo appspasswd ; echo weblogicpaswd ; }|adop phase=apply patches=31883479_D:u31883479.drv,31883479_ESA:u31883479.drv,31883479_HR:u31883479.drv,31883479_PL:u31883479.drv,31883479_RU:u31883479.drv,31883479_SK:u31883479.drv apply_mode=downtime merge=yes prompt=no