始创于2000年 股票代码:831685
咨询热线:0371-60135900 注册有礼 登录
  • 挂牌上市企业
  • 60秒人工响应
  • 99.99%连通率
  • 7*24h人工
  • 故障100倍补偿
您的位置: 网站首页 > 帮助中心>文章内容

Oracle On Demand(OOD)项目中EBS打补丁的详细步骤

发布时间:  2012/9/7 16:47:43

EBS patching steps in Oracle On Demand(OOD) projects

#check if patch applied & count of invalid objects, create invalids table & replace 7777777 with patch number
select name,user from v$database;-
 

select BUG_NUMBER, LAST_UPDATE_DATE, success_flag from ad_bugs where bug_number=xxx;
create table apps.invalids_13jul12_7777777 as select * from dba_objects where status='INVALID';
select count(*) from dba_objects where status='INVALID';

#copy patch to stage area
cp /tmp/pxxx.zip /dxxx1i/applcsf

#unzip patch zip
unzip pxxx.zip

#check if all prerequisites meet, such as merge or prerequisite patch need
view readme


#switch user

pbrun impdba -u apdxxx1i

#list all available targets on host
/usr/local/git/bin/em-blackout-cmd -s

#list all active blackouts on host, if there's already active blackouts on specific instance, it means other people have already booked this time slot
/usr/local/git/bin/em-blackout-cmd -o list

#blackout APP node
/usr/local/git/bin/em-blackout-cmd -o start -t "DXXX1I" -r 2 -d <2h> -u <apdxxx1i> -c patch_num

#blackout DB node
 /usr/local/git/bin/em-blackout-cmd -o start -t full  -r 2 -d <2h> -u <ordxxx1i> -c patch_num

#stop all app service($ADMIN_SCRIPT_HOME), make sure no errors except timeout relative issue.

adstpall.sh apps/apps

#wait several minutes till all FNDLIBR process quit
ps -ef | grep FNDLIBR | grep dxxx1i

#enable maintence mode
adadmin

#cd patch directory & patch, logfile name format patchnum_13jul12.log
adpatch

#check log see if any errors, seach error
view patchnum_13jul12.log
/error

##check if patch applied & count of invalid objects, drop invalids table if no more invalids
select name,user from v$database;
select BUG_NUMBER, LAST_UPDATE_DATE, success_flag from ad_bugs where bug_number=xxx;
select object_name,object_type,owner,LAST_DDL_TIME from dba_objects where status='INVALID' and object_name||object_type||owner not in (select object_name||object_type||owner from apps.invalids_13jul12_7777777);
select count(*) from dba_objects where status='INVALID';
drop table apps.invalids_13jul12_7777777;

#disable maintence mode
adadmin

#start all app service($ADMIN_SCRIPT_HOME), make sure no errors except timeout relative issue.
adstrtal.sh apps/apps

#disable blackout(APP&DB)
#list all active blackouts on host
/usr/local/git/bin/em-blackout-cmd -o list
#Stop blackout
/usr/local/git/bin/em-blackout-cmd -o stop -n <blackout name from above command>


#health check

login instance from frontend, switch to Application Administrator responsibility, submit Active User request, check output.


 


本文出自:亿恩科技【www.enkj.com】

服务器租用/服务器托管中国五强!虚拟主机域名注册顶级提供商!15年品质保障!--亿恩科技[ENKJ.COM]

  • 您可能在找
  • 亿恩北京公司:
  • 经营性ICP/ISP证:京B2-20150015
  • 亿恩郑州公司:
  • 经营性ICP/ISP/IDC证:豫B1.B2-20060070
  • 亿恩南昌公司:
  • 经营性ICP/ISP证:赣B2-20080012
  • 服务器/云主机 24小时售后服务电话:0371-60135900
  • 虚拟主机/智能建站 24小时售后服务电话:0371-60135900
  • 专注服务器托管17年
    扫扫关注-微信公众号
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 亿恩科技 版权所有  地址:郑州市高新区翠竹街1号总部企业基地亿恩大厦  法律顾问:河南亚太人律师事务所郝建锋、杜慧月律师   京公网安备41019702002023号
      0
     
     
     
     

    0371-60135900
    7*24小时客服服务热线