Oracle EBS打补丁

时间:2023-03-09 13:23:26
Oracle EBS打补丁

http://hutianci.iteye.com/blog/1457287

l例子: 打 Patch#   11843100:R12.CAC.B 
打PATCH之前先查询一下是否已经有了这个PATCH. 
SELECT  *  FROM   ad_applied_patches where  patch_name  in  ('11843100','') ; 
SELECT  *  FROM   ad_bugs  where  bug_number = 11843100 ;

Pre-install Tasks 
You must shut down all Application tier services before performing the tasks in this section. 
There are no tasks to be performed in this section. 
关闭 AP 服务: 
以 appldev登入后,  $  cd   $ADMIN_SCRIPTS_HOME 
$ ./adstpall.sh   停止AP服务

注意; 打任何Patch之前都要设置为维护模式。 到 $ADMIN_SCRIPTS_HOME ,执行adadmin . 
Run adadmin and set the instance in maintenance mode [Under adadmin menu, choose (5) then (1)]. 
Exit adadmin when maintenance mode is changed. 注意打完之后切换回来。

-------------------------------   
还要注意在查找patch文件的时候,语言有GENERIC的,也有专门中文的,也需要下载来打。 
可以到Metalink下补丁程序与更新程序菜单,在补丁程序搜索部分选择语言,选择后面的simpled chinese .... .

读完Readme后,如果有一些类似下面的前置patch的需求,那么我们需要在Table中 
查询看看有没有 。 
You need to install following patches and all of its pre-requisites: 
    1)  ORACLE E-BUSINESS SUITE 12.1.2 RELEASE 
    2)  8252018:R12.CAC.B SERVICE REQUEST ESCALATION CONTACT SELECT 
LAST NAME L.O.V NOT WORKING CORRECTLY 
查询前置patch是否已经有了: 
SELECT  *  FROM   ad_applied_patches where  patch_name  in  ('8252018','') ; 
SELECT  *  FROM   ad_bugs  where  bug_number = 8252018 
查询在库中有 8252018 , 一般返回2条记录,标识一个是USA, 一个是Chinese (语言)。 
如果以上查询没有的话,就需要下载: 
p8252018_R12.CAC.B_R12_GENERIC.zip 
p8252018_R12.CAC.B_R12_zhs.zip 
在打p11843100_R12.CAC.B_R12_GENERIC.zip之前先打以上两个patch. 
-------------------------------

Apply The Patch 
This patch contains the following unified(统一的) driver file to be applied with 
AutoPatch:     u11843100.drv   (This is the unified driver) ,文件在解压目录下。 
打patch的交互界面会提示需要输入此driver name . 
解压文件 
$ cd   /data02/after_clone_patch 
$ unzip  p11843100_R12.CAC.B_R12_GENERIC.zip 
$ cd   11843100 
$ adpatch 
提示 APPL_TOP 目录是否是指定的这个目录 ? 
我们可以使用  $ echo  $APPL_TOP 查看环境变量。 后面按照提示输入.......

打任何Patch之前都要设置为非维护模式。 到 $ADMIN_SCRIPTS_HOME ,执行adadmin . 按照菜单提示disable 掉维护模式。