Monday 30 June 2014

ADOP Basic Questions & Answers


What is the concept of ADOP in R12?

Online patching is the most important new feature in Oracle E-Business Suite Release 12.2. It is the ability to patch a running system without having to take the system down for a significant period of time while the patches are applied.

‘adop’ is the utility you use to apply application patches in R12.2

 Note: Once you enable ADOP on R12.2 system you cannot use adpatch utility



What is the patch directory in R12.2


In R12.2 there is a new directory location environment variable called $PATCH_TOP which points to  $NE_BASE/EBSapps/patch
$NE_BASE points to <Non-Editioned-filesystem-directory> or you can use $APPL_TOP_NE/..

Download the patch into the patch top directory and unzip it. This is the default location where the adop will look for patch files.

If you want to use other directory to maintain the patches   then you need to use the below parameter while applying the ADOP.

i.e. adop phase=apply patchtop=/u01/R122_Patches/<Patch_number>


From which  location to ADOP command to execute?

We always run adop utility from the run edition file system. The adop process automatically sets its environment correctly, regardless of the edition it is run from.

RUN


How to findout on which environment we logged in?

When you set the environment file as soon as you logged in as “applmgr” it prompts  RUN/ PATCH Files system with full location and also prompts select the required files system

 
[root@R12test ~]# su - appltest

   E-Business Suite Environment Information


  RUN File System           : /u01/oracle/testappl/fs1/EBSapps/appl

  PATCH File System         : /u01/oracle/testappl/fs2/EBSapps/appl

  Non-Editioned File System : /u01/oracle/testappl/fs_ne

  DB Host: oadbph.mfc.corp.mckee.com  Service/SID: TEST

  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





What happens when ADOP command is executed ?

adop will perform all the tasks required to apply the patch:

Ø  Reads patch metadata to determine patch dependencies and requirements

Ø  Attempt to recover previously failed patching session (if any)

Ø  Reads and validate the patch/product driver files

Ø  Compares version numbers of existing files against the patch files and Backs up all existing files that will be changed by the patch

Ø  Copies files

Ø  Archive files in libraries

Ø  Relinks executables, Generates forms, reports, messages, graphics, and Java archive (JAR) files

Ø  Compiles JSP files and invalid database objects. Updates database objects

Ø  Runs AutoConfig if required

Ø  Saves patch information to the database


Can we merge applications patches apply in R12.2?

 Yes,  but the application of merge patches are different as ADOP utility itself has a feature of merging multiple patches.

In earlier EBS releases, the AD Merge Patch tool was used to merge multiple patches into a single patch, so that the common tasks only needed to be performed once.



By default, adop will automatically merge all patches specified with the ‘patches’ parameter.

You can still use earlier AD Merge Patch tool but you should disable adop’s merging of patches, by adding to the adop command line > ‘merge=no’

Eg:   adop phase=apply patches= 18471329, 18132674….

Note: You can give any number of patches and with comma separated value and apply them in a single command shown above.









No comments:

Post a Comment