ITPub博客

首页 > 数据库 > Oracle > applying patch 9413827 before upgrading crs to 11.2.0.3.0

applying patch 9413827 before upgrading crs to 11.2.0.3.0

原创 Oracle 作者:lovehewenyu 时间:2013-08-16 17:06:58 0 删除 编辑

applying patch 9413827 before upgrading crs to 11.2.0.3.0

 

环境:oracle 11.2.0.1 rac on redhat 5.8


11.2.0.1 RAC升级GI可以不停DB,直接升级GI;一个实例一个实例升级GI,使用保持有一个实例被DG使用


1check patch 9413827opatch version

su - grid

$CRS_HOME/OPatch/opatch lsinventory

su - oracle

$ORACLE_HOME/OPatch/opatch lsinventory

su - grid

$CRS_HOME/OPatch/opatch version

su - oracle

$ORACLE_HOME/OPatch/opatch version

 

2installation p6880880_112000_LINUX.zip, upgrade opatch versionto 11.2.0.3.4 from 11.1.0.6.6

su - root

cd $CRS_HOME

mv OPatch/ OPatch_bk

unzip p6880880_112000_LINUX.zip -d $CRS_HOME

chown grid:oinstall OPatch -R

$CRS_HOME/OPatch/opatch version

 

3installation p9413827_112010_LINUX.zip (需要停止升级GI节点上的实例)

su–root

unzip p9413827_112010_LINUX.zip -d $CRS_HOME

chown grid:oinstall 9413827 -R

su–oracle

sh /u01/app/11.2.0/grid/9413827/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME

su–root

/u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock

su–grid

first applying patch for grid;

cd $CRS_HOME

$CRS_HOME/OPatch/opatch napply -local -oh /u01/app/11.2.0/grid -id 9413827

$CRS_HOME/OPatch/opatch lsinventory

the for database;

su - oracle

$ORACLE_HOME/OPatch/opatch napply /u01/app/11.2.0/grid/9413827/custom/server/ -local -oh $ORACLE_HOME -id 9413827

$ORACLE_HOME/OPatch/opatch lsinventory

su – root

chmod +w /u01/app/11.2.0/grid/log/dou_rac1/agent/

chmod +w /u01/app/11.2.0/grid/log/dou_rac1/agent/crsd/

su–oracle

sh /u01/app/11.2.0/grid/9413827/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME

su–root

/u01/app/11.2.0/grid/crs/install/rootcrs.pl -patch

same setups of others node;


GI and Oracle software patch succeed !

总结:

       希望我的BLOG也是以简洁为主,附表为辅助性过程带有注释!

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

请登录后发表评论 登录
全部评论
10年老鸟,Oracle,Mysql,EMC 存储,NBU备份

注册时间:2012-02-03

  • 博文量
    268
  • 访问量
    1311870