ITPub博客

首页 > Linux操作系统 > Linux操作系统 > EBS adpatch options

EBS adpatch options

原创 Linux操作系统 作者:tolywang 时间:2012-04-13 15:21:43 0 删除 编辑


You can execute adpatch by logging in as the applications OS user and sourcing the appropriate environment file.
 
#su – applmgr
 $cd SAMAPPL
 $. ./APPSORA.env
 $adpatch
 
By default adpatch does not take any clause, but there are some clauses that you could use with adpatch
 
Running a patch in test mode
 You can use the apply clause with adpatch to specify weather to run the patch in TEST mode or not, when you run the patch in  test mode it does not do any changes but runs generates a log fiule with all the actions it would have performed.
 
$adpatch apply=n|y
 The default is apply=y
 
Pre-install Mode
 You can also run a patch in pre install mode, this would be done normally during an upgrade or consolidated update. When a patch is applied in a preinstall mode the all the AD utilities are updated before the upgrade or update.
 
$adpatch preinstall=y
 The default is preinstall=n
 
Other Options with adpatch
 You can use the options clause to specify some of the other options available with adpatch.
 
Autoconfig
 You can use the ptions=noautoconfig top specify autopatch that you do not wish to run autoconfig as a part of the patch  application. This can be useful when applying a large number of patches when they are not merged. By default autoconfig is run  as a part of adpatch.
 
$adpatch ptions=noautoconfig Checkfile
 The chekfile option of adpatch tells adpathc to check for already executed exec, SQL, and exectier commands.You can use  ptions=nocheckfile skips this check, however this can cause performance overheds so should be used only when specified.
 
$adpatch ptions=nocheckfile

Compile Database
 By defaulty autopatch compiles the invalid objects after the patch application, in case you wish not to do so you can specify  ptions=nocompiledb along with autopatch.
 
$adpatch ptions=nocompiledb

Compile JSP
 By defaulty autopatch compiles the java server pages (jsp) after the patch application, in case you wish not to do so you can specify ptions=nocompilejsp along with autopatch.
 
$adpatch ptions=nocompilejsp 

........ 

具体参考 :  http://easyoracleapps.wordpress.com/2010/03/12/adpatch-options/  

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-721089/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    13172248