设为首页 加入收藏

TOP

Oracle 12.1.0.1 GI+DATABASE打PSU(二)
2015-11-21 01:28:52 来源: 作者: 【 】 浏览:1
Tags:Oracle 12.1.0.1 DATABASE PSU
informed of security issues ([Y]es, [N]o) [N]: ?y
The OCM configuration response file (ocm.rsp) was successfully created.
?
----检查每个 数据库的库存信息的一致性。
/u01/app/grid/12.1.0.1/OPatch/opatch lsinventory -detail -oh /u01/app/grid/12.1.0.1
?
/u01/app/oracle/12.1.0/db_1/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/12.1.0/db_1
?
/u01/app/grid/12.1.0.1/OPatch/opatchauto apply /u01/app/patch/21551666 -ocmrf /u01/app/grid/12.1.0.1/OPatch/ocm/bin/ocm.rsp?
?
--开始升级GI和database(我是GI+DATABASE一起打psu的,也可以分开打)
[root@rac1 ~]# /u01/app/grid/12.1.0.2/OPatch/opatchauto apply /u01/app/patch/21551666 -ocmrf /u01/app/grid/12.1.0.2/OPatch/ocm/bin/ocm.rsp ??
OPatch Automation Tool
Copyright (c)2014, Oracle Corporation. All rights reserved.
?
OPatchauto Version : 12.1.0.1.9
OUI Version ? ? ? ?: 12.1.0.1.0
Running from ? ? ? : /u01/app/grid/12.1.0.2
?
opatchauto log file: /u01/app/grid/12.1.0.2/cfgtoollogs/opatchauto/21551666/opatch_gi_2015-10-28_15-21-23_deploy.log
?
Parameter Validation: Successful
?
Configuration Validation: Successful
?
Patch Location: /u01/app/patch/21551666
Grid Infrastructure Patch(es): 17077442 17303297 21352619?
DB Patch(es): 17077442 21352619?
?
Patch Validation: Successful
Grid Infrastructure home:
/u01/app/grid/12.1.0.2
DB home(s):
/u01/app/oracle/12.1.0/db_1
?
?
Performing prepatch operations on CRS Home... Successful
?
Applying patch(es) to "/u01/app/oracle/12.1.0/db_1" ...
Patch "/u01/app/patch/21551666/17077442" successfully applied to "/u01/app/oracle/12.1.0/db_1".
Patch "/u01/app/patch/21551666/21352619" successfully applied to "/u01/app/oracle/12.1.0/db_1".
?
Applying patch(es) to "/u01/app/grid/12.1.0.2" ...
Patch "/u01/app/patch/21551666/17077442" successfully applied to "/u01/app/grid/12.1.0.2".
Patch "/u01/app/patch/21551666/17303297" successfully applied to "/u01/app/grid/12.1.0.2".
Patch "/u01/app/patch/21551666/21352619" successfully applied to "/u01/app/grid/12.1.0.2".
?
Performing postpatch operations on CRS Home... Successful
?
SQL changes, if any, are applied successfully on the following database(s): rac
?
Apply Summary:
Following patch(es) are successfully installed:
GI Home: /u01/app/grid/12.1.0.2: 17077442,17303297,21352619
DB Home: /u01/app/oracle/12.1.0/db_1: 17077442,21352619
?
opatchauto succeeded.
?
---以上步骤分别在两台机器上都要操作。
?
--升级完后要对数据库进行应用,RAC只要在其中一个实例上运行就可以了
su - oracle
?
cd $ORACLE_HOME/OPatch
?
./datapatch -verbose
?
cd $ORACLE_HOME/rdbms/admin
?
sqlplus / as sysdba
?
SQL> @utlrp.sql
?
set line 200
col COMMENTS for a20
col ACTION_TIME for a30
?
SELECT * FROM dba_registry_history;
?
ACTION_TIME ? ? ? ? ? ? ? ? ? ?ACTION ? ? ? ? ? ? ? ? ? ? ? ? NAMESPACE ? ? ? ? ? ? ? ? ? ? ?VERSION ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ID BUNDLE_SERIES ? ? ? ? ? ? ? ? ?COMMENTS
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------- ------------------------------ --------------------
16-SEP-15 11.26.40.379388 AM ? APPLY ? ? ? ? ? ? ? ? ? ? ? ? ?SERVER ? ? ? ? ? ? ? ? ? ? ? ? 12.1.0.1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0 PSU ? ? ? ? ? ? ? ? ? ? ? ? ? ?Patchset 12.1.0.0.0
28-OCT-15 04.55.43.8311
首页 上一页 1 2 3 下一页 尾页 2/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle字符函数 下一篇Oracle 10g 数据库手动创建步骤

评论

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