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/opatch3014-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/opatch3014-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)
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。