11.2.0.4psu到11.2.0.4.8

1、grid用户创建ocm.rsp

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
$ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /software/ocm.rsp

chmod 775  /software /ocm.rsp
2、root用户逐个节点执行下列命令


./opatch auto /software/psu/21523375/ -ocmrf /software/ocm.rsp 

如果出现下列情况,参考mos文章id1946048.1
[root@ora6 OPatch]# ./opatch auto /software/psu/21523375/ -ocmrf /software/ocm.rsp 
Executing /u01/app/11.2.0/grid/perl/bin/perl ./crs/patch11203.pl -patchdir /software/psu -patchn 21523375 -ocmrf /software/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params


This is the main log file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatchauto2017-02-23_04-31-44.log


This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatchauto2017-02-23_04-31-44.report.log


2017-02-23 04:31:44: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params


Stopping RAC /u01/app/oracle/product/11.2.0/dbhome_1/ ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1/ successfully


patch /software/psu/21523375/21352635  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1/ 
patch /software/psu/21523375/21352649/custom/server/21352649  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1/ 


Stopping RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully


patch /software/psu/21523375/21352635  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 
patch /software/psu/21523375/21352649/custom/server/21352649  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 


Stopping CRS...
Stopped CRS successfully


patch /software/psu/21523375/21352635  apply successful for home  /u01/app/11.2.0/grid 
patch /software/psu/21523375/21352649  apply successful for home  /u01/app/11.2.0/grid 
patch /software/psu/21523375/21352642  apply successful for home  /u01/app/11.2.0/grid 


Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.


Starting RAC /u01/app/oracle/product/11.2.0/dbhome_1/ ...
Started RAC /u01/app/oracle/product/11.2.0/dbhome_1/ successfully


Starting RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Failed to start resources from  database home /u01/app/oracle/product/11.2.0/dbhome_1
ERROR: Refer log file for more details.




opatch auto failed.

4.执行下列命令升级数据字典

cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT


cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> @utlrp.sql

如果使用了catalog,则升级catalog

$ rman catalog username/password@alias
RMAN> UPGRADE CATALOG;



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

转载于:http://blog.itpub.net/29802484/viewspace-2138496/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值