详述两种给Grid Infrastructure打补丁的方法(2)

1        OFFLINE OFFLINE                                                   

ora.evmd

1        ONLINE  ONLINE      ncr-standby-asm                             

ora.sicsstb.db

1        OFFLINE OFFLINE                              Instance Shutdown   

执行锁定脚本,由于GI部分进程工作原理,所以进行apply补丁之前要执行特殊的root脚本,对进程继续锁定(RAC和Non-RAC GI架构下脚本有差异,请注意)。

[grid@NCR-Standby-Asm 19852360]$ env | grep ORACLE_HOME

ORACLE_HOME=/u01/app/grid/product/11.2.0/grid

[root@NCR-Standby-Asm ~]# cd /u01/app/grid/product/11.2.0/grid

[root@NCR-Standby-Asm grid]# cd crs/install/

[root@NCR-Standby-Asm install]# ./roothas.pl -unlock

Using configuration parameter file: ./crsconfig_params

Successfully unlock /u01/app/grid/product/11.2.0/grid

进行补丁动作。

[grid@NCR-Standby-Asm 19852360]$ opatch apply

Oracle Interim Patch Installer version 11.2.0.3.10

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

Oracle Home      : /u01/app/grid/product/11.2.0/grid

Central Inventory : /u01/app/oraInventory

from          : /u01/app/grid/product/11.2.0/grid/oraInst.loc

OPatch version    : 11.2.0.3.10

OUI version      : 11.2.0.4.0

Log file location : /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatch/19852360_May_25_2015_10_02_26/apply2015-05-25_10-02-26AM_1.log

Applying interim patch '19852360' to OH '/u01/app/grid/product/11.2.0/grid'

Verifying environment and performing prerequisite checks...

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

Backing up files...

Patching component oracle.dbjava.jdbc, 11.2.0.4.0...

Patching component oracle.dbjava.ic, 11.2.0.4.0...

Verifying the update...

Patch 19852360 successfully applied

Log file location: /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatch/19852360_May_25_2015_10_02_26/apply2015-05-25_10-02-26AM_1.log

OPatch succeeded.

执行脚本锁定GI进程。

[root@NCR-Standby-Asm install]# ./roothas.pl -patch

Using configuration parameter file: ./crsconfig_params

CRS-4123: Oracle High Availability Services has been started

使用opatch程序验证补丁操作成功。

[grid@NCR-Standby-Asm 19852360]$ opatch lsinventory

Oracle Interim Patch Installer version 11.2.0.3.10

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

Oracle Home      : /u01/app/grid/product/11.2.0/grid

Central Inventory : /u01/app/oraInventory

from          : /u01/app/grid/product/11.2.0/grid/oraInst.loc

OPatch version    : 11.2.0.3.10

OUI version      : 11.2.0.4.0

Log file location : /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-25_10-03-07AM_1.log

Lsinventory Output file location : /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-05-25_10-03-07AM.txt

--------------------------------------------------------------------------------

Local Machine Information::

Hostname: localhost

ARU platform id: 226

ARU platform description:: Linux x86-64

Installed Top-level Products (1): 

Oracle Grid Infrastructure 11g                                      11.2.0.4.0

There are 1 products installed in this Oracle Home.

Interim patches (1) :

Patch  19852360    : applied on Mon May 25 10:02:48 CST 2015

Unique Patch ID:  18170553

Created on 20 Oct 2014, 08:17:43 hrs PST8PDT

Bugs fixed:

19852360

--------------------------------------------------------------------------------

OPatch succeeded.

补丁安装成功。

下面介绍opatch的auto补丁方法。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/1ecd39117d36ae3bdf6d3cc7645d3cd5.html