Oracle11.2.0.1 PSU升级11.2.0.4
1、首先下载所需要的PSU包p6880880_112000_Linux-x86-64.zip
patch包:p19121551_112040_Linux-x86-64-psu4.zip
2、解压p6880880_112000_Linux-x86-64.zip到$ORACLE_HOME目录下,将原有的备份
unzip -n p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
3、查看版本号
[oracle@oraup OPatch]$ ./opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.
查看是否打PSU:
[oracle@oraup OPatch]$ ./opatch lspatches
There are no Interim patches installed in this Oracle Home.
4、 检查是否安装:
[oracle@oraup OPatch]$ ./opatch lspatches
There are no Interim patches installed in this Oracle Home.
5、将p19121551_112040_Linux-x86-64-psu4.zip到patch的目录
unzip -n p19121551_112040_Linux-x86-64-psu4.zip -d patch
6、开始升级PSU,执行
[oracle@oraup OPatch]$ ./opatch napply -oh $ORACLE_HOME -local /ora/Patch/patch/19121551
-local
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/11.2.0.4/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/11.2.0.4/db_1/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/11.2.0.4/db_1/cfgtoollogs/opatch/opatch2014-12-09_07-49-53AM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 17478514 18031668 18522509 19121551
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 http://www.oracle.com/support/policies.html 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 = ‘/u01/app/oracle/11.2.0.4/db_1‘)
Is the local system ready for patching? [y|n]
Y
.
.
.
Composite patch 19121551 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/11.2.0.4/db_1/cfgtoollogs/opatch/opatch2014-12-09_07-49-53AM_1.log
OPatch completed with warnings
完成升级
!其中有选择的地方直接Y
查看是否成功
[oracle@oraup OPatch]$ ./opatch lspatches
19121551;Database Patch Set Update : 11.2.0.4.4 (19121551)
本文出自 “Fred” 博客,请务必保留此出处http://fredse.blog.51cto.com/3097149/1588093
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。