手机版
你好,游客 登录 注册
背景:
阅读新闻

Linux 环境中11g RAC 安装 PSU

[日期:2014-06-15] 来源:Linux社区  作者:xiaoyiyi [字体:大 中 小]

1.2.2.1 用grid给GI组件打补丁

su - grid

$ cd $Oracle_HOME/OPatch

$ ./opatch napply -oh $ORACLE_HOME -local /psu/17076717

Oracle Interim Patch Installer version 11.2.0.3.6

Copyright (c) 2013, Oracle Corporation. All rights reserved.

 

 

Oracle Home : /u01/app/11.2.0.3/grid

Central Inventory : /u01/app/oraInventory

from : /u01/app/11.2.0.3/grid/oraInst.loc

OPatch version : 11.2.0.3.6

OUI version : 11.2.0.3.0

Log file location : /u01/app/11.2.0.3/grid/cfgtoollogs/opatch/opatch2014-04-24_00-16-39AM_1.log

 

Verifying environment and performing prerequisite checks...

OPatch continues with these patches: 17076717

 

Do you want to proceed? [y|n]

y

User Responded with: Y

All checks passed.

 

输入邮箱,暂时不指定MOS,跳过

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/11.2.0.3/grid')

 

 

Is the local system ready for patching? [y|n]

y

User Responded with: Y

Backing up files...

Applying interim patch '17076717' to OH '/u01/app/11.2.0.3/grid'

 

Patching component oracle.crs, 11.2.0.3.0...

 

Patching component oracle.usm, 11.2.0.3.0...

 

Verifying the update...

Patch 17076717 successfully applied.

Log file location: /u01/app/11.2.0.3/grid/cfgtoollogs/opatch/opatch2014-04-24_00-16-39AM_1.log

 

OPatch succeeded.

 

1.2.2.2 用grid给RDBMS打补丁

在AIX上(Linux不用做):

因为有用户进程占用了文件libclntsh.so.11

grid用户执行:

genld -l|grep /home/db/grid/product/11.2.0

genkld|grep /home/db/grid/product/11.2.0

另外一个窗口root:

/usr/sbin/slibclean

 

$ ./opatch napply -oh $ORACLE_HOME -local /psu/16902043

Oracle Interim Patch Installer version 11.2.0.3.6

Copyright (c) 2013, Oracle Corporation. All rights reserved.

 

 

Oracle Home : /u01/app/11.2.0.3/grid

Central Inventory : /u01/app/oraInventory

from : /u01/app/11.2.0.3/grid/oraInst.loc

OPatch version : 11.2.0.3.6

OUI version : 11.2.0.3.0

Log file location : /u01/app/11.2.0.3/grid/cfgtoollogs/opatch/opatch2014-04-24_00-22-02AM_1.log

 

Verifying environment and performing prerequisite checks...

OPatch continues with these patches: 13343438 13696216 13923374 14275605 14727310 16056266 16619892 16902043

 

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/11.2.0.3/grid')

 

 

Is the local system ready for patching? [y|n]

y

User Responded with: Y

Backing up files...

Applying sub-patch '13343438' to OH '/u01/app/11.2.0.3/grid'

 

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 '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.sysman.console.db, 11.2.0.3.0 ] , [ oracle.sysman.oms.core, 10.2.0.4.4 ] not present in the Oracle Home or a higher version is found.

 

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...

 

Verifying the update...

Applying sub-patch '13923374' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.sysman.console.db, 11.2.0.3.0 ] , [ oracle.network.cman, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.

 

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...

 

Patching component oracle.network.rsf, 11.2.0.3.0...

 

Patching component oracle.network.listener, 11.2.0.3.0...

 

Verifying the update...

Applying sub-patch '14275605' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.precomp.common, 11.2.0.3.0 ] , [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.

 

Patching component oracle.network.client, 11.2.0.3.0...

 

Patching component oracle.network.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...

 

Patching component oracle.rdbms.rman, 11.2.0.3.0...

 

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

 

Patching component oracle.rdbms.util, 11.2.0.3.0...

 

Verifying the update...

Applying sub-patch '14727310' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.sysman.console.db, 11.2.0.3.0 ] , [ oracle.sysman.oms.core, 10.2.0.4.4 ] not present in the Oracle Home or a higher version is found.

 

Patching component oracle.rdbms, 11.2.0.3.0...

 

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

 

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

 

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

 

Verifying the update...

Applying sub-patch '16056266' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ] , [ oracle.ovm, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.

 

Patching component oracle.network.listener, 11.2.0.3.0...

 

Patching component oracle.network.rsf, 11.2.0.3.0...

 

Patching component oracle.rdbms, 11.2.0.3.0...

 

Patching component oracle.rdbms.rman, 11.2.0.3.0...

 

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

 

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

 

Patching component oracle.rdbms.deconfig, 11.2.0.3.0...

 

Verifying the update...

Applying sub-patch '16619892' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.marvel, 11.2.0.3.0 ] , [ oracle.precomp.common, 11.2.0.3.0 ] , [ oracle.precomp.lang, 11.2.0.3.0 ] , [ oracle.sysman.agent, 10.2.0.4.3 ] , [ oracle.sysman.console.db, 11.2.0.3.0 ] , [ oracle.sysman.repository.core, 10.2.0.4.4 ] , [ oracle.xdk, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.

 

Patching component oracle.rdbms, 11.2.0.3.0...

 

Patching component oracle.rdbms.rman, 11.2.0.3.0...

 

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

 

Patching component oracle.xdk.parser.Java, 11.2.0.3.0...

 

Patching component oracle.xdk.rsf, 11.2.0.3.0...

 

Verifying the update...

Applying sub-patch '16902043' to OH '/u01/app/11.2.0.3/grid'

ApplySession: Optional component(s) [ oracle.idm.oid, 11.2.0.3.0 ] , [ oracle.owb.rsf, 11.2.0.3.0 ] , [ oracle.sysman.console.db, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.

 

Patching component oracle.ldap.rsf, 11.2.0.3.0...

 

Patching component oracle.ldap.rsf.ic, 11.2.0.3.0...

 

Patching component oracle.rdbms, 11.2.0.3.0...

 

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

 

Verifying the update...

Composite patch 16902043 successfully applied.

Log file location: /u01/app/11.2.0.3/grid/cfgtoollogs/opatch/opatch2014-04-24_00-22-02AM_1.log

 

OPatch succeeded.

linux
相关资讯       Oracle 11g RAC  11g RAC 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款