Adop RUP 10 - Skip worker

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Adop RUP 10 - Skip worker

satish
This post was updated on .
Dear Erman,

Dear Erman,

We are upgrading R12.1.3 to R12.2.10.
We are applying RUP 10 as instructed in downtime mode using below command.

[applcrp@sssterpdev1 R122]$ ls
EBSapps.env  fs1  fs2  fs_ne
[applcrp@sssterpdev1 R122]$ . ./EBSapps.env

  E-Business Suite Environment Information
  ----------------------------------------
  RUN File System           : /u01/CRP/R122/fs1/EBSapps/appl
  PATCH File System         : /u01/CRP/R122/fs2/EBSapps/appl
  Non-Editioned File System : /u01/CRP/R122/fs_ne


  DB Host: sssterpdev1.ssst.org  Service/SID: SSSEBSTR


  E-Business Suite Environment Setting
  ------------------------------------
  - Enter [R/r] for sourcing Run File System Environment file, or
  - Enter [P/p] for sourcing Patch File System Environment file, or
  - Enter anything else to exit

  Please choose the environment file you wish to source [R/P]:R

  Sourcing the RUN File System ...

[applcrp@sssterpdev1 R122]$ adop phase=apply apply_mode=downtime patches=30399999 patchtop=/u01/CRP/R122/fs_ne/EBSapps/patch abandon=yes

: : :

===========================================================================
ADOP (C.Delta.12)
Session ID: 2
Node: sssterpdev1
Phase: apply
Log: /u01/CRP/R122/fs_ne/EBSapps/log/adop/2/20230227_064531/adop.log
===========================================================================

Applying patch 30399999.
    Log: /u01/CRP/R122/fs_ne/EBSapps/log/adop/2/20230227_064531/apply/sssterpdev1/30399999/log/u30399999.log

AutoPatch error:

Error running SQL and EXEC commands in parallel


You should check the file
/u01/CRP/R122/fs_ne/EBSapps/log/adop/2/20230227_064531/apply/sssterpdev1/30399999/log/u30399999.log

for errors.

    [UNEXPECTED]Error occurred executing "adpatch  abandon=yes restart=no workers=16   options=hotpatch     console=no interactive=no  defaultsfile=/u01/CRP/R122/fs1/EBSapps/appl/admin/SSSEBSTR/adalldefaults.txt patchtop=/u01/CRP/R122/fs_ne/EBSapps/patch/30399999 driver=u30399999.drv logfile=u30399999.log"
    [UNEXPECTED]Refer to the log files for more information.
    [UNEXPECTED]Apply phase has failed.


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 1 (Fail)
[applcrp@sssterpdev1 R122]$



We opened another sesison
[applcrp@sssterpdev1 u01]$ cd /u01/CRP/R122/
[applcrp@sssterpdev1 R122]$ ls
EBSapps.env  fs1  fs2  fs_ne
[applcrp@sssterpdev1 R122]$ . ./EBSapps.env

  E-Business Suite Environment Information
  ----------------------------------------
  RUN File System           : /u01/CRP/R122/fs1/EBSapps/appl
  PATCH File System         : /u01/CRP/R122/fs2/EBSapps/appl
  Non-Editioned File System : /u01/CRP/R122/fs_ne


  DB Host: sssterpdev1.ssst.org  Service/SID: SSSEBSTR


  E-Business Suite Environment Setting
  ------------------------------------
  - Enter [R/r] for sourcing Run File System Environment file, or
  - Enter [P/p] for sourcing Patch File System Environment file, or
  - Enter anything else to exit

  Please choose the environment file you wish to source [R/P]:R

  Sourcing the RUN File System ...

[applcrp@sssterpdev1 R122]$ adctrl


I am trying to skip the failed worker but failed patch is unable to progress.

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

     1.    Show worker status

     2.    Tell worker to restart a failed job

     3.    Tell worker to quit

     4.    Tell manager that a worker failed its job

     5.    Tell manager that a worker acknowledges quit

     6.    Restart a worker on the current machine

     7.    Exit







Enter your choice [1] : 1


        Control
Worker  Code      Context            Filename                    Status
------  --------  -----------------  --------------------------  --------------
     1  Done      AutoPatch R120     MSDODPCODE.sql              FAILED
     2  Done      AutoPatch R120                                 Wait
     3  Done      AutoPatch R120                                 Wait
     4  Done      AutoPatch R120                                 Wait
     5  Done      AutoPatch R120                                 Wait
     6  Done      AutoPatch R120                                 Wait
     7  Done      AutoPatch R120                                 Wait
     8  Done      AutoPatch R120                                 Wait
     9  Done      AutoPatch R120                                 Wait
    10  Done      AutoPatch R120                                 Wait
    11  Done      AutoPatch R120                                 Wait
    12  Done      AutoPatch R120                                 Wait
    13  Done      AutoPatch R120                                 Wait
    14  Done      AutoPatch R120                                 Wait
    15  Done      AutoPatch R120                                 Wait
    16  Done      AutoPatch R120                                 Wait

Review the messages above, then press [Return] to continue.

                    AD Controller Menu
     ---------------------------------------------------

     1.    Show worker status

     2.    Tell worker to restart a failed job

     3.    Tell worker to quit

     4.    Tell manager that a worker failed its job

     5.    Tell manager that a worker acknowledges quit

     6.    Restart a worker on the current machine

     7.    Exit







Enter your choice [1] : 8

Enter the worker number(s)/range(s) or 'all' for all workers,
or press [Return] to go back to the menu : 1

Status changed to 'Skip & restart' for worker 1.
Review the messages above, then press [Return] to continue.

Enter your choice [1] : 1


        Control
Worker  Code      Context            Filename                    Status
------  --------  -----------------  --------------------------  --------------
     1  Done      AutoPatch R120     MSDODPCODE.sql              Skip & restart
     2  Done      AutoPatch R120                                 Wait
     3  Done      AutoPatch R120                                 Wait
     4  Done      AutoPatch R120                                 Wait
     5  Done      AutoPatch R120                                 Wait
     6  Done      AutoPatch R120                                 Wait
     7  Done      AutoPatch R120                                 Wait
     8  Done      AutoPatch R120                                 Wait
     9  Done      AutoPatch R120                                 Wait
    10  Done      AutoPatch R120                                 Wait
    11  Done      AutoPatch R120                                 Wait
    12  Done      AutoPatch R120                                 Wait
    13  Done      AutoPatch R120                                 Wait
    14  Done      AutoPatch R120                                 Wait
    15  Done      AutoPatch R120                                 Wait
    16  Done      AutoPatch R120                                 Wait

Review the messages above, then press [Return] to continue.


No progress in failed patch session..it just stays with failed status

===========================================================================

Applying patch 30399999.
    Log: /u01/CRP/R122/fs_ne/EBSapps/log/adop/2/20230227_064531/apply/sssterpdev1/30399999/log/u30399999.log

AutoPatch error:

Error running SQL and EXEC commands in parallel


You should check the file
/u01/CRP/R122/fs_ne/EBSapps/log/adop/2/20230227_064531/apply/sssterpdev1/30399999/log/u30399999.log

for errors.

    [UNEXPECTED]Error occurred executing "adpatch  abandon=yes restart=no workers=16   options=hotpatch     console=no interactive=no  defaultsfile=/u01/CRP/R122/fs1/EBSapps/appl/admin/SSSEBSTR/adalldefaults.txt patchtop=/u01/CRP/R122/fs_ne/EBSapps/patch/30399999 driver=u30399999.drv logfile=u30399999.log"
    [UNEXPECTED]Refer to the log files for more information.
    [UNEXPECTED]Apply phase has failed.


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 1 (Fail)
[applcrp@sssterpdev1 R122]$


We realized that we should nt skip the  worker. Error below

ERROR at line 1:
ORA-33272: Analytic workspace APPS.ODPCODE cannot be opened.
ORA-33288: Another user has incompatible access to analytic workspace
APPS.ODPCODE, and the wait timeout has expired.
ORA-06512: at "SYS.DBMS_AW", line 1067
ORA-06512: at "SYS.DBMS_AW", line 1001
ORA-06512: at "APPS.MSD_AW_LOADER", line 19
ORA-06512: at line 3


one of my collegue say to use options=noparallel but this downtime mode is not considering it.

Do we need to go to patch environment and run adctrl? are we missing something.Can you please guide us?


Thanks,
Satish
Reply | Threaded
Open this post in threaded view
|

Re: Adop RUP 10 - Skip worker

satish
SQL> col APPLICATION_NAME for a60
col PRODUCT_CODE for a20
SQL> SELECT a.application_name, a.product_code, DECODE (b.status, 'I', 'Installed', 'S', 'Shared', 'N/A') status, patch_level
FROM apps.fnd_application_vl a, apps.fnd_product_installations b
WHERE a.application_id = b.application_id and a.product_code like 'MSD'
order by product_code asc;
SQL> 2 3 4
APPLICATION_NAME
------------------------------------------------------------
PRODUCT_CODE STATUS PATCH_LEVEL
-------------------- --------- ------------------------------
Demand Planning
MSD N/A R12.MSD.C
Reply | Threaded
Open this post in threaded view
|

Re: Adop RUP 10 - Skip worker

ErmanArslansOracleBlog
Administrator
noparallel option seems logical. (because you have "ORA-33288: Another user has incompatible access to analytic workspace") -- it is already documented -> ORA-33272: Analytic Workspace ODPCODE Cannot be Opened Error When Installing Patch 4398235 (Doc ID 462412.1)

But it is for adpatch.. For earlier releases..

There is an instruction in MOS.. You can give it a try...

MSDODPCODE.sql is for product removed from the system starting in 12.2.5
This file does not need to be run at all.

Open your merged driver file
Find line that executes MSDODPCODE.sql and comment out this line by putting # in front
Retry patching.

Ref: Upgrading 11.5 to 12 MSDODPCODE.sql or FPAMAIN.sql Fail OLAP Express APPS.ODPCODE Analytical Workspace (Doc ID 1319007.1)
Reply | Threaded
Open this post in threaded view
|

Re: Adop RUP 10 - Skip worker

satish
Dear Erman,

Thanks for the update.

Can we comment all these entries in patch driver?

[applcrp@sssterpdev1 30399999]$ grep MSDODPCODE.sql u30399999.drv
      copy      msd      patch/115/sql             MSDODPCODE.sql 120.19.12020000.9
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(115.17.11510.10=120.7.12010000.2):msd:patch/115/sql:MSDAGGVARS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDAGINSTALL.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.8.12000000.3=120.10)(120.9.12010000.4=120.11):msd:patch/115/sql:MSDALLOCGEN.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.13.12000000.3=120.16)(120.15.12010000.3=120.17):msd:patch/115/sql:MSDAPLCOMPETEV.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.12.12010000.3=120.13):msd:patch/115/sql:MSDAPLCOMPULEV.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.12.12000000.3=120.15)(120.14.12010000.3=120.16):msd:patch/115/sql:MSDAPLNPIEV.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.6.12010000.3=120.8):msd:patch/115/sql:MSDBATCHQUICK.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.2.12000000.3=120.4)(120.3.12010000.2=120.4)(120.3.12010000.3=120.5):msd:patch/115/sql:MSDBLDPERSDRV.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.5.12010000.2=120.6):msd:patch/115/sql:MSDCALCDPNVARS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCLEANDIMVALS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCLHISTGET.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCLOG.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.3.12010000.2=120.2.12020000.2):msd:patch/115/sql:MSDCMINITGEN.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.4.12010000.1=120.3.12020000.2):msd:patch/115/sql:MSDCMRUNGEN.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCOLLECT.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCONV1333DAT.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCONV1335PUB.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDCSTCOPY.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDDDPERSAGG.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.2.12010000.2=120.4):msd:patch/115/sql:MSDDELETEAGG.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.2.12010000.3=120.3):msd:patch/115/sql:MSDDPBLDPERS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.7.12010000.6=120.11):msd:patch/115/sql:MSDDSCONVERTPRG.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.8.12010000.6=120.12):msd:patch/115/sql:MSDDSVERSIONS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDDTREEUNPARSE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.3.12010000.2=120.5):msd:patch/115/sql:MSDFETCHRATES.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.13.12010000.6=120.18):msd:patch/115/sql:MSDFILEBLDPERS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDFINDDATE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.3.12010000.2=120.5):msd:patch/115/sql:MSDGENDDDIMS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.4.12010000.2=120.6):msd:patch/115/sql:MSDGENFPRD.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDGENITEMKEY.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDGENTIMSEQ.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(115.1.11510.2=120.2.12010000.2):msd:patch/115/sql:MSDGETAGGMETH.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDGETBASE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.12.12000000.3=120.14)(120.13.12010000.3=120.14.12020000.2):msd:patch/115/sql:MSDGETREPORT.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDGOVERNOR.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDGROUP4.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.5.12000000.3=120.7)(120.6.12010000.3=120.8):msd:patch/115/sql:MSDINITSELECTION.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.7.12000000.3=120.9)(120.8.12010000.2=120.9):msd:patch/115/sql:MSDINITSHELL.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDINTLPHRASE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDLDSTRMDEFS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDMSCOPY.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDMSCOPYLOCKD.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.6.12000000.4=120.9)(120.8.12010000.3=120.10):msd:patch/115/sql:MSDNPIALLOC.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.28.12010000.7=120.33):msd:patch/115/sql:MSDODPCDEVERSION.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDORACLESTATS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDOSTARTUP.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDPLARCHIVE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDPLRESTORE.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.2.12010000.2=120.4):msd:patch/115/sql:MSDPMDELETEAGG.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDPOPMEASURES.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDPOPPRICEINC.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.10.12000000.5=120.17)(120.14.12010000.3=120.17):msd:patch/115/sql:MSDPPWS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.3.12010000.2=120.4):msd:patch/115/sql:MSDRENAMEVARPT.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.2.12010000.3=120.4.12020000.2):msd:patch/115/sql:MSDSAVEFLDR.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDSETPAGESTAT.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDSUBMITPERS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile:msd:patch/115/sql:MSDVERIFYOBJS.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.8.12010000.5=120.12):msd:patch/115/sql:MSDWKSALLOC.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat checkfile(120.12.12010000.2=120.14):msd:patch/115/sql:MSDWKSRECALC.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat+60 checkfile(120.0.12010000.2=120.1):msd:patch/115/sql:MSDGETFOLDER.sql
      sql msd patch/115/sql MSDODPCODE.sql none none none sqlplus &phase=dat+60 checkfile:msd:patch/115/sql:MSDREPAIRSEL.sql
      # file-version-parsed msd patch/115/sql MSDODPCODE.sql 120.19.12020000.9
      # noexec msd patch/115/sql MSDODPCODE.sql


OR

Just execute the below statement and retry the failed worker.

SQL>exec dbms_aw.AW_ATTACH('ODPCODE',true,true,'wait')

Please guide

Thanks,
Satish
Reply | Threaded
Open this post in threaded view
|

Re: Adop RUP 10 - Skip worker

ErmanArslansOracleBlog
Administrator
Please read my previous reply carefully.

Note that;
the risk is yours.. If you want to be safe, create an SR, and ask this question to Oracle.
I 'm not an authority, who can tell you how to modify Oracle patches..
I just gave you my comment and guidance.

Revisiting my reference below:

->>

There is an instruction in MOS.. You can give it a try...

MSDODPCODE.sql is for product removed from the system starting in 12.2.5
This file does not need to be run at all.

Open your merged driver file
Find line that executes MSDODPCODE.sql and comment out this line by putting # in front
Retry patching.

Ref: Upgrading 11.5 to 12 MSDODPCODE.sql or FPAMAIN.sql Fail OLAP Express APPS.ODPCODE Analytical Workspace (Doc ID 1319007.1)