ADOP Cutover Failed – Scenarios
Scenario – 2
Cutover failed in the middle after DB Cutover but before FS Cutover.
Run File System: FS1
Patch File System: FS2
Scenario:
Prepare – Completed
Apply – Completed
Finalize – Completed
Cutover – Failed - On Primary node cutover went till “FS CUTOVER” and on slave it went till “FLIPSNAPSHOTS” and it was 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 4 N X F
12 Y Y D N X F -- From this output. ADOP Session 12 - Cutover failed because it couldn’t start the Middle tier on Slave Node.
--------------- - - - - - -
12 Y Y 4 N X F
12 Y Y D N X F -- From this output. ADOP Session 12 - Cutover failed because it couldn’t start the Middle tier on Slave Node.
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'
cutover_status='6''SERVICES STARTUP COMPLETED'
cutover_status='N''NOT STARTED'
cutover_status='X''NOT APPLICABLE'
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'
cutover_status='6''SERVICES STARTUP COMPLETED'
cutover_status='N''NOT STARTED'
cutover_status='X''NOT APPLICABLE'
Issue:
On Primary node cutover went till “FS CUTOVER” and on slave it went till “FLIPSNAPSHOTS” and it was failed.
Solution:
Issue was cutover was failed before the FS CUTOVER on slave node. So performed FS CUTOVER manually on failed slave node upon successful run the cutover again.
Step to run FS CUTOVER manually:
1. Stop if any services are started.
2. Source Run edition
3. perl /appl_share/app/appltst1/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPCutOverPhaseCtrlScript.pl -contextfile=/u01/app/appltst1/fs1/inst/apps/$CONTEXT_NAME/appl/admin/$CONTEXT_NAME.xml -patchcontextfile=/u01/app/appltst1/fs2/inst/apps/$CONTEXT_NAME/appl/admin/$CONTEXT_NAME.xml -sessionid=43 -outdir=/appl_share/app/appltst1/fs_ne/EBSapps/log/adop/43/cutover_20180910_014603/$CONTEXT_NAME -action=ctxupdate
Enter the SYSTEM Password:
Enter the APPS Password:
Enter the WLS Admin Password:
4. Source Run edition again and run cutover
Adop phase=cutover
So Now,
Run File System: FS2
Patch File System: FS1For other scenario, please visit
Scenario 1 : Cutover failed before starting Middle tier services.
http://allappsdba.blogspot.com/2017/04/adop-cutover-failed.html