Linux 11g rac PSU

PSU补丁:p20299013_112040_Linux-x86-64.zip   chown -R grid:oinstall /u01/stage   chmod -R 777 /u01/stage
OPATCH工具:p6880880_112000_LINUX.zip

解压OPATCH工具 覆盖到/u01/11.2.0/grid/和/u01/app/oracle/product/11.2.0/db_1这两个目录。

生成OCM file
(grid和oracle用户下执行)/u01/11.2.0/grid/OPatch/ocm/bin
./emocmrsp

root下在两个节点执行:/u01/11.2.0/grid/OPatch/opatch auto /u01/stage/gipsu/20485808 -ocmrf /u01/11.2.0/grid/OPatch/ocm/bin/ocm.rsp

(/u01/11.2.0/grid/OPatch/opatch auto /u01/stage/gipsu/20485808 -oh /u01/app/oracle/product/11.2.0/db_1 -ocmrf ocm.rsp)

查看补丁
col ACTION_TIME for a10
col ACTION for a10
col NAMESPACE for a10
col VERSION for a10
col COMMENTS for a40
set linesize 250
select * from dba_registry_history;

su - oracle
opatch lsinv


For each database instance running on the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the catbundle.sql script as follows:

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

你可能感兴趣的:(Linux 11g rac PSU)