首页 > 数据库 > mysql教程 > Oracle 11.2.0.3.7 PSU补丁升级

Oracle 11.2.0.3.7 PSU补丁升级

WBOY
发布: 2016-06-07 17:31:32
原创
869 人浏览过

SUSE Linux Enterprise Server 11 sp1 (x86_64),要求将Oracle数据库从11.2.0.3.0升级到11.2.0.3.7 PSU(最新),补丁为:166198

说明:这是新上线主机,还没有建库的。如果库已经存在,那么最后还要进行刷库操作呢!

环境:SUSE Linux Enterprise Server 11 sp1 (x86_64)

要求将Oracle数据库从11.2.0.3.0升级到11.2.0.3.7 PSU(最新),补丁为:16619892
p16619892_112030_Linux-x86-64.zip

推荐阅读:Oracle数据库服务器升级内存需要考虑的问题

用oracle用户解压后:
oracle@tb-dinggou3:~/softs> unzip p16619892_112030_Linux-x86-64.zip
oracle@tb-dinggou3:~/softs> ls
16619892  p16619892_112030_Linux-x86-64.zip
oracle@tb-dinggou3:~/softs> cd 16619892/
oracle@tb-dinggou3:~/softs/16619892> ls
13343438  13696216  13923374  14275605  14727310  16056266  16619892  patchmd.xml  README.html  README.txt

这个PSU对OPatch有要求,要用11.2.0.3.0之后版本的OPatch,,这个OPatch的补丁号为6880880。那么就要下载这个OPatch补丁了:
p6880880_112000_Linux-x86-64.zip
然后进行OPatch替换:
oracle@tb-dinggou3:~/softs> cd $ORACLE_HOME
oracle@tb-dinggou3:/opt/oracle/product/11gR2/db> mv OPatch OPatch_bak
oracle@tb-dinggou3:/opt/oracle/product/11gR2/db> unzip p6880880_112000_Linux-x86-64.zip

oracle@tb-dinggou3:/opt/oracle/product/11gR2/db> opatch version
OPatch Version: 11.2.0.3.4


补丁冲突检查:

oracle@tb-dinggou3:~/softs/16619892> opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


PREREQ session


Oracle Home      : /opt/oracle/product/11gR2/db
Central Inventory : /opt/oraInventory
  from          : /opt/oracle/product/11gR2/db/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version      : 11.2.0.3.0
Log file location : /opt/oracle/product/11gR2/db/cfgtoollogs/opatch/opatch2013-08-20_04-52-55AM_1.log


Invoking prereq "checkconflictagainstohwithdetail"


Prereq "checkConflictAgainstOHWithDetail" passed.


OPatch succeeded.


没有补丁冲突。

补丁应用:

oracle@tb-dinggou3:~/softs/16619892> opatch apply
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.

Oracle Home      : /opt/oracle/product/11gR2/db
Central Inventory : /opt/oraInventory
  from          : /opt/oracle/product/11gR2/db/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version      : 11.2.0.3.0
Log file location : /opt/oracle/product/11gR2/db/cfgtoollogs/opatch/opatch2013-08-20_04-53-08AM_1.log


Verifying environment and performing prerequisite checks...
OPatch continues with these patches:  13343438  13696216  13923374  14275605  14727310  16056266  16619892 


Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name:


You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  y

 


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/opt/oracle/product/11gR2/db') 


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying sub-patch '13343438' to OH '/opt/oracle/product/11gR2/db'


Patching component oracle.rdbms.rsf, 11.2.0.3.0...


Patching component oracle.rdbms, 11.2.0.3.0...


Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...


Verifying the update...
Applying sub-patch '13696216' to OH '/opt/oracle/product/11gR2/db'


Patching component oracle.rdbms.rsf, 11.2.0.3.0...


Patching component oracle.rdbms, 11.2.0.3.0...


Patching component oracle.sdo.locator, 11.2.0.3.0...


Patching component oracle.sysman.console.db, 11.2.0.3.0...


Patching component oracle.sysman.oms.core, 10.2.0.4.4...


验证更新...
将子补丁“13923374”应用到 OH“/opt/oracle/product/11gR2/db”
ApplySession:可选组件 [oracle.network .cman, 11.2.0.3.0 ] 在 Oracle Home 中不存在或找到更高版本。


正在修补组件 oracle.rdbms.rsf,11.2.0.3.0...


正在修补组件 oracle.rdbms,11.2.0.3.0...


正在修补组件 oracle.rdbms.dbscripts,11.2.0.3.0...


正在修补组件 oracle.network.rsf,11.2.0.3.0...


修补组件 oracle.network.listener, 11.2.0.3.0...


正在修补组件 oracle.sysman.console.db,11.2.0.3.0...

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板