Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: adpatch options

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    adpatch options

    adpatch options
    Options marked with multiple stars are more frequently used

    ================================================== ========
    adpatch help=y
    on unix prompt to display all the options.

    adpatch help=y
    usage: adpatch [help=y]

    adpatch Pre-Install Mode
    [preinstall=y|n]

    ***** adpatch Test Mode
    [apply=y|n]


    ***** adpatch Non-Interactive mode
    [defaultsfile=<$APPL_TOP/admin/SID/defaultsfile>]
    [logfile=][interactive=y|n][workers=]
    [patchtop=][driver=][restart=y|n]
    [abandon=y|n][wait_on_failed_job=y|n]

    adpatch
    [localworkers=][workers=]
    [printdebug=y|n][parallel_index_threshold=]
    [order=] [flags=][options=]

    adpatch Upload Patch History From Filesystem
    [uploadph=y|n]
    where

    * help=y - Prints help information about adpatch options.

    * preinstall - To run adpatch in Pre-Install Mode.
    Default - No.

    ***** apply - To run adpatch in Test Mode.
    Default - Yes.

    * uploadph - To upload the patch history from the filesystem to the
    database and exit. This feature can be used when the system
    is not in maintenance mode.
    Default - No.

    * interactive - Invokes adpatch in Non-Interactive mode when
    "interactive=no" is specified.
    Default - Yes.

    Following are usually specified in Non-Interactive Mode, however not all
    are compulsory. Some are also valid for interactive mode.

    ****** defaultsfile - Defaults file name.
    Default - none. No default file read or written.

    ****** logfile - Adpatch log file name.
    Default - none. Adpatch prompts for this value.

    *** workers - Specifies the number of workers to run.
    Default - none. Adpatch prompts for this value.

    * patchtop - Top-level directory for the current patch.
    Default - none. Adpatch prompts for this value.

    * driver - Name of the patch driver file.
    Default - none. Adpatch prompts for this value.

    **** restart - To restart an existing session.
    Default - none. Adpatch prompts for this value.

    * abandon - To abandon the previous failed session.
    Default - No.

    * wait_on_failed_job - To prevent adpatch from exiting, when all
    workers have failed in Non-Interactive Mode.
    Default - No.

    * localworkers - Used in Distributed AD to specify the number of
    workers to be run on the current machine.
    Default - Value specified for workers.

    * printdebug - To display extra debugging information.
    Default - No.

    * parallel_index_threshold - Threshold block count in each table, which when
    exceeded for a table causes its indexes to be
    created using parallel slaves.
    Default - none. Adpatch does not create indexes
    in parallel.

    * order = To organize list of jobs to run in a phase. Default - forward.

    * forward - The order in which jobs are listed in the
    patch driver file.

    * backward - Opposite to how the jobs are listed in the
    patch driver file.

    * flags = Generic flags passed to adpatch

    * hidepw - To omit the "HIDEPW:" comments in the log file.
    Default - hidepw.

    * trace - To log all database operations to a trace file.
    Default - notrace.

    * logging - To create indexes in LOGGING or NOLOGGING mode.
    Default - nologging.

    options = Generic options passed to adpatch.
    ========================================
    * checkfile - To skip running exec, SQL, and exectier
    commands if they are recorded as already run.
    Default - checkfile.

    ***** compiledb - To compile invalid objects in the database after running actions in the database driver.
    Default - compiledb.
    nocompiledb - skip compilation of invalids

    ***** compilejsp - To compile out-of-date JSP files, if the patch has copy actions for at least one JSP file.
    Default - compilejsp.
    nocompilejsp - skip compilation of jsp

    *** copyportion - To run commands found in a copy driver.
    Default - copyportion.
    nocopyportion - skip the c driver

    *** databaseportion - To run commands found in a database driver.
    Default - databaseportion.
    nodatabaseportion - skip the d driver

    *** generateportion - To run commands found in a generate driver.
    Default - generateportion.
    nogenerateportion - skip the g driver

    * integrity - To perform patch integrity checking.
    Default - nointegrity.

    * maintainmrc - To maintain the MRC schema after running
    actions found in the database driver.
    Default - maintainmrc.

    * autoconfig - To run AutoConfig.
    Default - autoconfig.

    * actiondetails - To get the details of actions turned off.
    Default - actiondetails.

    * parallel - To run actions that update the database or
    actions that generate files in parallel.
    Default - parallel.

    ****** prereq - To perform prerequisite patch checking prior
    to running patch driver files.
    Default - prereq.
    * revcache - To load the package revision cache (if adpatch
    determines it is needed).
    Default - revcache.

    * validate - To connect to all registered Oracle Applications schemas at the start of the patch.
    Default - novalidate.

    ****** hotpatch - A patch which can be applied in Normal mode.
    Default - hotpatch.
    eg : adpatch options=hotpatch

    * phtofile - The patch history will be saved to files.
    Default - nophtofile.

+ Reply to Thread

Similar Threads

  1. how to skip an adpatch job in adctrl - use undocumented option 8
    By Amit in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 0
    Last Post: 11-04-2011, 09:49 AM
  2. Opatch Options
    By Hemant in forum Database Installation,Upgrades,Migration,Patching and Cloning
    Replies: 0
    Last Post: 11-02-2011, 02:21 PM
  3. Troubleshooting a Patch Failure - adpatch
    By Hemant in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 0
    Last Post: 11-01-2011, 06:17 PM
  4. Adpatch Fails due to Pre requisite patch in Oracle Apps 11i / R12
    By Hemant in forum Oracle Apps Patching and Cloning, Installation , Migration,Upgrades
    Replies: 0
    Last Post: 10-30-2011, 10:52 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics