adpatch defaultsfile=$APPL_TOP/admin/SUPT/defaults.txt
Using
Defaults file with adpatch (Non Interactive)
How
to create defaults file ?
adpatch
defaultsfile=$APPL_TOP/admin/$SID/defaults.txt ( You can keep this txt file in
any location of your choice)
Now
abort autopatch section at point where it asks for patch directory by ctrl +c
or ctrl+d
Now
check if this file exists
Note
: You have to do above
steps only once in an environment to
create defaults file.
How
to apply patches in future ?
adpatch
defaultsfile=$APPL_TOP/admin/$SID/defaults.txt
Now
any future patches you apply non interactive using defaults file like
adpatch
defaultsfile=$APPL_TOP/admin/$SID/defaults.txt logfile=654321.log
patchtop=/patches/654321 driver=u654321.drv interactive=no
You
will see that it will apply patch by itself using defaults file , adpatch will
pick APP_TOP, ORACLE_HOME information, system password and apps password from
defaults file.
This
will save lot of time & you can reduce your patch timing usign defaults
file
+++++++++Manjunatha+++++++++
No comments:
Post a Comment