applying patch 9413827 before upgrading crs to 11.2.0.3.0

lovehewenyu發表於2013-08-16

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章