Online Patching Steps
in R12.2 (ADOP)
Basics of online
Patching in R12.2
Online patching uses the latest feature of the Oracle database 11gR2 which is called “Edition Based
Redefinition” and also uses multiple file systems on the application side.
While online Patching with adop is in progress, users can use the application and database on RUN Filesystem.
Patch is applied on the alternate filesystem, which is an exact copy of RUN filesystem,called PATCH filesystem.
Users are switched to PATCH filesystem after the patching is complete.
Application is only offline during the Cutover phase.Downtime is now redefined as Cutover.
ADOP Patching Steps
1. Download the patch and unzip in PATCH_TOP directory.
2. Prepare the system for Patching
Source the RUN environment file
cd /test12/applmgr
. ./EBSapps.env RUN
adop phase=prepare
3. Source the PATCH Environment & apply patches:
cd /test12/applmgr
. ./EBSapps.env PATCH
==> Apply patch 19697098
Patch Location: /test12/applmgr/patches
adop phase=apply patchtop=/test12/applmgr/patches patches=19697098
4..Run finalize.
adop phase=finalize
5. Cutover Phase
$ adop phase=cutover
6. Cleanup old editions
$ adop phase=cleanup
7. Synchronize RUN and PATCH filesystems.Start Fs_clone
adop phase=fs_clone
Online patching uses the latest feature of the Oracle database 11gR2 which is called “Edition Based
Redefinition” and also uses multiple file systems on the application side.
While online Patching with adop is in progress, users can use the application and database on RUN Filesystem.
Patch is applied on the alternate filesystem, which is an exact copy of RUN filesystem,called PATCH filesystem.
Users are switched to PATCH filesystem after the patching is complete.
Application is only offline during the Cutover phase.Downtime is now redefined as Cutover.
ADOP Patching Steps
1. Download the patch and unzip in PATCH_TOP directory.
2. Prepare the system for Patching
Source the RUN environment file
cd /test12/applmgr
. ./EBSapps.env RUN
adop phase=prepare
3. Source the PATCH Environment & apply patches:
cd /test12/applmgr
. ./EBSapps.env PATCH
==> Apply patch 19697098
Patch Location: /test12/applmgr/patches
adop phase=apply patchtop=/test12/applmgr/patches patches=19697098
4..Run finalize.
adop phase=finalize
5. Cutover Phase
$ adop phase=cutover
6. Cleanup old editions
$ adop phase=cleanup
7. Synchronize RUN and PATCH filesystems.Start Fs_clone
adop phase=fs_clone
TO CHECK WHETHER PATCH IS APPLIED VIA HOTPATCH OR NOT
set pagesize 200;
set linesize 160;
column adop_session_id format 999999999999;
column bug_number format a15;
column status format a15;
column applied_file_system_base format a23;
column patch_file_system_base format a23;
column adpatch_options format a15;
column node_name format a15;
column end_date format a15;
column clone_status format a15;
select ADOP_SESSION_ID, BUG_NUMBER, STATUS, APPLIED_FILE_SYSTEM_BASE, PATCH_FILE_SYSTEM_BASE, ADPATCH_OPTIONS, NODE_NAME, END_DATE, CLONE_STATUS
from ad_adop_session_patches where BUG_NUMBER='19677937' order by end_date desc;
ADOP_SESSION_ID BUG_NUMBER STATUS APPLIED_FILE_SYSTEM_BAS PATCH_FILE_SYSTEM_BASE ADPATCH_OPTIONS NODE_NAME END_DATE CLONE_STATUS
--------------- --------------- --------------- ----------------------- ----------------------- --------------- --------------- --------------- ---------------
32 19677937 Y /u01//app/oracle/prod/fs hotpatch <HOSTNAME> 27-MAR-14
Above information provides you that it uses session id 32 while applying as well as it applied in Hotpatch mode on so and so date.
No comments:
Post a Comment