设为首页 加入收藏

TOP

11gRAC打最新的11.2.0.4.7补丁记录(一)
2015-11-21 01:45:24 来源: 作者: 【 】 浏览:2
Tags:11gRAC 最新 11.2.0.4.7 补丁 记录
20760982--->>>DB PSU 11.2.0.4.7 (INCLUDES CPUJUL2015)--->>>Both DB Homes and Grid Home
20831122--->>>OCW PSU 11.2.0.4.7--->>>Both DB Homes and Grid Home
20299019--->>>ACFS PSU 11.2.0.4.7--->>>Only Grid Home




5 Manual Steps for Apply/Rollback Patch


2.Run the pre root script. If this is a GI Home, as the root user execute:
# /crs/install/rootcrs.pl -unlock
$GRID_HOME/crs/install/rootcrs.pl -unlock


3.Apply the CRS patch using. As the GI home owner execute:
$ /OPatch/opatch napply -oh -local / /
$GRID_HOME/OPatch/opatch napply -oh $GRID_HOME -local /tmp/patch/20996923/20831122


As the GI home owner execute:
$ /OPatch/opatch napply -oh -local / /
$GRID_HOME/OPatch/opatch napply -oh $GRID_HOME -local /tmp/patch/20996923/20299019


$GRID_HOME/OPatch/opatch rollback -local -id 20299019 -oh $GRID_HOME


As the GI home owner execute:
$ /OPatch/opatch apply -oh -local / /
$GRID_HOME/OPatch/opatch apply -oh $GRID_HOME -local /tmp/patch/20996923/20760982




4.Run the pre script for DB component of the patch. As the database home owner execute:
$ / / /custom/server/ /custom/scripts/prepatch.sh -dbhome


/tmp/patch/20996923/20831122/custom/server/20831122/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME


5.Apply the DB patch. As the database home owner execute:
$ /OPatch/opatch napply -oh -local / / /custom/server/
$ /OPatch/opatch apply -oh -local / /


$ORACLE_HOME/OPatch/opatch rollback -local -id 20831122 -oh $ORACLE_HOME
$ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /tmp/patch/20996923/20831122/custom/server/20831122
$ORACLE_HOME/OPatch/opatch apply -oh $ORACLE_HOME -local /tmp/patch/20996923/20760982


6.Run the post script for DB component of the patch. As the database home owner execute:
$ / / /custom/server/ /custom/scripts/postpatch.sh -dbhome


/tmp/patch/20996923/20831122/custom/server/20831122/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME


7.Run the post script. As the root user execute:
# /rdbms/install/rootadd_rdbms.sh
$GRID_HOME/rdbms/install/rootadd_rdbms.sh
If this is a GI Home, as the root user execute:
# /crs/install/rootcrs.pl -patch
$GRID_HOME/crs/install/rootcrs.pl -patch




8.If the message, "A system reboot is recommended before using ACFS??? is shown, then a reboot must be issued before continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.


9.Start the CRS managed resources that were earlier running from DB homes. If this is a GI Home environment, as the database home owner execute:
$ /bin/sr vctl start home -o -s -n


$ORACLE_HOME/bin/srvctl start home -o $ORACLE_HOME -s -n




2.5.2 Loading Modified SQL Files into the Database


The following steps load modified SQL files into the database. For an Oracle RAC environment, perform these steps on only one node.


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

[grid@elvis111 patch]$ opatch lsinv
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.




Oracle Home : /g01/grid/app/11.2.0/grid
Central Inve

首页 上一页 1 2 3 4 5 6 7 下一页 尾页 1/10/10
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Redis基本类型 下一篇[c3p0]第二篇:使用c3p0

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: