Saturday, 7 January 2017

adpatch

Modes of adpatch:  
Interactive mode
Non-Interactive mode
Test mode
Pre-Install mode

Interactive Mode:  
It is the default mode of adpatch when we don’t use anything. We can apply patch in this mode by going into patch directory and simply type adpatch in command prompt and hit enter.

Non-Interactive:
$adpatch Interactive=no (It uses default files to store prompt values and can be applied from patch directory.)

Test Mode:
$adpatch apply=no (This mode is purposely used to check the what exactly patch is doing and will do everything without actually changing anything.)

PreInstall Mode:
$adpatch preinstall=y  (When we apply patch in preinstall mode, it updates all AD utilities befre upgrade or update.)

Adpatch Options:
noautoconfig, nocompiledb, nocopyportion, nocompilejsp, nodatabaseportion, nogenerateportion, hotpatch, nolink, nogenform, nomaintainmrc, noprereq

Default File location:
defaultsfile=$APPL_TOP/admin/$SID/defaults.txt

Stop and resume adpatch:
adctrl, option 3 "Tell worker to shutdown/quit"
Backup FND_INSTALL_PROCESSES, AD_DEFERRED_JOBS
Backup $APPL_TOP/admin/<SID>/restart/(.rf9)
Drop FND_INSTALL_PROCESSES, AD_DEFERRED_JOBS
Remove $APPL_TOP/admin/<SID>/restart/(.rf9)

No comments:

Post a Comment