Restarting ADOP
-------------------
If you have shut down the workers, or if adop quits while performing processing actions, it saves all the actions completed up to that point in restart files.
Investigate and Patching Utilities resolve the problem that caused the failure,
then restart adop.
After you restart adop, it will ask if you want to continue with the previous session
(at the point where the processing stopped), or start a new session.
To restart from beginning, use restart=no abandon=yes
To restart a patch you need to use restart=yes abandon=no .
eg. adop restart=no abandon=yes phase=apply
If still can not restart,
2 Check the contents of the AD_ADOP_SESSIONS and AD_ADOP_SESSION_PATCHES tables
---------------------------------------------------------------------------------------
2.1
column id format 99
column nn format a10
column nt format a6
select adop_session_id id, prepare_status pr, apply_status ap,
finalize_status fi, cutover_status cu, cleanup_status cl, abort_status ab, status st, node_name nn, node_type nt
from ad_adop_sessions
order by adop_session_id desc;
2.2
column id format 99
column bn format a12
column pr format 99999999
column afs format a40
column pfs format a40
column cs format a9
column nn format a10
column ed format a28
column drv format a28
column pt format a35
select adop_session_id id, bug_number bn, patchrun_id pr, status st,
node_name nn, cast(end_date as timestamp) ed, driver_file_name drv, patch_top pt
from ad_adop_session_patches
order by end_date desc;
2.3 explanation example of above output
=========================
Examining the AD_ADOP_SESSIONS table,
ID P A F C C A S NN NT
--- - - - - - - - ---------- ------
3 X P N X N X F test2 master
2 R N N N N Y C test2 master
It looks like the first ADOP cycle (prepare phase) was attempted at session ID 2 and then for some reason it didn't finish and then an abort was initiated which did finish. A new ADOP session (ID 3) was attempted but via hotpatch and it failed. Since this table only reports what went on with ADOP there's no information about adpatch usage, i.e. if it was used before the
first ADOP cycle or in between session 2 and 3, or after session 3.
2.4 To diagnostic further for the root cause why patch application failed, we need adpatch log for the failed patch xxxx.
cd $APPL_TOP_NE/../log/adop/
eg.
/d01/EBS/VIS/fs_ne/EBSapps/log/adop/
3 If you are just wants to start from a fresh page and considering the state of these tables
I would suggest making a manual modification to the AD_ADOP_SESSIONS table just so it would not hold up ADOP execution due to an
incomplete hotpatch session.
Do the following:
update ad_adop_sessions set status='C' where adop_session_id=3;
4 restart adop and retest.
No comments:
Post a Comment