Tuesday, January 26, 2021

ADOP Cutover Failed

Before starting the ADOP patch cycle,

Run File system: FS1

Patch File System: Fs2

Issue:

Prepare : Completed

Apply : Completed

Finalize: Completed

Cutover: Failed --> After file system switch over completed and while starting Middle Tier it is failed.

set pagesize 200;

set linesize 160;

col PREPARE_STATUS format a15

col APPLY_STATUS format a15

col CUTOVER_STATUS format a15

col ABORT_STATUS format a15

col STATUS format a15

select NODE_NAME,ADOP_SESSION_ID, PREPARE_STATUS , APPLY_STATUS  ,CUTOVER_STATUS , CLEANUP_STATUS , ABORT_STATUS , STATUS 

from AD_ADOP_SESSIONS

order by ADOP_SESSION_ID;

ADOP_SESSION_ID P A C C A S

--------------- - - - - - -

12 Y Y 6 N X F

12 Y Y 5 N X F 

Cutover Statuses:

cutover_status='Y' 'COMPLETED'

cutover_status not in ('N','Y','X') and status='F' 'FAILED'

cutover_status='0' 'CUTOVER STARTED'

cutover_status='1' 'SERVICES SHUTDOWN COMPLETED'

cutover_status='3' 'DB CUTOVER COMPLETED'

cutover_status='D' 'FLIP SNAPSHOTS COMPLETED'

cutover_status='4' 'FS CUTOVER COMPLETED'

cutover_status='5' 'ADMIN STARTUP COMPLETED'  --> Issue occured here

cutover_status='6' 'SERVICES STARTUP COMPLETED'

cutover_status='N' 'NOT STARTED'

cutover_status='X' 'NOT APPLICABLE'

So Cutover Failed, But File system is already switched i.e patch edition (FS2) become run edition and run edition (FS1) become patch.

Run File System: FS2

Patch File System: FS1

Solution:

1. Source the Run edition Env file (FS2 is Run edition here)

2. Shutdown the application services and start only admin server.

3. Run the cutover again, this cutover will not bringdown and brought up any services and also will not flip filesystem again,  It will complete quickly.

adop phase=cutover mtrestart=no

4. Restart tha application services on all nodes.

No comments:

Post a Comment