标签归档:PSU

12.1.0.2 RAC安装GI+DB最新PSU

0.环境描述
两节点12.1.0.2.0 RAC
RedHat Linux 6.6 x86-64
GI和DB均为非共享模式安装
安装12.1.0.2最新PSU GI-12.1.0.2.160719--->23273629
PSU GI-12.1.0.2.160719包含DB对应的PSU--->23054246
$ crsctl status res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
ora.FFRA.dg
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
ora.VOTE.dg
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
ora.asm
               ONLINE  ONLINE       dbtest3                  Started,STABLE
               ONLINE  ONLINE       dbtest4                  Started,STABLE
ora.net1.network
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
ora.ons
               ONLINE  ONLINE       dbtest3                  STABLE
               ONLINE  ONLINE       dbtest4                  STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       dbtest4                  STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       dbtest3                  169.254.11.173 10.10
                                                             .10.4,STABLE
ora.cvu
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.db12c.db
      1        ONLINE  ONLINE       dbtest3                  Open,STABLE
      2        ONLINE  ONLINE       dbtest4                  Open,STABLE
ora.dbtest3.vip
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.dbtest4.vip
      1        ONLINE  ONLINE       dbtest4                  STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       dbtest3                  Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       dbtest4                  STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       dbtest3                  STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       dbtest3                  STABLE
--------------------------------------------------------------------------------

1.更新OPatch
安装12.1.0.2最新PSU 12.1.0.2.160719需要opatch工具版本至少在12.1.0.1.7及以上
使用下面命令检查opatch工具版本是否满足要求【每个节点GRID和DB的home均需要检查opatch版本】
$GRID_HOME/OPatch/opatch version
$ORACLE_HOME/OPatch/opatch version
如果opatch工具版本在12.1.0.1.7以下则更新每个节点GRID和DB的opatch工具
$ unzip /soft/gi/p6880880_121010_Linux-x86-64.zip -d $GRID_HOME
$ unzip /soft/gi/p6880880_121010_Linux-x86-64.zip -d $ORACLE_HOME
再次检查每个节点GRID和DB的home均需要检查opatch版本
[grid@dbtest3 ~]$ $GRID_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.5
OPatch succeeded.
[oracle@dbtest3 ~]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.5
OPatch succeeded.

[grid@dbtest4 gi]$ $GRID_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.5
OPatch succeeded.
[oracle@dbtest4 ~]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.5
OPatch succeeded.

2.配置OCM文件
RAC两节点使用grid用户生成opatchauto需要的OCM响应文件【这里使用grid用户生成OCM配置文件是因为最终安装的PSU为GI】
[grid@dbtest3 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /home/grid/file.rsp
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
The OCM configuration response file (/home/grid/file.rsp) was successfully created.

[grid@dbtest4 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /home/grid/file.rsp
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
The OCM configuration response file (/home/grid/file.rsp) was successfully created.

3.校验Oracle Inventory
RAC两节点分别执行校验GIRD和DB的Inventory【节点2执行校验输出结果略】
[grid@dbtest3 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $GRID_HOME
Oracle Interim Patch Installer version 12.2.0.1.5
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/12.1.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/12.1.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.5
OUI version       : 12.1.0.2.0
Log file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-08_12-48-05PM_1.log

Lsinventory Output file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-08-08_12-48-05PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: dbtest3
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1): 

Oracle Grid Infrastructure 12c                                       12.1.0.2.0
There are 1 products installed in this Oracle Home.


Installed Products (101): 

Assistant Common Files                                               12.1.0.2.0
Automatic Storage Management Assistant                               12.1.0.2.0
Buildtools Common Files                                              12.1.0.2.0
Cluster Ready Services Files                                         12.1.0.2.0
Cluster Verification Utility Common Files                            12.1.0.2.0
Cluster Verification Utility Files                                   12.1.0.2.0
Database Configuration and Upgrade Assistants                        12.1.0.2.0
Database Migration Assistant for Unicode                             12.1.0.2.0
Database SQL Scripts                                                 12.1.0.2.0
DB TOOLS Listener                                                    12.1.0.2.0
Deinstallation Tool                                                  12.1.0.2.0
Expat libraries                                                       2.0.1.0.2
Hadoopcore Component                                                 12.1.0.2.0
HAS Common Files                                                     12.1.0.2.0
HAS Files for DB                                                     12.1.0.2.0
Installation Common Files                                            12.1.0.2.0
Installation Plugin Files                                            12.1.0.2.0
Installer SDK Component                                              12.1.0.2.0
Java Development Kit                                                 1.6.0.75.0
LDAP Required Support Files                                          12.1.0.2.0
OLAP SQL Scripts                                                     12.1.0.2.0
Oracle Advanced Security                                             12.1.0.2.0
Oracle Bali Share                                                    11.1.1.6.0
Oracle Clusterware RDBMS Files                                       12.1.0.2.0
Oracle Configuration Manager Deconfiguration                         10.3.1.0.0
Oracle Containers for Java                                           12.1.0.2.0
Oracle Core Required Support Files                                   12.1.0.2.0
Oracle Core Required Support Files for Core DB                       12.1.0.2.0
Oracle Database 12c                                                  12.1.0.2.0
Oracle Database 12c Multimedia Files                                 12.1.0.2.0
Oracle Database Deconfiguration                                      12.1.0.2.0
Oracle Database User Interface                                       11.0.0.0.0
Oracle Database Utilities                                            12.1.0.2.0
Oracle DBCA Deconfiguration                                          12.1.0.2.0
Oracle Extended Windowing Toolkit                                    11.1.1.6.0
Oracle Globalization Support                                         12.1.0.2.0
Oracle Globalization Support                                         12.1.0.2.0
Oracle Globalization Support For Core                                12.1.0.2.0
Oracle Grid Infrastructure 12c                                       12.1.0.2.0
Oracle Grid Infrastructure Bundled Agents                            12.1.0.2.0
Oracle Grid Management Database                                      12.1.0.2.0
Oracle Help for Java                                                 11.1.1.7.0
Oracle Help Share Library                                            11.1.1.7.0
Oracle Ice Browser                                                   11.1.1.7.0
Oracle Internet Directory Client                                     12.1.0.2.0
Oracle Java Client                                                   12.1.0.2.0
Oracle Java Layout Engine                                            11.0.0.0.0
Oracle JDBC/OCI Instant Client                                       12.1.0.2.0
Oracle JDBC/THIN Interfaces                                          12.1.0.2.0
Oracle JFC Extended Windowing Toolkit                                11.1.1.6.0
Oracle JVM                                                           12.1.0.2.0
Oracle JVM For Core                                                  12.1.0.2.0
Oracle LDAP administration                                           12.1.0.2.0
Oracle Locale Builder                                                12.1.0.2.0
Oracle Multimedia                                                    12.1.0.2.0
Oracle Multimedia Client Option                                      12.1.0.2.0
Oracle Multimedia Java Advanced Imaging                              12.1.0.2.0
Oracle Multimedia Locator                                            12.1.0.2.0
Oracle Multimedia Locator Java Required Support Files                12.1.0.2.0
Oracle Multimedia Locator RDBMS Files                                12.1.0.2.0
Oracle Net                                                           12.1.0.2.0
Oracle Net Java Required Support Files                               12.1.0.2.0
Oracle Net Listener                                                  12.1.0.2.0
Oracle Net Required Support Files                                    12.1.0.2.0
Oracle Netca Client                                                  12.1.0.2.0
Oracle Notification Service                                          12.1.0.2.0
Oracle Notification Service (eONS)                                   12.1.0.2.0
Oracle Notification Service for Instant Client                       12.1.0.2.0
Oracle One-Off Patch Installer                                       12.1.0.1.2
Oracle Quality of Service Management (Client)                        12.1.0.2.0
Oracle Quality of Service Management (Server)                        12.1.0.2.0
Oracle RAC Deconfiguration                                           12.1.0.2.0
Oracle RAC Required Support Files-HAS                                12.1.0.2.0
Oracle Recovery Manager                                              12.1.0.2.0
Oracle Security Developer Tools                                      12.1.0.2.0
Oracle Text Required Support Files                                   12.1.0.2.0
Oracle Universal Connection Pool                                     12.1.0.2.0
Oracle Universal Installer                                           12.1.0.2.0
Oracle USM Deconfiguration                                           12.1.0.2.0
Oracle Wallet Manager                                                12.1.0.2.0
oracle.swd.oui.core.min                                              12.1.0.2.0
Parser Generator Required Support Files                              12.1.0.2.0
Perl Interpreter                                                     5.14.1.0.0
Perl Modules                                                         5.14.1.0.0
PL/SQL                                                               12.1.0.2.0
PL/SQL Embedded Gateway                                              12.1.0.2.0
Platform Required Support Files                                      12.1.0.2.0
Precompiler Required Support Files                                   12.1.0.2.0
RDBMS Required Support Files                                         12.1.0.2.0
RDBMS Required Support Files for Instant Client                      12.1.0.2.0
RDBMS Required Support Files Runtime                                 12.1.0.2.0
Required Support Files                                               12.1.0.2.0
Secure Socket Layer                                                  12.1.0.2.0
SQL*Plus                                                             12.1.0.2.0
SQL*Plus Files for Instant Client                                    12.1.0.2.0
SQL*Plus Required Support Files                                      12.1.0.2.0
SSL Required Support Files for InstantClient                         12.1.0.2.0
Tracle File Analyzer                                                 12.1.0.2.0
Universal Storage Manager Files                                      12.1.0.2.0
XDK Required Support Files                                           12.1.0.2.0
XML Parser for Java                                                  12.1.0.2.0
There are 101 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Patch level status of Cluster nodes :

 Patching Level                  Nodes
 --------------                  -----
 0                               dbtest3,dbtest4

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

OPatch succeeded.

[oracle@dbtest3 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
Oracle Interim Patch Installer version 12.2.0.1.5
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/12.1.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/12.1.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.5
OUI version       : 12.1.0.2.0
Log file location : /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatch/opatch2016-08-08_12-48-10PM_1.log

Lsinventory Output file location : /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2016-08-08_12-48-10PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: dbtest3
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1): 

Oracle Database 12c                                                  12.1.0.2.0
There are 1 products installed in this Oracle Home.


Installed Products (135): 

Assistant Common Files                                               12.1.0.2.0
Buildtools Common Files                                              12.1.0.2.0
Cluster Verification Utility Common Files                            12.1.0.2.0
Database Configuration and Upgrade Assistants                        12.1.0.2.0
Database Migration Assistant for Unicode                             12.1.0.2.0
Database SQL Scripts                                                 12.1.0.2.0
Database Workspace Manager                                           12.1.0.2.0
DB TOOLS Listener                                                    12.1.0.2.0
Deinstallation Tool                                                  12.1.0.2.0
Enterprise Edition Options                                           12.1.0.2.0
Expat libraries                                                       2.0.1.0.2
Generic Connectivity Common Files                                    12.1.0.2.0
Hadoopcore Component                                                 12.1.0.2.0
HAS Common Files                                                     12.1.0.2.0
HAS Files for DB                                                     12.1.0.2.0
Installation Common Files                                            12.1.0.2.0
Installation Plugin Files                                            12.1.0.2.0
Installer SDK Component                                              12.1.0.2.0
JAccelerator (COMPANION)                                             12.1.0.2.0
Java Development Kit                                                 1.6.0.75.0
LDAP Required Support Files                                          12.1.0.2.0
OLAP SQL Scripts                                                     12.1.0.2.0
Oracle Advanced Security                                             12.1.0.2.0
Oracle Application Express                                           12.1.0.2.0
Oracle Bali Share                                                    11.1.1.6.0
Oracle Call Interface (OCI)                                          12.1.0.2.0
Oracle Clusterware RDBMS Files                                       12.1.0.2.0
Oracle Configuration Manager                                         10.3.8.1.1
Oracle Configuration Manager Client                                  10.3.2.1.0
Oracle Configuration Manager Deconfiguration                         10.3.1.0.0
Oracle Containers for Java                                           12.1.0.2.0
Oracle Context Companion                                             12.1.0.2.0
Oracle Core Required Support Files                                   12.1.0.2.0
Oracle Core Required Support Files for Core DB                       12.1.0.2.0
Oracle Core XML Development Kit                                      12.1.0.2.0
Oracle Data Mining RDBMS Files                                       12.1.0.2.0
Oracle Database 12c                                                  12.1.0.2.0
Oracle Database 12c                                                  12.1.0.2.0
Oracle Database 12c Multimedia Files                                 12.1.0.2.0
Oracle Database Deconfiguration                                      12.1.0.2.0
Oracle Database Gateway for ODBC                                     12.1.0.2.0
Oracle Database Plugin for Oracle Virtual Assembly Builder           12.1.0.2.0
Oracle Database User Interface                                       11.0.0.0.0
Oracle Database Utilities                                            12.1.0.2.0
Oracle Database Vault option                                         12.1.0.2.0
Oracle DBCA Deconfiguration                                          12.1.0.2.0
Oracle Extended Windowing Toolkit                                    11.1.1.6.0
Oracle Globalization Support                                         12.1.0.2.0
Oracle Globalization Support                                         12.1.0.2.0
Oracle Globalization Support For Core                                12.1.0.2.0
Oracle Help for Java                                                 11.1.1.7.0
Oracle Help Share Library                                            11.1.1.7.0
Oracle Ice Browser                                                   11.1.1.7.0
Oracle Internet Directory Client                                     12.1.0.2.0
Oracle Java Client                                                   12.1.0.2.0
Oracle Java Layout Engine                                            11.0.0.0.0
Oracle JDBC Server Support Package                                   12.1.0.2.0
Oracle JDBC/OCI Instant Client                                       12.1.0.2.0
Oracle JDBC/THIN Interfaces                                          12.1.0.2.0
Oracle JFC Extended Windowing Toolkit                                11.1.1.6.0
Oracle JVM                                                           12.1.0.2.0
Oracle JVM For Core                                                  12.1.0.2.0
Oracle Label Security                                                12.1.0.2.0
Oracle LDAP administration                                           12.1.0.2.0
Oracle Locale Builder                                                12.1.0.2.0
Oracle Message Gateway Common Files                                  12.1.0.2.0
Oracle Multimedia                                                    12.1.0.2.0
Oracle Multimedia Client Option                                      12.1.0.2.0
Oracle Multimedia Java Advanced Imaging                              12.1.0.2.0
Oracle Multimedia Locator                                            12.1.0.2.0
Oracle Multimedia Locator Java Required Support Files                12.1.0.2.0
Oracle Multimedia Locator RDBMS Files                                12.1.0.2.0
Oracle Net                                                           12.1.0.2.0
Oracle Net Java Required Support Files                               12.1.0.2.0
Oracle Net Listener                                                  12.1.0.2.0
Oracle Net Required Support Files                                    12.1.0.2.0
Oracle Net Services                                                  12.1.0.2.0
Oracle Netca Client                                                  12.1.0.2.0
Oracle Notification Service                                          12.1.0.2.0
Oracle Notification Service (eONS)                                   12.1.0.2.0
Oracle Notification Service for Instant Client                       12.1.0.2.0
Oracle ODBC Driver                                                   12.1.0.2.0
Oracle ODBC Driverfor Instant Client                                 12.1.0.2.0
Oracle OLAP                                                          12.1.0.2.0
Oracle OLAP API                                                      12.1.0.2.0
Oracle OLAP RDBMS Files                                              12.1.0.2.0
Oracle One-Off Patch Installer                                       12.1.0.1.2
Oracle Partitioning                                                  12.1.0.2.0
Oracle Programmer                                                    12.1.0.2.0
Oracle Quality of Service Management (Client)                        12.1.0.2.0
Oracle R Enterprise Server Files                                     12.1.0.2.0
Oracle RAC Deconfiguration                                           12.1.0.2.0
Oracle RAC Required Support Files-HAS                                12.1.0.2.0
Oracle Real Application Testing                                      12.1.0.2.0
Oracle Recovery Manager                                              12.1.0.2.0
Oracle Security Developer Tools                                      12.1.0.2.0
Oracle Spatial and Graph                                             12.1.0.2.0
Oracle SQL Developer                                                 12.1.0.2.0
Oracle Starter Database                                              12.1.0.2.0
Oracle Text                                                          12.1.0.2.0
Oracle Text ATG Language Support Files                               12.1.0.2.0
Oracle Text for Core                                                 12.1.0.2.0
Oracle Text Required Support Files                                   12.1.0.2.0
Oracle Universal Connection Pool                                     12.1.0.2.0
Oracle Universal Installer                                           12.1.0.2.0
Oracle USM Deconfiguration                                           12.1.0.2.0
Oracle Wallet Manager                                                12.1.0.2.0
Oracle XML Development Kit                                           12.1.0.2.0
Oracle XML Query                                                     12.1.0.2.0
oracle.swd.oui.core.min                                              12.1.0.2.0
Parser Generator Required Support Files                              12.1.0.2.0
Perl Interpreter                                                     5.14.1.0.0
Perl Modules                                                         5.14.1.0.0
PL/SQL                                                               12.1.0.2.0
PL/SQL Embedded Gateway                                              12.1.0.2.0
Platform Required Support Files                                      12.1.0.2.0
Precompiler Common Files                                             12.1.0.2.0
Precompiler Common Files for Core                                    12.1.0.2.0
Precompiler Required Support Files                                   12.1.0.2.0
Precompilers                                                         12.1.0.2.0
RDBMS Required Support Files                                         12.1.0.2.0
RDBMS Required Support Files for Instant Client                      12.1.0.2.0
RDBMS Required Support Files Runtime                                 12.1.0.2.0
Required Support Files                                               12.1.0.2.0
Sample Schema Data                                                   12.1.0.2.0
Secure Socket Layer                                                  12.1.0.2.0
SQL*Plus                                                             12.1.0.2.0
SQL*Plus Files for Instant Client                                    12.1.0.2.0
SQL*Plus Required Support Files                                      12.1.0.2.0
SQLJ Runtime                                                         12.1.0.2.0
SSL Required Support Files for InstantClient                         12.1.0.2.0
Tracle File Analyzer                                                 12.1.0.2.0
XDK Required Support Files                                           12.1.0.2.0
XML Parser for Java                                                  12.1.0.2.0
XML Parser for Oracle JVM                                            12.1.0.2.0
There are 135 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = dbtest3
  Remote node = dbtest4

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

OPatch succeeded.

4.RAC两节点下载解压GI PSU补丁包
[grid@dbtest3 gi]$ pwd
/soft/gi
[grid@dbtest3 gi]$ unzip p23273629_121020_Linux-x86-64.zip
[grid@dbtest3 gi]$ scp p23273629_121020_Linux-x86-64.zip dbtest4:/soft/gi/
p23273629_121020_Linux-x86-64.zip                                                                                                 100% 1353MB  58.8MB/s   00:23

[grid@dbtest4 gi]$ pwd
/soft/gi
[grid@dbtest4 gi]$ unzip p23273629_121020_Linux-x86-64.zip 

5.RAC两节点PSU补丁包冲突检测
[root@dbtest3 ~]# $GRID_HOME/OPatch/opatchauto apply /soft/gi/23273629 -analyze -ocmrf /home/grid/file.rsp

System initialization log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2016-08-08_01-04-32PM.log.

Session log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/opatchauto2016-08-08_01-05-06PM.log

WARNING: the option -ocmrf is deprecated and no longer needed. OPatch no longer checks for OCM configuration. It will be removed in a future release.

The id for this session is T8GT
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing OPatch prereq operations to verify patch applicability on CRS Home........


Executing OPatch prereq operations to verify patch applicability on RAC Home........

[init:init] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing GIRACPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1
[init:init] Executing GIRACPrereqAction action on home /u01/app/12.1.0/grid

Executing prereq operations before applying on CRS Home........


Executing prereq operations before applying on RAC Home........

[init:init] GIRACPrereqAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] GIRACPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing RACDBPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing prereq operations before applying on RAC Home........

[init:init] RACDBPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
OPatchAuto successful.

--------------------------------Summary--------------------------------

Analysis for applying patches has completed successfully:

Host:dbtest3
CRS Home:/u01/app/12.1.0/grid


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /soft/gi/23273629/21436941
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-28PM_1.log

Patch: /soft/gi/23273629/23054246
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-28PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-28PM_1.log

Patch: /soft/gi/23273629/23054341
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-28PM_1.log


Host:dbtest3
RAC Home:/u01/app/oracle/product/12.1.0/db_1


==Following patches were SKIPPED:

Patch: /soft/gi/23273629/21436941
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /soft/gi/23273629/23054341
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /soft/gi/23273629/23054246
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-34PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-05-34PM_1.log

[root@dbtest4 gi]# $GRID_HOME/OPatch/opatchauto apply /soft/gi/23273629 -analyze -ocmrf /home/grid/file.rsp

System initialization log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2016-08-08_01-15-20PM.log.

Session log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/opatchauto2016-08-08_01-15-51PM.log

WARNING: the option -ocmrf is deprecated and no longer needed. OPatch no longer checks for OCM configuration. It will be removed in a future release.

The id for this session is 2CI6
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid

Executing OPatch prereq operations to verify patch applicability on CRS Home........


Executing OPatch prereq operations to verify patch applicability on RAC Home........

[init:init] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing GIRACPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1
[init:init] Executing GIRACPrereqAction action on home /u01/app/12.1.0/grid

Executing prereq operations before applying on CRS Home........


Executing prereq operations before applying on RAC Home........

[init:init] GIRACPrereqAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] GIRACPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing RACDBPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing prereq operations before applying on RAC Home........

[init:init] RACDBPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
OPatchAuto successful.

--------------------------------Summary--------------------------------

Analysis for applying patches has completed successfully:

Host:dbtest4
CRS Home:/u01/app/12.1.0/grid


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /soft/gi/23273629/21436941
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-10PM_1.log

Patch: /soft/gi/23273629/23054246
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-10PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-10PM_1.log

Patch: /soft/gi/23273629/23054341
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-10PM_1.log


Host:dbtest4
RAC Home:/u01/app/oracle/product/12.1.0/db_1


==Following patches were SKIPPED:

Patch: /soft/gi/23273629/21436941
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /soft/gi/23273629/23054341
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /soft/gi/23273629/23054246
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-15PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-16-15PM_1.log

6.以auto方式打一次性打GI和DB PSU补丁
因为GI PSU包含DB的PSU而auto方式可以一次性将GI和DB PSU打上
两个节点分别打各自的PSU补丁需要以root用户执行
[root@dbtest3 ~]# $GRID_HOME/OPatch/opatchauto apply /soft/gi/23273629 -ocmrf /home/grid/file.rsp

System initialization log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2016-08-08_01-25-06PM.log.

Session log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/opatchauto2016-08-08_01-25-38PM.log

WARNING: the option -ocmrf is deprecated and no longer needed. OPatch no longer checks for OCM configuration. It will be removed in a future release.

The id for this session is JIKY
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing OPatch prereq operations to verify patch applicability on RAC Home........


Executing OPatch prereq operations to verify patch applicability on CRS Home........

[init:init] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing GIRACPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1
[init:init] Executing GIRACPrereqAction action on home /u01/app/12.1.0/grid

Executing prereq operations before applying on CRS Home........


Executing prereq operations before applying on RAC Home........

[init:init] GIRACPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] GIRACPrereqAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] Executing RACDBPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing prereq operations before applying on RAC Home........

[init:init] RACDBPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[shutdown:prepare-shutdown] Executing RACPrepareShutDownAction action on home /u01/app/oracle/product/12.1.0/db_1

Preparing RAC Home to bring down database service........

[shutdown:prepare-shutdown] RACPrepareShutDownAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[shutdown:shutdown] Executing GIShutDownAction action on home /u01/app/12.1.0/grid

Performing prepatch operations on CRS Home........

Prepatch operation log file location: /u01/app/12.1.0/grid/cfgtoollogs/crsconfig/crspatch_dbtest3_2016-08-08_01-29-38PM.log 

[shutdown:shutdown] GIShutDownAction action completed on home /u01/app/12.1.0/grid successfully
[offline:prepare] Executing RACPatchingAction action on home /u01/app/oracle/product/12.1.0/db_1

Performing prepatch operation on RAC Home........

[offline:prepare] RACPatchingAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:binary-patching] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1

Start applying binary patches on RAC Home........

[offline:binary-patching] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:finalize] Executing RACPatchingAction action on home /u01/app/oracle/product/12.1.0/db_1

Performing postpatch operation on RAC Home........

[offline:finalize] RACPatchingAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:binary-patching] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid

Start applying binary patches on CRS Home........

[offline:binary-patching] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[startup:startup] Executing GIStartupAction action on home /u01/app/12.1.0/grid

Performing postpatch operations on CRS Home........

Postpatch operation log file location: /u01/app/12.1.0/grid/cfgtoollogs/crsconfig/crspatch_dbtest3_2016-08-08_01-41-29PM.log 

[startup:startup] GIStartupAction action completed on home /u01/app/12.1.0/grid successfully
[startup:finalize] Executing RACFinalizeStartAction action on home /u01/app/oracle/product/12.1.0/db_1

No step execution required.........

[startup:finalize] RACFinalizeStartAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[online:product-patching] Executing RACOnlineAction action on home /u01/app/oracle/product/12.1.0/db_1

Trying to apply SQL patches on RAC Home.

[online:product-patching] RACOnlineAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[finalize:finalize] Executing OracleHomeLSInventoryGrepAction action on home /u01/app/12.1.0/grid

Verifying patches applied on CRS Home.

[finalize:finalize] OracleHomeLSInventoryGrepAction action completed on home /u01/app/12.1.0/grid successfully
[finalize:finalize] Executing OracleHomeLSInventoryGrepAction action on home /u01/app/oracle/product/12.1.0/db_1

Verifying patches applied on RAC Home.

[finalize:finalize] OracleHomeLSInventoryGrepAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
OPatchAuto successful.

--------------------------------Summary--------------------------------

Patching is completed successfully. Please find the summary as follows:

Host:dbtest3
RAC Home:/u01/app/oracle/product/12.1.0/db_1
Summary:

==Following patches were SKIPPED:

Patch: /soft/gi/23273629/21436941
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /soft/gi/23273629/23054341
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY applied:

Patch: /soft/gi/23273629/23054246
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-31-19PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-31-19PM_1.log


Host:dbtest3
CRS Home:/u01/app/12.1.0/grid
Summary:

==Following patches were SUCCESSFULLY applied:

Patch: /soft/gi/23273629/21436941
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-35-05PM_1.log

Patch: /soft/gi/23273629/23054246
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-35-05PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-35-05PM_1.log

Patch: /soft/gi/23273629/23054341
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_13-35-05PM_1.log

[root@dbtest4 gi]# $GRID_HOME/OPatch/opatchauto apply /soft/gi/23273629 -ocmrf /home/grid/file.rsp

System initialization log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchautodb/systemconfig2016-08-08_02-02-33PM.log.

Session log file is /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/opatchauto2016-08-08_02-03-02PM.log

WARNING: the option -ocmrf is deprecated and no longer needed. OPatch no longer checks for OCM configuration. It will be removed in a future release.

The id for this session is 7ZH1
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing OPatch prereq operations to verify patch applicability on CRS Home........


Executing OPatch prereq operations to verify patch applicability on RAC Home........

[init:init] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] Executing GIRACPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1
[init:init] Executing GIRACPrereqAction action on home /u01/app/12.1.0/grid

Executing prereq operations before applying on CRS Home........


Executing prereq operations before applying on RAC Home........

[init:init] GIRACPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[init:init] GIRACPrereqAction action completed on home /u01/app/12.1.0/grid successfully
[init:init] Executing RACDBPrereqAction action on home /u01/app/oracle/product/12.1.0/db_1

Executing prereq operations before applying on RAC Home........

[init:init] RACDBPrereqAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[shutdown:prepare-shutdown] Executing RACPrepareShutDownAction action on home /u01/app/oracle/product/12.1.0/db_1

Preparing RAC Home to bring down database service........

[shutdown:prepare-shutdown] RACPrepareShutDownAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[shutdown:shutdown] Executing GIShutDownAction action on home /u01/app/12.1.0/grid

Performing prepatch operations on CRS Home........

Prepatch operation log file location: /u01/app/12.1.0/grid/cfgtoollogs/crsconfig/crspatch_dbtest4_2016-08-08_02-08-20PM.log 

[shutdown:shutdown] GIShutDownAction action completed on home /u01/app/12.1.0/grid successfully
[offline:prepare] Executing RACPatchingAction action on home /u01/app/oracle/product/12.1.0/db_1

Performing prepatch operation on RAC Home........

[offline:prepare] RACPatchingAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:binary-patching] Executing OPatchAutoBinaryAction action on home /u01/app/oracle/product/12.1.0/db_1

Start applying binary patches on RAC Home........

[offline:binary-patching] OPatchAutoBinaryAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:finalize] Executing RACPatchingAction action on home /u01/app/oracle/product/12.1.0/db_1

Performing postpatch operation on RAC Home........

[offline:finalize] RACPatchingAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[offline:binary-patching] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid

Start applying binary patches on CRS Home........

[offline:binary-patching] OPatchAutoBinaryAction action completed on home /u01/app/12.1.0/grid successfully
[startup:startup] Executing GIStartupAction action on home /u01/app/12.1.0/grid

Performing postpatch operations on CRS Home........

Postpatch operation log file location: /u01/app/12.1.0/grid/cfgtoollogs/crsconfig/crspatch_dbtest4_2016-08-08_02-19-55PM.log 

[startup:startup] GIStartupAction action completed on home /u01/app/12.1.0/grid successfully
[startup:finalize] Executing RACFinalizeStartAction action on home /u01/app/oracle/product/12.1.0/db_1

No step execution required.........

[startup:finalize] RACFinalizeStartAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[online:product-patching] Executing RACOnlineAction action on home /u01/app/oracle/product/12.1.0/db_1

Trying to apply SQL patches on RAC Home.

[online:product-patching] RACOnlineAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
[finalize:finalize] Executing OracleHomeLSInventoryGrepAction action on home /u01/app/12.1.0/grid

Verifying patches applied on CRS Home.

[finalize:finalize] OracleHomeLSInventoryGrepAction action completed on home /u01/app/12.1.0/grid successfully
[finalize:finalize] Executing OracleHomeLSInventoryGrepAction action on home /u01/app/oracle/product/12.1.0/db_1

Verifying patches applied on RAC Home.

[finalize:finalize] OracleHomeLSInventoryGrepAction action completed on home /u01/app/oracle/product/12.1.0/db_1 successfully
OPatchAuto successful.

--------------------------------Summary--------------------------------

Patching is completed successfully. Please find the summary as follows:

Host:dbtest4
RAC Home:/u01/app/oracle/product/12.1.0/db_1
Summary:

==Following patches were SKIPPED:

Patch: /soft/gi/23273629/21436941
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /soft/gi/23273629/23054341
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY applied:

Patch: /soft/gi/23273629/23054246
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-09-37PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-09-37PM_1.log


Host:dbtest4
CRS Home:/u01/app/12.1.0/grid
Summary:

==Following patches were SUCCESSFULLY applied:

Patch: /soft/gi/23273629/21436941
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-13-24PM_1.log

Patch: /soft/gi/23273629/23054246
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-13-24PM_1.log

Patch: /soft/gi/23273629/23054327
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-13-24PM_1.log

Patch: /soft/gi/23273629/23054341
Log: /u01/app/12.1.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2016-08-08_14-13-24PM_1.log

7.检查PSU是否更新成功
SQL> select patch_id, patch_uid, version, status, description
  2    from dba_registry_sqlpatch
  3   where bundle_series = 'PSU';

  PATCH_ID  PATCH_UID VERSION              STATUS          DESCRIPTION
---------- ---------- -------------------- --------------- ----------------------------------------------------------------------
  23054246   20213895 12.1.0.2             SUCCESS         Database Patch Set Update : 12.1.0.2.160719 (23054246)

也可以使用opatch lsinventory检查
$GRID_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.5
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/12.1.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/12.1.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.5
OUI version       : 12.1.0.2.0
Log file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-08_17-12-05PM_1.log

Lsinventory Output file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2016-08-08_17-12-05PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: dbtest4
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1): 

Oracle Grid Infrastructure 12c                                       12.1.0.2.0
There are 1 products installed in this Oracle Home.


Interim patches (4) :

Patch  23054341     : applied on Mon Aug 08 14:19:49 CST 2016
Unique Patch ID:  20208719
Patch description:  "ACFS Patch Set Update : 12.1.0.2.160719 (23054341)"
   Created on 13 Jun 2016, 03:33:03 hrs PST8PDT
   Bugs fixed:
     19452723, 18900953, 21208140, 19844362, 18951113, 19526234, 18899600
     22810422, 20923224, 19517835, 18185024, 19013966, 19195735, 19001684
     19509898, 19053182, 22087780, 20438706, 19593769, 19610001, 19475588
     19811784, 18957085, 19279106, 19184398, 20098064, 22222222, 22198405
     20140148, 21519796, 19450090, 19502657, 19859183, 18877486, 18915417
     21231953, 19060056, 18955907, 19078259, 19919907, 19127216, 20010980
     18934139, 22689989, 19335268, 21555038, 20681968, 18851012, 19149476
     20952520, 19526283, 19428756, 19183802, 19051391, 22846612, 19690653
     19355146, 20314907, 20402287, 22661787, 19644505, 22198176, 19353057
     19270227, 19201087, 21233961, 21124596, 19901825, 19610022, 19446719
     19649858, 18321597, 19557156, 19469788, 21076821, 22319558, 18510745
     19528981, 21369858, 19134464

Patch  23054327     : applied on Mon Aug 08 14:17:54 CST 2016
Unique Patch ID:  20208671
Patch description:  "OCW Patch Set Update : 12.1.0.2.160719 (23054327)"
   Created on 16 Jul 2016, 06:57:02 hrs PST8PDT
   Bugs fixed:
     21339083, 19701617, 18589889, 20768643, 19139608, 19280860, 19061429
     21453435, 19133945, 19341538, 19521169, 20011424, 18946768, 19135521
     18604143, 19361757, 19187207, 19302350, 19627476, 19130141, 19530755
     20568884, 20317221, 19699720, 20177779, 19620918, 19168690, 19266658
     18899171, 19244316, 19653795, 18330979, 19027351, 18634372, 19471722
     21227730, 18707416, 19536337, 19184188, 19131709, 21113068, 20235486
     19925992, 20160490, 20006646, 20995001, 18991776, 18439295, 15922206
     21131037, 19380733, 21245437, 18943696, 20552947, 19591984, 19550195
     19163425, 18135723, 20014326, 19524857, 18849021, 18890943, 18861196
     19154753, 17940721, 18524834, 18748932, 18835283, 19522313, 19184765
     19499021, 21639478, 19046190, 20923930, 14851828, 20028666, 19051385
     19050688, 19682695, 19831611, 20598625, 19226141, 21607972, 19053891
     18871287, 18998228, 18922918, 18980002, 21087799, 18956780, 19683886
     19325604, 19682778, 23757020, 19026993, 18777835, 20110156, 17338864
     21269977, 18261648, 18362971, 19558324, 22651583, 18945906, 19513650
     20185476, 18952577, 19702758, 18882642, 19478119, 19414274, 17447588
     19262534, 20752167, 19147513, 21242118, 19514085, 19473088, 20758997
     19178517, 18729269, 19529729, 19659885, 19455563, 19319904, 20877072
     18703978, 18536826, 20340620, 19700256, 19703246, 19292605, 20467806
     22264951, 19192901, 21527118, 20920711, 20660273, 20011635, 17592037
     22989069, 19479503, 19147751, 19029647, 19179158, 22302421, 18901356
     19140712, 20012766, 21232394, 18964974, 22162062, 18835366, 19184276
     19013789, 19207286, 20001507, 20510208, 18950232, 22583325, 19259765
     19148791, 19680763, 20079414, 19556820, 16505171, 22135419, 19449737
     18962892, 21646169, 19187515, 19513888, 19230771, 14661880, 21519340
     20218012, 21222147, 20795241, 19453778, 19853036, 19551830, 19068333
     21616278, 18843572, 18520351, 18945435, 19185148, 19232454, 20775015
     21220597, 18541110, 19319192, 18834955, 19204743, 19178629, 20839581
     19304104, 21694237, 19140891, 18747335, 19284357, 20676340, 19270660
     19457575, 20725084, 21297657, 19021575, 19069755, 18715884, 18798573
     19584688, 19018001, 19812592, 19325701, 19270956, 19292272, 21967791
     20877003, 21794779, 18700893, 19222693, 19662663, 21276514, 18406774
     19684131, 20607821, 19010177, 21082737, 19272663, 18910576, 18907170
     21694632, 19426384, 9372680, 20115586, 20883009, 19700294, 19164099
     20289828, 19331454, 18283792, 20278216, 20827053, 19155350, 20119857
     19703199, 22456393, 20588164, 18955644, 20991879, 18508710, 19908346
     18798432, 19146822, 19589221, 21123424, 18952857, 19471836, 19537762
     20936562, 21152052, 16286734, 18750781, 20669114, 18762843, 18945249
     19045143, 19146980, 22483804, 19184799, 19205086, 19601003, 20099624
     19351363, 21378016, 20091753, 18862203, 19281106, 19537547, 19031737
     19079087, 19148367, 18968981, 19150517, 20231741, 19954372, 19217019
     18730096, 18235274, 18975620, 19205617, 19513351, 18843054, 19150313
     20219458, 18708349, 19332386, 18953639, 19067804, 21423055, 21259359
     19371270, 19203996, 19054979, 19209951, 19318983, 18747382, 20038431
     19154673, 18752378, 22905714, 19150088, 19370846, 19013444, 19234177
     21053036, 18998379, 20157569, 21357522, 18999857, 19273577, 19075747
     19367276, 19632437, 18990354, 19288396, 19874047, 19612597, 19557558
     20620581, 19427050, 19127078, 18910443, 20900588, 22088198, 20053557
     20033787, 19315567, 19444471, 19148982, 20953798, 18290252, 18813323
     19915945, 19777496, 19500293, 20730170, 18643483, 19277814, 19134098
     18523468, 20562133, 19071526, 21420753, 18965694, 19226858, 18850051
     20433932, 19602208, 19591356, 22884308, 20061168, 18417590, 19370739
     18920408, 20822591, 18636884, 19609388, 20136892, 18776786, 18989446
     22289350, 19148793, 19043795, 19585454, 20746507, 18260170, 18317489
     19955755, 18919682, 19059053, 19807548, 19124972, 18678829, 19147509
     18849896, 19617592, 18910748, 18953878, 19273758, 19319357, 19076165
     18999195, 19498411, 19704993, 18759724, 21294273, 19459023, 20634511
     21474380, 19066844, 21484367, 20276459, 17208793, 19234907, 20290467
     13843841, 19538714, 19649640, 19383028, 19062675, 21924910, 19513969
     22195657, 18859710, 20862812, 19504641, 19341481, 18304090, 20293730
     19986391, 19343245, 19314048, 18834934, 19473851, 19241655, 19458082
     18242738, 19470791, 18894342, 20649573, 18372060, 19522067, 18953889
     18827679, 19259290, 19023430, 19140711, 19045388, 20186278, 19241857
     19522571, 19076778, 18875012, 19709663, 18861564, 19066699, 19273760
     19225265, 15885689, 20853464, 18819158, 21696068, 19068003, 18937186
     20267877, 19049721, 21394146, 19916737, 19368917, 22393909, 21255373
     19635215, 18868829, 19613533, 20579351, 20408163, 20350915, 21327402
     21057239, 22024217, 20783416, 19315522, 19141785, 23101338, 19163887
     19885321, 19820247, 18715868, 18852058, 20363708, 19538241, 19804032

Patch  23054246     : applied on Mon Aug 08 14:15:26 CST 2016
Unique Patch ID:  20213895
Patch description:  "Database Patch Set Update : 12.1.0.2.160719 (23054246)"
   Created on 5 Jul 2016, 07:07:59 hrs PST8PDT
Sub-patch  22291127; "Database Patch Set Update : 12.1.0.2.160419 (22291127)"
Sub-patch  21948354; "Database Patch Set Update : 12.1.0.2.160119 (21948354)"
Sub-patch  21359755; "Database Patch Set Update : 12.1.0.2.5 (21359755)"
Sub-patch  20831110; "Database Patch Set Update : 12.1.0.2.4 (20831110)"
Sub-patch  20299023; "Database Patch Set Update : 12.1.0.2.3 (20299023)"
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 21847223, 21099555, 21649497, 19075256, 19141838, 22762046
     22075064, 20117253, 19865345, 19791273, 18845653, 19280225, 19248799
     19243521, 20951038, 18988834, 21756699, 21281532, 19238590, 21184223
     18921743, 20245930, 18799063, 19134173, 20373598, 19571367, 20476175
     20925795, 19018206, 20509482, 20711718, 20387265, 20588502, 19149990
     21263635, 18849537, 18886413, 17551063, 22507210, 19183343, 19366375
     19703301, 21917884, 19001390, 18202441, 19189317, 20267166, 19644859
     19390567, 19358317, 19279273, 19706965, 18549238, 16863642, 19068970
     22528741, 18797519, 20825533, 19619732, 18607546, 20348653, 19649152
     19670108, 18940497, 18948177, 19315691, 19676905, 18964978, 19176326
     20165574, 19035573, 20413820, 17867700, 20558005, 19176223, 19532017
     20904530, 20134339, 19450314, 19074147, 22353346, 20868862, 18411216
     22507234, 20361671, 20425790, 18966843, 20009833, 22366558, 21329301
     20294666, 18191823, 19333670, 19195895, 19371175, 19307662, 19154375
     20043616, 20124446, 18914624, 19468991, 19883092, 21291274, 19382851
     19520602, 19174521, 21875360, 19676012, 19326908, 19658708, 19591608
     19402853, 20093776, 20618595, 21787056, 22380919, 21246723, 17835294
     19721304, 19068610, 19791377, 21665897, 22178855, 22173980, 20048359
     20746251, 19143550, 20898391, 19185876, 19627012, 20281121, 19577410
     22092979, 19001359, 14283239, 19518079, 18610915, 19490948, 17532734
     18674024, 18306996, 19309466, 19081128, 19524158, 19915271, 20122715
     21188532, 18791688, 20284155, 20890311, 21442094, 20596234, 18973548
     21296029, 19303936, 19597439, 20936905, 20235511, 21220620, 20880215
     18964939, 21756677, 19888853, 19534363, 19430401, 19354335, 19044962
     19639483, 22296366, 22353199, 21153266, 19409212, 19879746, 20657441
     19684504, 20528052, 19024808, 20977794, 20378086, 18799993, 21756661
     21260431, 18740837, 22923409, 19028800, 20877664, 20228093, 20879889
     19065556, 19723336, 19077215, 19604659, 21421886, 19524384, 17722075
     19308965, 18288842, 19048007, 19689979, 20446883, 18952989, 16870214
     19928926, 19835133, 21629064, 21526048, 19197175, 19180770, 20466628
     19902195, 19931709, 20318889, 19013183, 19730508, 19012119, 19067244
     20074391, 20356733, 14643995, 19512341, 19841800, 20331945, 19587324
     19065677, 19547370, 19578350, 21225209, 19637186, 20397490, 18967382
     19174430, 21241829, 19054077, 18674047, 20898997, 19708632, 19536415
     21091431, 19289642, 20869721, 22168163, 19335438, 19258504, 20447445
     17365043, 18856999, 19468347, 19869255, 20471920, 21373473, 21620471
     16359751, 18990693, 17890099, 19769480, 19439759, 19272708, 18990023
     19978542, 19329654, 20101006, 21300341, 20402832, 19873610, 20848335
     23229229, 21744290, 21668627, 21517440, 13542050, 19304354, 19052488
     20794034, 19291380, 21915719, 23260854, 18681056, 20952966, 19896336
     19076343, 19561643, 18618122, 19990037, 20440930, 18456643, 19699191
     19201867, 19487147, 18909599, 20831538, 19016730, 18250893, 20798891
     18743542, 20347562, 16619249, 18354830, 22551446, 19777862, 19687159
     21373076, 19174942, 20424899, 21188584, 19989009, 17414008, 20688221
     21899588, 20441797, 19157754, 19058490, 19032777, 22815955, 19399918
     18885870, 19434529, 21273804, 19018447, 21450666, 18893947, 18851894
     16923858, 18417036, 20919320, 19022470, 19284031, 20474192, 20173897
     22046677, 22062026, 19501299, 19385656, 20920911, 17274537, 20899461
     21315084, 19440586, 16887946, 22374754, 17319928, 19606174, 20708701
     18436647, 17655240, 19023822, 19124589, 19178851, 16439813, 19805359
     19597583, 18499088, 19155797, 19050649, 19393542

Patch  21436941     : applied on Mon Aug 08 14:13:46 CST 2016
Unique Patch ID:  19245012
Patch description:  "WLM Patch Set Update: 12.1.0.2.5 (21436941)"
   Created on 13 Aug 2015, 04:00:40 hrs PST8PDT
   Bugs fixed:
     20075154, 20641027, 20548410, 19016964, 19582630



Patch level status of Cluster nodes :

 Patching Level                  Nodes
 --------------                  -----
 3696455212                      dbtest3,dbtest4

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

$ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.5
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/12.1.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/12.1.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.5
OUI version       : 12.1.0.2.0
Log file location : /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatch/opatch2016-08-08_17-11-12PM_1.log

Lsinventory Output file location : /u01/app/oracle/product/12.1.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2016-08-08_17-11-12PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: dbtest4
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1): 

Oracle Database 12c                                                  12.1.0.2.0
There are 1 products installed in this Oracle Home.


Interim patches (2) :

Patch  23054327     : applied on Mon Aug 08 14:13:14 CST 2016
Unique Patch ID:  20208671
Patch description:  "OCW Patch Set Update : 12.1.0.2.160719 (23054327)"
   Created on 16 Jul 2016, 06:57:02 hrs PST8PDT
   Bugs fixed:
     21339083, 19701617, 18589889, 20768643, 19139608, 19280860, 19061429
     21453435, 19133945, 19341538, 19521169, 20011424, 18946768, 19135521
     18604143, 19361757, 19187207, 19302350, 19627476, 19130141, 19530755
     20568884, 20317221, 19699720, 20177779, 19620918, 19168690, 19266658
     18899171, 19244316, 19653795, 18330979, 19027351, 18634372, 19471722
     21227730, 18707416, 19536337, 19184188, 19131709, 21113068, 20235486
     19925992, 20160490, 20006646, 20995001, 18991776, 18439295, 15922206
     21131037, 19380733, 21245437, 18943696, 20552947, 19591984, 19550195
     19163425, 18135723, 20014326, 19524857, 18849021, 18890943, 18861196
     19154753, 17940721, 18524834, 18748932, 18835283, 19522313, 19184765
     19499021, 21639478, 19046190, 20923930, 14851828, 20028666, 19051385
     19050688, 19682695, 19831611, 20598625, 19226141, 21607972, 19053891
     18871287, 18998228, 18922918, 18980002, 21087799, 18956780, 19683886
     19325604, 19682778, 23757020, 19026993, 18777835, 20110156, 17338864
     21269977, 18261648, 18362971, 19558324, 22651583, 18945906, 19513650
     20185476, 18952577, 19702758, 18882642, 19478119, 19414274, 17447588
     19262534, 20752167, 19147513, 21242118, 19514085, 19473088, 20758997
     19178517, 18729269, 19529729, 19659885, 19455563, 19319904, 20877072
     18703978, 18536826, 20340620, 19700256, 19703246, 19292605, 20467806
     22264951, 19192901, 21527118, 20920711, 20660273, 20011635, 17592037
     22989069, 19479503, 19147751, 19029647, 19179158, 22302421, 18901356
     19140712, 20012766, 21232394, 18964974, 22162062, 18835366, 19184276
     19013789, 19207286, 20001507, 20510208, 18950232, 22583325, 19259765
     19148791, 19680763, 20079414, 19556820, 16505171, 22135419, 19449737
     18962892, 21646169, 19187515, 19513888, 19230771, 14661880, 21519340
     20218012, 21222147, 20795241, 19453778, 19853036, 19551830, 19068333
     21616278, 18843572, 18520351, 18945435, 19185148, 19232454, 20775015
     21220597, 18541110, 19319192, 18834955, 19204743, 19178629, 20839581
     19304104, 21694237, 19140891, 18747335, 19284357, 20676340, 19270660
     19457575, 20725084, 21297657, 19021575, 19069755, 18715884, 18798573
     19584688, 19018001, 19812592, 19325701, 19270956, 19292272, 21967791
     20877003, 21794779, 18700893, 19222693, 19662663, 21276514, 18406774
     19684131, 20607821, 19010177, 21082737, 19272663, 18910576, 18907170
     21694632, 19426384, 9372680, 20115586, 20883009, 19700294, 19164099
     20289828, 19331454, 18283792, 20278216, 20827053, 19155350, 20119857
     19703199, 22456393, 20588164, 18955644, 20991879, 18508710, 19908346
     18798432, 19146822, 19589221, 21123424, 18952857, 19471836, 19537762
     20936562, 21152052, 16286734, 18750781, 20669114, 18762843, 18945249
     19045143, 19146980, 22483804, 19184799, 19205086, 19601003, 20099624
     19351363, 21378016, 20091753, 18862203, 19281106, 19537547, 19031737
     19079087, 19148367, 18968981, 19150517, 20231741, 19954372, 19217019
     18730096, 18235274, 18975620, 19205617, 19513351, 18843054, 19150313
     20219458, 18708349, 19332386, 18953639, 19067804, 21423055, 21259359
     19371270, 19203996, 19054979, 19209951, 19318983, 18747382, 20038431
     19154673, 18752378, 22905714, 19150088, 19370846, 19013444, 19234177
     21053036, 18998379, 20157569, 21357522, 18999857, 19273577, 19075747
     19367276, 19632437, 18990354, 19288396, 19874047, 19612597, 19557558
     20620581, 19427050, 19127078, 18910443, 20900588, 22088198, 20053557
     20033787, 19315567, 19444471, 19148982, 20953798, 18290252, 18813323
     19915945, 19777496, 19500293, 20730170, 18643483, 19277814, 19134098
     18523468, 20562133, 19071526, 21420753, 18965694, 19226858, 18850051
     20433932, 19602208, 19591356, 22884308, 20061168, 18417590, 19370739
     18920408, 20822591, 18636884, 19609388, 20136892, 18776786, 18989446
     22289350, 19148793, 19043795, 19585454, 20746507, 18260170, 18317489
     19955755, 18919682, 19059053, 19807548, 19124972, 18678829, 19147509
     18849896, 19617592, 18910748, 18953878, 19273758, 19319357, 19076165
     18999195, 19498411, 19704993, 18759724, 21294273, 19459023, 20634511
     21474380, 19066844, 21484367, 20276459, 17208793, 19234907, 20290467
     13843841, 19538714, 19649640, 19383028, 19062675, 21924910, 19513969
     22195657, 18859710, 20862812, 19504641, 19341481, 18304090, 20293730
     19986391, 19343245, 19314048, 18834934, 19473851, 19241655, 19458082
     18242738, 19470791, 18894342, 20649573, 18372060, 19522067, 18953889
     18827679, 19259290, 19023430, 19140711, 19045388, 20186278, 19241857
     19522571, 19076778, 18875012, 19709663, 18861564, 19066699, 19273760
     19225265, 15885689, 20853464, 18819158, 21696068, 19068003, 18937186
     20267877, 19049721, 21394146, 19916737, 19368917, 22393909, 21255373
     19635215, 18868829, 19613533, 20579351, 20408163, 20350915, 21327402
     21057239, 22024217, 20783416, 19315522, 19141785, 23101338, 19163887
     19885321, 19820247, 18715868, 18852058, 20363708, 19538241, 19804032

Patch  23054246     : applied on Mon Aug 08 14:11:40 CST 2016
Unique Patch ID:  20213895
Patch description:  "Database Patch Set Update : 12.1.0.2.160719 (23054246)"
   Created on 5 Jul 2016, 07:07:59 hrs PST8PDT
Sub-patch  22291127; "Database Patch Set Update : 12.1.0.2.160419 (22291127)"
Sub-patch  21948354; "Database Patch Set Update : 12.1.0.2.160119 (21948354)"
Sub-patch  21359755; "Database Patch Set Update : 12.1.0.2.5 (21359755)"
Sub-patch  20831110; "Database Patch Set Update : 12.1.0.2.4 (20831110)"
Sub-patch  20299023; "Database Patch Set Update : 12.1.0.2.3 (20299023)"
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 21847223, 21099555, 21649497, 19075256, 19141838, 22762046
     22075064, 20117253, 19865345, 19791273, 18845653, 19280225, 19248799
     19243521, 20951038, 18988834, 21756699, 21281532, 19238590, 21184223
     18921743, 20245930, 18799063, 19134173, 20373598, 19571367, 20476175
     20925795, 19018206, 20509482, 20711718, 20387265, 20588502, 19149990
     21263635, 18849537, 18886413, 17551063, 22507210, 19183343, 19366375
     19703301, 21917884, 19001390, 18202441, 19189317, 20267166, 19644859
     19390567, 19358317, 19279273, 19706965, 18549238, 16863642, 19068970
     22528741, 18797519, 20825533, 19619732, 18607546, 20348653, 19649152
     19670108, 18940497, 18948177, 19315691, 19676905, 18964978, 19176326
     20165574, 19035573, 20413820, 17867700, 20558005, 19176223, 19532017
     20904530, 20134339, 19450314, 19074147, 22353346, 20868862, 18411216
     22507234, 20361671, 20425790, 18966843, 20009833, 22366558, 21329301
     20294666, 18191823, 19333670, 19195895, 19371175, 19307662, 19154375
     20043616, 20124446, 18914624, 19468991, 19883092, 21291274, 19382851
     19520602, 19174521, 21875360, 19676012, 19326908, 19658708, 19591608
     19402853, 20093776, 20618595, 21787056, 22380919, 21246723, 17835294
     19721304, 19068610, 19791377, 21665897, 22178855, 22173980, 20048359
     20746251, 19143550, 20898391, 19185876, 19627012, 20281121, 19577410
     22092979, 19001359, 14283239, 19518079, 18610915, 19490948, 17532734
     18674024, 18306996, 19309466, 19081128, 19524158, 19915271, 20122715
     21188532, 18791688, 20284155, 20890311, 21442094, 20596234, 18973548
     21296029, 19303936, 19597439, 20936905, 20235511, 21220620, 20880215
     18964939, 21756677, 19888853, 19534363, 19430401, 19354335, 19044962
     19639483, 22296366, 22353199, 21153266, 19409212, 19879746, 20657441
     19684504, 20528052, 19024808, 20977794, 20378086, 18799993, 21756661
     21260431, 18740837, 22923409, 19028800, 20877664, 20228093, 20879889
     19065556, 19723336, 19077215, 19604659, 21421886, 19524384, 17722075
     19308965, 18288842, 19048007, 19689979, 20446883, 18952989, 16870214
     19928926, 19835133, 21629064, 21526048, 19197175, 19180770, 20466628
     19902195, 19931709, 20318889, 19013183, 19730508, 19012119, 19067244
     20074391, 20356733, 14643995, 19512341, 19841800, 20331945, 19587324
     19065677, 19547370, 19578350, 21225209, 19637186, 20397490, 18967382
     19174430, 21241829, 19054077, 18674047, 20898997, 19708632, 19536415
     21091431, 19289642, 20869721, 22168163, 19335438, 19258504, 20447445
     17365043, 18856999, 19468347, 19869255, 20471920, 21373473, 21620471
     16359751, 18990693, 17890099, 19769480, 19439759, 19272708, 18990023
     19978542, 19329654, 20101006, 21300341, 20402832, 19873610, 20848335
     23229229, 21744290, 21668627, 21517440, 13542050, 19304354, 19052488
     20794034, 19291380, 21915719, 23260854, 18681056, 20952966, 19896336
     19076343, 19561643, 18618122, 19990037, 20440930, 18456643, 19699191
     19201867, 19487147, 18909599, 20831538, 19016730, 18250893, 20798891
     18743542, 20347562, 16619249, 18354830, 22551446, 19777862, 19687159
     21373076, 19174942, 20424899, 21188584, 19989009, 17414008, 20688221
     21899588, 20441797, 19157754, 19058490, 19032777, 22815955, 19399918
     18885870, 19434529, 21273804, 19018447, 21450666, 18893947, 18851894
     16923858, 18417036, 20919320, 19022470, 19284031, 20474192, 20173897
     22046677, 22062026, 19501299, 19385656, 20920911, 17274537, 20899461
     21315084, 19440586, 16887946, 22374754, 17319928, 19606174, 20708701
     18436647, 17655240, 19023822, 19124589, 19178851, 16439813, 19805359
     19597583, 18499088, 19155797, 19050649, 19393542



Rac system comprising of multiple nodes
  Local node = dbtest4
  Remote node = dbtest3

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

OPatch succeeded.

该PSU更新过程步骤参照GI PSU补丁包read me文档执行。

11.2.0.4.0 RAC升级PSU 11.2.0.4.6

自11.2.0.2版本之后的PSU补丁,由于Oracle官方推荐使用OCM响应文件以apply auto方式打补丁,因此每次发布的PSU补丁,对于DB虽有单独的补丁包,但是GI的PSU中也是包含DB的PSU补丁的,这样做的好处在于,使用OCM响应文件以apply auto方式打补丁方式,相比以前的manual方式就变得很简单,特别是对于RAC环境,每个节点只各执行一条命令即可完成,本文档就以官方推荐的方式使用OCM响应文件以apply auto方式,将11.2.0.4.0 RAC数据库更新到11.2.0.4.6

--- 环境描述
OEL: 5.10
GI : 11.2.0.4.0
DB : 11.2.0.4.0
PSU: p20485808_112040_Linux-x86-64.zip (该PSU补丁为GI 112.0.4.6其中包含DB 11.2.0.4.6)

--- 集群资源服务状态
[grid@11grac1 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    11grac1     
ora....C1.lsnr application    ONLINE    ONLINE    11grac1     
ora....ac1.gsd application    OFFLINE   OFFLINE               
ora....ac1.ons application    ONLINE    ONLINE    11grac1     
ora....ac1.vip ora....t1.type ONLINE    ONLINE    11grac1     
ora....SM2.asm application    ONLINE    ONLINE    11grac2     
ora....C2.lsnr application    ONLINE    ONLINE    11grac2     
ora....ac2.gsd application    OFFLINE   OFFLINE               
ora....ac2.ons application    ONLINE    ONLINE    11grac2     
ora....ac2.vip ora....t1.type ONLINE    ONLINE    11grac2     
ora.DATA.dg    ora....up.type ONLINE    ONLINE    11grac1     
ora....ER.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora....N1.lsnr ora....er.type ONLINE    ONLINE    11grac2     
ora....N2.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora....N3.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora.OVDF.dg    ora....up.type ONLINE    ONLINE    11grac1     
ora.RFA.dg     ora....up.type ONLINE    ONLINE    11grac1     
ora.asm        ora.asm.type   ONLINE    ONLINE    11grac1     
ora.cvu        ora.cvu.type   ONLINE    ONLINE    11grac2     
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    11grac1     
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    11grac2     
ora.ons        ora.ons.type   ONLINE    ONLINE    11grac1     
ora.rac11g.db  ora....se.type ONLINE    ONLINE    11grac1     
ora....srv.svc ora....ce.type ONLINE    ONLINE    11grac1     
ora....ect.svc ora....ce.type ONLINE    ONLINE    11grac2     
ora....ry.acfs ora....fs.type ONLINE    ONLINE    11grac1     
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    11grac2     
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    11grac1     
ora.scan3.vip  ora....ip.type ONLINE    ONLINE    11grac1     
[grid@11grac1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.OVDF.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.RFA.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.asm
               ONLINE  ONLINE       11grac1                  Started             
               ONLINE  ONLINE       11grac2                  Started             
ora.gsd
               OFFLINE OFFLINE      11grac1                                      
               OFFLINE OFFLINE      11grac2                                      
ora.net1.network
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.ons
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.registry.acfs
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.11grac1.vip
      1        ONLINE  ONLINE       11grac1                                      
ora.11grac2.vip
      1        ONLINE  ONLINE       11grac2                                      
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       11grac2                                      
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       11grac1                                      
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       11grac1                                      
ora.cvu
      1        ONLINE  ONLINE       11grac2                                      
ora.oc4j
      1        ONLINE  ONLINE       11grac2                                      
ora.rac11g.db
      1        ONLINE  ONLINE       11grac1                  Open                
      2        ONLINE  ONLINE       11grac2                  Open                
ora.rac11g.rac11gsrv.svc
      1        ONLINE  ONLINE       11grac1                                      
ora.rac11g.rac11gsrv_preconnect.svc
      1        ONLINE  ONLINE       11grac2                                      
ora.scan1.vip
      1        ONLINE  ONLINE       11grac2                                      
ora.scan2.vip
      1        ONLINE  ONLINE       11grac1                                      
ora.scan3.vip
      1        ONLINE  ONLINE       11grac1

1.检查OPatch及数据库版本信息
1)grid的OPatch版本
[grid@11grac1 ~]$ cd $GI_HOME/OPatch
[grid@11grac1 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-19_06-37-20AM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_06-37-20AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = 11grac1
  Remote node = 11grac2

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

OPatch succeeded.

[grid@11grac2 ~]$ cd $GI_HOME/OPatch 
[grid@11grac2 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-19_06-46-43AM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_06-46-43AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = 11grac2
  Remote node = 11grac1

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

OPatch succeeded.

2)oracle的OPatch版本
[oracle@11grac1 ~]$ cd $ORACLE_HOME/OPatch
[oracle@11grac1 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2015-05-19_06-37-55AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_06-37-55AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Database 11g                                                  11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = 11grac1
  Remote node = 11grac2

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

OPatch succeeded.

[oracle@11grac2 ~]$ cd $ORACLE_HOME/OPatch
[oracle@11grac2 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2015-05-19_06-47-39AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_06-47-39AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Database 11g                                                  11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
  Local node = 11grac2
  Remote node = 11grac1

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

OPatch succeeded.

3)数据库版本
SQL> select * from DBA_REGISTRY_HISTORY

ACTION_TIME		       ACTION	       NAMESPACE  VERSION	   ID BUNDLE_SERIES   COMMENTS
------------------------------ --------------- ---------- ---------- -------- --------------- -------------------------
19-MAY-15 12.26.56.586864 AM   VIEW INVALIDATE			      8289601		      view invalidation
19-MAY-15 12.30.29.942568 AM   UPGRADE	       SERVER	  11.2.0.4.0			      Upgraded from 11.1.0.7.0
19-MAY-15 12.57.34.299763 AM   APPLY	       SERVER	  11.2.0.4	    0 PSU	      Patchset 11.2.0.2.0

2.升级前准备
根据11.2.0.4.6 Patch包readme文档说明,打该PSU需要OPatch版本最低为11.2.0.3.6及以上,因此需要更新grid和oracle软件安装目录的OPatch版本。
1)更新grid和oracle的OPatch版本
[grid@11grac1 ~]$ cd /tmp/psu/
[grid@11grac1 psu]$ unzip p6880880_112000_Linux-x86-64.zip -d $GI_HOME
[oracle@11grac1 ~]$ cd /tmp/psu/
[oracle@11grac1 psu]$ unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME

[grid@11grac1 ~]$ $GI_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6

OPatch succeeded.
[oracle@11grac1 ~]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6

OPatch succeeded.

[grid@11grac2 ~]$ cd /tmp/psu/
[grid@11grac2 psu]$ unzip p6880880_112000_Linux-x86-64.zip -d $GI_HOME
[oracle@11grac2 ~]$ cd /tmp/psu/
[oracle@11grac2 psu]$ unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME

[grid@11grac2 psu]$ $GI_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6

OPatch succeeded.

[oracle@11grac2 ~]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.6

OPatch succeeded.

2)配置OCM响应文件
--- grid ocm响应文件
[grid@11grac1 ~]$ $GI_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /tmp/grid.ocm
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
The OCM configuration response file (/tmp/grid.ocm) was successfully created.

[grid@11grac2 ~]$ $GI_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /tmp/grid.ocm
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
The OCM configuration response file (/tmp/grid.ocm) was successfully created.

--- oracle ocm响应文件
[oracle@11grac1 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /tmp/oracle.com
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
The OCM configuration response file (/tmp/oracle.com) was successfully created.

[oracle@11grac2 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /tmp/oracle.com
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
The OCM configuration response file (/tmp/oracle.com) was successfully created.

3)校验Oracle Inventory
[grid@11grac1 ~]$ $GI_HOME/OPatch/opatch lsinventory -detail -oh /u01/app/11.2.0/grid
[grid@11grac2 ~]$ $GI_HOME/OPatch/opatch lsinventory -detail -oh /u01/app/11.2.0/grid
[oracle@11grac1 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/product/11.2.0/dbhome_1
[oracle@11grac2 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/product/11.2.0/dbhome_1

4)下载解压补丁包
[grid@11grac1 ~]$ cd /tmp/psu/
[grid@11grac1 psu]$ unzip p20485808_112040_Linux-x86-64.zip
[grid@11grac2 ~]$ cd /tmp/psu/
[grid@11grac2 psu]$ unzip p20485808_112040_Linux-x86-64.zip

5)停EM(若未安装可以忽略此步骤)
[oracle@11grac1 ~]$ emctl stop dbconsole
[oracle@11grac2 ~]$ emctl stop dbconsole

6)检测One-off Patch冲突
根据Patch Recommendations and Patch Plans features on the Patches & Updates tab去检查

3.安装PSU补丁
As root user, execute the following command on each node of the cluster.

1)节点1安装11.2.0.4.6 PSU
[root@11grac1 ~]# $GI_HOME/OPatch/opatch auto /tmp/psu/20485808 -ocmrf /tmp/psu/grid.ocm
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp/psu -patchn 20485808 -ocmrf /tmp/psu/grid.ocm -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-05-19_08-26-20.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-05-19_08-26-20.report.log

2015-05-19 08:26:20: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

patch /tmp/psu/20485808/20299013  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 
patch /tmp/psu/20485808/20420937/custom/server/20420937  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 

Stopping CRS...
Stopped CRS successfully

patch /tmp/psu/20485808/20299013  apply successful for home  /u01/app/11.2.0/grid 
patch /tmp/psu/20485808/20420937  apply successful for home  /u01/app/11.2.0/grid 
patch /tmp/psu/20485808/20299019  apply successful for home  /u01/app/11.2.0/grid 

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Started RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

opatch auto succeeded.

--- 检查1节点PSU安装情况
[grid@11grac1 ~]$ $GI_HOME/OPatch/opatch lsinventory
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/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-19_10-19-18AM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_10-19-18AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Interim patches (3) :

Patch  20299019     : applied on Tue May 19 09:04:19 CST 2015
Unique Patch ID:  18573450
Patch description:  "ACFS Patch set update : 11.2.0.4.6 (20299019)"
   Created on 27 Mar 2015, 15:26:30 hrs 
   Bugs fixed:
     17510275, 17172303, 16318126, 19690653, 17203009, 17376318, 17503605
     20140148, 17611362, 17721778, 17164243, 19053182, 17696547, 17699423
     17488768, 18915417, 18155334, 18321597, 19919907, 18168684, 17363999
     17636008, 18143006, 17428148, 17070158, 17475946

Patch  20420937     : applied on Tue May 19 08:58:18 CST 2015
Unique Patch ID:  18573450
Patch description:  "OCW Patch set update : 11.2.0.4.6 (20420937)"
   Created on 27 Mar 2015, 15:19:31 hrs PST8PDT
   Bugs fixed:
     18328800, 19270660, 18691572, 20365005, 17750548, 17387214, 17617807
     14497275, 17733927, 18180541, 18962892, 17292250, 17378618, 16759171
     17065496, 13991403, 17273020, 17155238, 18053580, 18261183, 17039197
     16317771, 17947785, 10052729, 20340620, 18199185, 18399991, 18024089
     20246071, 18414137, 17001914, 17927970, 14378120, 16346413, 15986647
     18068871, 18143836, 16206997, 19168690, 20235511, 18343490, 16613232
     19276791, 17722664, 12928658, 16249829, 18520351, 18226143, 18265482
     18229842, 17172091, 17818075, 18231837, 14373486, 17483479, 18120545
     18729166, 13843841, 17405302, 18709496, 18330979, 18187697, 14525998
     20531190, 14385860, 19479503, 18348155, 18370031, 17516024, 17764053
     17551223, 14671408, 14207615, 18272135, 17500165, 18875012, 19558324
     18464784, 18848125, 19241857, 17955615, 14693336, 20315294, 16284825
     20014326, 17352230, 17238586, 17089344, 17405605, 17531342, 17640316
     17159489, 16543190, 18346135, 16281493, 17481314, 15986311, 17208793
     18700935, 18999857, 14076173, 18428146, 17435488, 18352845, 18352846
     17387779, 17391726, 20141091, 15832129, 17305100, 19885321, 16901346
     17985714, 18536826, 17780903, 18752378, 18946768, 16875342, 16876500
     19955755, 16429265, 18336452, 17273003, 17059927, 17046460, 18053631
     16867761, 20235486, 15869775, 19642566, 17447588, 15920201

Patch  20299013     : applied on Tue May 19 08:53:08 CST 2015
Unique Patch ID:  18573940
Patch description:  "Database Patch Set Update : 11.2.0.4.6 (20299013)"
   Created on 4 Mar 2015, 02:27:44 hrs PST8PDT
Sub-patch  19769489; "Database Patch Set Update : 11.2.0.4.5 (19769489)"
Sub-patch  19121551; "Database Patch Set Update : 11.2.0.4.4 (19121551)"
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17798953, 18273830, 18607546, 17811429, 17205719, 20506699
     17816865, 19972566, 17922254, 17754782, 16384983, 17726838, 13364795
     16934803, 17311728, 17284817, 17441661, 17360606, 13645875, 18199537
     16992075, 16542886, 17446237, 14015842, 17889549, 14565184, 19972569
     17071721, 20299015, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 13866822, 17235750, 17982555, 16360112, 18317531, 17478514
     19769489, 12905058, 14338435, 18235390, 13944971, 18641451, 20142975
     17811789, 16929165, 18704244, 12747740, 18430495, 20506706, 17546973
     14054676, 17088068, 17346091, 18264060, 17016369, 17042658, 17343514
     14602788, 19972568, 19680952, 18471685, 19788842, 18508861, 14657740
     17332800, 19211724, 13837378, 13951456, 16315398, 17186905, 18744139
     19972564, 16850630, 18315328, 17437634, 19049453, 18673304, 17883081
     19006849, 19915271, 19013183, 18641419, 17296856, 18674024, 18262334
     17006183, 18277454, 16833527, 17232014, 16855292, 10136473, 17762296
     14692762, 17705023, 18051556, 17865671, 17852463, 18554871, 17853498
     19121551, 18334586, 19854503, 17551709, 19309466, 17588480, 19827973
     17344412, 17842825, 18828868, 18681862, 18554763, 17390160, 18456514
     16306373, 17025461, 13955826, 18139690, 11883252, 13609098, 17501491
     17239687, 17752121, 17299889, 17602269, 19197175, 17889583, 18316692
     17313525, 18673325, 12611721, 19544839, 18293054, 17242746, 18964939
     17600719, 18191164, 19393542, 17571306, 18482502, 19466309, 17951233
     17649265, 18094246, 19615136, 17040527, 17011832, 17165204, 18098207
     16785708, 16870214, 17465741, 16180763, 17174582, 17477958, 12982566
     16777840, 18522509, 20631274, 16091637, 17323222, 19463893, 16595641
     16875449, 12816846, 16524926, 17237521, 18228645, 18282562, 17596908
     19358317, 17811438, 17811447, 17945983, 18762750, 17156148, 18031668
     16912439, 17184721, 16494615, 18061914, 17282229, 17545847, 18331850
     18202441, 17082359, 18723434, 19554106, 17614134, 13558557, 17341326
     14034426, 17891946, 18339044, 17716305, 19458377, 17752995, 16392068
     19271443, 17891943, 18092127, 17258090, 17767676, 16668584, 18384391
     17614227, 17040764, 16903536, 17381384, 14106803, 15913355, 18973907
     18356166, 18673342, 17389192, 14084247, 16194160, 17612828, 17006570
     20506715, 17721717, 13853126, 17390431, 18203837, 17570240, 14245531
     16043574, 16863422, 17848897, 17877323, 18325460, 19727057, 17468141
     17786518, 17912217, 16422541, 19972570, 17267114, 17037130, 18244962
     18765602, 18203838, 18155762, 16956380, 16198143, 17246576, 17478145
     17394950, 14829250, 18189036, 18641461, 18619917, 17835627, 17027426
     16268425, 18247991, 19584068, 14458214, 18436307, 17265217, 17634921
     13498382, 16692232, 17786278, 17227277, 16042673, 16314254, 17443671
     18000422, 16228604, 16837842, 17571039, 17393683, 16344544, 17787259
     18009564, 20074391, 14354737, 15861775, 18135678, 18614015, 16399083
     18362222, 18018515, 16472716, 17835048, 17050888, 17936109, 14010183
     17325413, 18747196, 17080436, 16613964, 17036973, 17761775, 16579084
     16721594, 17082983, 18384537, 18280813, 20296213, 17302277, 16901385
     18084625, 15979965, 15990359, 18203835, 17297939, 17811456, 16731148
     13829543, 14133975, 17215560, 17694209, 18091059, 17385178, 8322815
     17586955, 18441944, 17201159, 16450169, 9756271, 17655634, 19730508
     17892268, 18868646, 17648596, 16220077, 16069901, 11733603, 16285691
     17587063, 18180390, 16538760, 18193833, 17348614, 17393915, 17957017
     17274537, 18096714, 17308789, 17238511, 18436647, 17824637, 14285317
     19289642, 14764829, 17622427, 18328509, 16571443, 16943711, 14368995
     18306996, 17346671, 14852021, 18996843, 17783588, 16618694, 17853456
     18674047, 17672719, 18856999, 12364061, 18783224, 17851160, 17546761



Rac system comprising of multiple nodes
  Local node = 11grac1
  Remote node = 11grac2

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

OPatch succeeded.

[oracle@11grac1 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2015-05-19_10-19-55AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_10-19-55AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Database 11g                                                  11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Interim patches (2) :

Patch  20420937     : applied on Tue May 19 08:44:58 CST 2015
Unique Patch ID:  18573450
Patch description:  "OCW Patch set update : 11.2.0.4.6 (20420937)"
   Created on 27 Mar 2015, 15:19:23 hrs PST8PDT
   Bugs fixed:
     18328800, 19270660, 18691572, 20365005, 17750548, 17387214, 17617807
     14497275, 17733927, 18180541, 18962892, 17292250, 17378618, 16759171
     17065496, 13991403, 17273020, 17155238, 18053580, 18261183, 17039197
     16317771, 17947785, 10052729, 20340620, 18199185, 18399991, 18024089
     20246071, 18414137, 17001914, 17927970, 14378120, 16346413, 15986647
     18068871, 18143836, 16206997, 19168690, 20235511, 18343490, 16613232
     19276791, 17722664, 12928658, 16249829, 18520351, 18226143, 18265482
     18229842, 17172091, 17818075, 18231837, 14373486, 17483479, 18120545
     18729166, 13843841, 17405302, 18709496, 18330979, 18187697, 14525998
     20531190, 14385860, 19479503, 18348155, 18370031, 17516024, 17764053
     17551223, 14671408, 14207615, 18272135, 17500165, 18875012, 19558324
     18464784, 18848125, 19241857, 17955615, 14693336, 20315294, 16284825
     20014326, 17352230, 17238586, 17089344, 17405605, 17531342, 17640316
     17159489, 16543190, 18346135, 16281493, 17481314, 15986311, 17208793
     18700935, 18999857, 14076173, 18428146, 17435488, 18352845, 18352846
     17387779, 17391726, 20141091, 15832129, 17305100, 19885321, 16901346
     17985714, 18536826, 17780903, 18752378, 18946768, 16875342, 16876500
     19955755, 16429265, 18336452, 17273003, 17059927, 17046460, 18053631
     16867761, 20235486, 15869775, 19642566, 17447588, 15920201

Patch  20299013     : applied on Tue May 19 08:36:51 CST 2015
Unique Patch ID:  18573940
Patch description:  "Database Patch Set Update : 11.2.0.4.6 (20299013)"
   Created on 4 Mar 2015, 02:27:44 hrs PST8PDT
Sub-patch  19769489; "Database Patch Set Update : 11.2.0.4.5 (19769489)"
Sub-patch  19121551; "Database Patch Set Update : 11.2.0.4.4 (19121551)"
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17798953, 18273830, 18607546, 17811429, 17205719, 20506699
     17816865, 19972566, 17922254, 17754782, 16384983, 17726838, 13364795
     16934803, 17311728, 17284817, 17441661, 17360606, 13645875, 18199537
     16992075, 16542886, 17446237, 14015842, 17889549, 14565184, 19972569
     17071721, 20299015, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 13866822, 17235750, 17982555, 16360112, 18317531, 17478514
     19769489, 12905058, 14338435, 18235390, 13944971, 18641451, 20142975
     17811789, 16929165, 18704244, 12747740, 18430495, 20506706, 17546973
     14054676, 17088068, 17346091, 18264060, 17016369, 17042658, 17343514
     14602788, 19972568, 19680952, 18471685, 19788842, 18508861, 14657740
     17332800, 19211724, 13837378, 13951456, 16315398, 17186905, 18744139
     19972564, 16850630, 18315328, 17437634, 19049453, 18673304, 17883081
     19006849, 19915271, 19013183, 18641419, 17296856, 18674024, 18262334
     17006183, 18277454, 16833527, 17232014, 16855292, 10136473, 17762296
     14692762, 17705023, 18051556, 17865671, 17852463, 18554871, 17853498
     19121551, 18334586, 19854503, 17551709, 19309466, 17588480, 19827973
     17344412, 17842825, 18828868, 18681862, 18554763, 17390160, 18456514
     16306373, 17025461, 13955826, 18139690, 11883252, 13609098, 17501491
     17239687, 17752121, 17299889, 17602269, 19197175, 17889583, 18316692
     17313525, 18673325, 12611721, 19544839, 18293054, 17242746, 18964939
     17600719, 18191164, 19393542, 17571306, 18482502, 19466309, 17951233
     17649265, 18094246, 19615136, 17040527, 17011832, 17165204, 18098207
     16785708, 16870214, 17465741, 16180763, 17174582, 17477958, 12982566
     16777840, 18522509, 20631274, 16091637, 17323222, 19463893, 16595641
     16875449, 12816846, 16524926, 17237521, 18228645, 18282562, 17596908
     19358317, 17811438, 17811447, 17945983, 18762750, 17156148, 18031668
     16912439, 17184721, 16494615, 18061914, 17282229, 17545847, 18331850
     18202441, 17082359, 18723434, 19554106, 17614134, 13558557, 17341326
     14034426, 17891946, 18339044, 17716305, 19458377, 17752995, 16392068
     19271443, 17891943, 18092127, 17258090, 17767676, 16668584, 18384391
     17614227, 17040764, 16903536, 17381384, 14106803, 15913355, 18973907
     18356166, 18673342, 17389192, 14084247, 16194160, 17612828, 17006570
     20506715, 17721717, 13853126, 17390431, 18203837, 17570240, 14245531
     16043574, 16863422, 17848897, 17877323, 18325460, 19727057, 17468141
     17786518, 17912217, 16422541, 19972570, 17267114, 17037130, 18244962
     18765602, 18203838, 18155762, 16956380, 16198143, 17246576, 17478145
     17394950, 14829250, 18189036, 18641461, 18619917, 17835627, 17027426
     16268425, 18247991, 19584068, 14458214, 18436307, 17265217, 17634921
     13498382, 16692232, 17786278, 17227277, 16042673, 16314254, 17443671
     18000422, 16228604, 16837842, 17571039, 17393683, 16344544, 17787259
     18009564, 20074391, 14354737, 15861775, 18135678, 18614015, 16399083
     18362222, 18018515, 16472716, 17835048, 17050888, 17936109, 14010183
     17325413, 18747196, 17080436, 16613964, 17036973, 17761775, 16579084
     16721594, 17082983, 18384537, 18280813, 20296213, 17302277, 16901385
     18084625, 15979965, 15990359, 18203835, 17297939, 17811456, 16731148
     13829543, 14133975, 17215560, 17694209, 18091059, 17385178, 8322815
     17586955, 18441944, 17201159, 16450169, 9756271, 17655634, 19730508
     17892268, 18868646, 17648596, 16220077, 16069901, 11733603, 16285691
     17587063, 18180390, 16538760, 18193833, 17348614, 17393915, 17957017
     17274537, 18096714, 17308789, 17238511, 18436647, 17824637, 14285317
     19289642, 14764829, 17622427, 18328509, 16571443, 16943711, 14368995
     18306996, 17346671, 14852021, 18996843, 17783588, 16618694, 17853456
     18674047, 17672719, 18856999, 12364061, 18783224, 17851160, 17546761



Rac system comprising of multiple nodes
  Local node = 11grac1
  Remote node = 11grac2

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

OPatch succeeded.

2)节点2安装11.2.0.4.6 PSU
[root@11grac2 ~]# $GI_HOME/OPatch/opatch auto /tmp/psu/20485808 -ocmrf /tmp/psu/grid.ocm
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp/psu -patchn 20485808 -ocmrf /tmp/psu/grid.ocm -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-05-19_10-40-50.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-05-19_10-40-50.report.log

2015-05-19 10:40:50: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

patch /tmp/psu/20485808/20299013  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 
patch /tmp/psu/20485808/20420937/custom/server/20420937  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1 

Stopping CRS...
Stopped CRS successfully

patch /tmp/psu/20485808/20299013  apply successful for home  /u01/app/11.2.0/grid 
patch /tmp/psu/20485808/20420937  apply successful for home  /u01/app/11.2.0/grid 
patch /tmp/psu/20485808/20299019  apply successful for home  /u01/app/11.2.0/grid 

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Started RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

opatch auto succeeded.

--- 检查2节点PSU安装情况
[grid@11grac2 ~]$ $GI_HOME/OPatch/opatch lsinventory
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/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-19_11-41-10AM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_11-41-10AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Interim patches (3) :

Patch  20299019     : applied on Tue May 19 11:31:45 CST 2015
Unique Patch ID:  18573450
Patch description:  "ACFS Patch set update : 11.2.0.4.6 (20299019)"
   Created on 27 Mar 2015, 15:26:30 hrs 
   Bugs fixed:
     17510275, 17172303, 16318126, 19690653, 17203009, 17376318, 17503605
     20140148, 17611362, 17721778, 17164243, 19053182, 17696547, 17699423
     17488768, 18915417, 18155334, 18321597, 19919907, 18168684, 17363999
     17636008, 18143006, 17428148, 17070158, 17475946

Patch  20420937     : applied on Tue May 19 11:25:58 CST 2015
Unique Patch ID:  18573450
Patch description:  "OCW Patch set update : 11.2.0.4.6 (20420937)"
   Created on 27 Mar 2015, 15:19:31 hrs PST8PDT
   Bugs fixed:
     18328800, 19270660, 18691572, 20365005, 17750548, 17387214, 17617807
     14497275, 17733927, 18180541, 18962892, 17292250, 17378618, 16759171
     17065496, 13991403, 17273020, 17155238, 18053580, 18261183, 17039197
     16317771, 17947785, 10052729, 20340620, 18199185, 18399991, 18024089
     20246071, 18414137, 17001914, 17927970, 14378120, 16346413, 15986647
     18068871, 18143836, 16206997, 19168690, 20235511, 18343490, 16613232
     19276791, 17722664, 12928658, 16249829, 18520351, 18226143, 18265482
     18229842, 17172091, 17818075, 18231837, 14373486, 17483479, 18120545
     18729166, 13843841, 17405302, 18709496, 18330979, 18187697, 14525998
     20531190, 14385860, 19479503, 18348155, 18370031, 17516024, 17764053
     17551223, 14671408, 14207615, 18272135, 17500165, 18875012, 19558324
     18464784, 18848125, 19241857, 17955615, 14693336, 20315294, 16284825
     20014326, 17352230, 17238586, 17089344, 17405605, 17531342, 17640316
     17159489, 16543190, 18346135, 16281493, 17481314, 15986311, 17208793
     18700935, 18999857, 14076173, 18428146, 17435488, 18352845, 18352846
     17387779, 17391726, 20141091, 15832129, 17305100, 19885321, 16901346
     17985714, 18536826, 17780903, 18752378, 18946768, 16875342, 16876500
     19955755, 16429265, 18336452, 17273003, 17059927, 17046460, 18053631
     16867761, 20235486, 15869775, 19642566, 17447588, 15920201

Patch  20299013     : applied on Tue May 19 11:19:35 CST 2015
Unique Patch ID:  18573940
Patch description:  "Database Patch Set Update : 11.2.0.4.6 (20299013)"
   Created on 4 Mar 2015, 02:27:44 hrs PST8PDT
Sub-patch  19769489; "Database Patch Set Update : 11.2.0.4.5 (19769489)"
Sub-patch  19121551; "Database Patch Set Update : 11.2.0.4.4 (19121551)"
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17798953, 18273830, 18607546, 17811429, 17205719, 20506699
     17816865, 19972566, 17922254, 17754782, 16384983, 17726838, 13364795
     16934803, 17311728, 17284817, 17441661, 17360606, 13645875, 18199537
     16992075, 16542886, 17446237, 14015842, 17889549, 14565184, 19972569
     17071721, 20299015, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 13866822, 17235750, 17982555, 16360112, 18317531, 17478514
     19769489, 12905058, 14338435, 18235390, 13944971, 18641451, 20142975
     17811789, 16929165, 18704244, 12747740, 18430495, 20506706, 17546973
     14054676, 17088068, 17346091, 18264060, 17016369, 17042658, 17343514
     14602788, 19972568, 19680952, 18471685, 19788842, 18508861, 14657740
     17332800, 19211724, 13837378, 13951456, 16315398, 17186905, 18744139
     19972564, 16850630, 18315328, 17437634, 19049453, 18673304, 17883081
     19006849, 19915271, 19013183, 18641419, 17296856, 18674024, 18262334
     17006183, 18277454, 16833527, 17232014, 16855292, 10136473, 17762296
     14692762, 17705023, 18051556, 17865671, 17852463, 18554871, 17853498
     19121551, 18334586, 19854503, 17551709, 19309466, 17588480, 19827973
     17344412, 17842825, 18828868, 18681862, 18554763, 17390160, 18456514
     16306373, 17025461, 13955826, 18139690, 11883252, 13609098, 17501491
     17239687, 17752121, 17299889, 17602269, 19197175, 17889583, 18316692
     17313525, 18673325, 12611721, 19544839, 18293054, 17242746, 18964939
     17600719, 18191164, 19393542, 17571306, 18482502, 19466309, 17951233
     17649265, 18094246, 19615136, 17040527, 17011832, 17165204, 18098207
     16785708, 16870214, 17465741, 16180763, 17174582, 17477958, 12982566
     16777840, 18522509, 20631274, 16091637, 17323222, 19463893, 16595641
     16875449, 12816846, 16524926, 17237521, 18228645, 18282562, 17596908
     19358317, 17811438, 17811447, 17945983, 18762750, 17156148, 18031668
     16912439, 17184721, 16494615, 18061914, 17282229, 17545847, 18331850
     18202441, 17082359, 18723434, 19554106, 17614134, 13558557, 17341326
     14034426, 17891946, 18339044, 17716305, 19458377, 17752995, 16392068
     19271443, 17891943, 18092127, 17258090, 17767676, 16668584, 18384391
     17614227, 17040764, 16903536, 17381384, 14106803, 15913355, 18973907
     18356166, 18673342, 17389192, 14084247, 16194160, 17612828, 17006570
     20506715, 17721717, 13853126, 17390431, 18203837, 17570240, 14245531
     16043574, 16863422, 17848897, 17877323, 18325460, 19727057, 17468141
     17786518, 17912217, 16422541, 19972570, 17267114, 17037130, 18244962
     18765602, 18203838, 18155762, 16956380, 16198143, 17246576, 17478145
     17394950, 14829250, 18189036, 18641461, 18619917, 17835627, 17027426
     16268425, 18247991, 19584068, 14458214, 18436307, 17265217, 17634921
     13498382, 16692232, 17786278, 17227277, 16042673, 16314254, 17443671
     18000422, 16228604, 16837842, 17571039, 17393683, 16344544, 17787259
     18009564, 20074391, 14354737, 15861775, 18135678, 18614015, 16399083
     18362222, 18018515, 16472716, 17835048, 17050888, 17936109, 14010183
     17325413, 18747196, 17080436, 16613964, 17036973, 17761775, 16579084
     16721594, 17082983, 18384537, 18280813, 20296213, 17302277, 16901385
     18084625, 15979965, 15990359, 18203835, 17297939, 17811456, 16731148
     13829543, 14133975, 17215560, 17694209, 18091059, 17385178, 8322815
     17586955, 18441944, 17201159, 16450169, 9756271, 17655634, 19730508
     17892268, 18868646, 17648596, 16220077, 16069901, 11733603, 16285691
     17587063, 18180390, 16538760, 18193833, 17348614, 17393915, 17957017
     17274537, 18096714, 17308789, 17238511, 18436647, 17824637, 14285317
     19289642, 14764829, 17622427, 18328509, 16571443, 16943711, 14368995
     18306996, 17346671, 14852021, 18996843, 17783588, 16618694, 17853456
     18674047, 17672719, 18856999, 12364061, 18783224, 17851160, 17546761



Rac system comprising of multiple nodes
  Local node = 11grac2
  Remote node = 11grac1

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

OPatch succeeded.

[oracle@11grac2 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2015-05-19_11-41-47AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-05-19_11-41-47AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1): 

Oracle Database 11g                                                  11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Interim patches (2) :

Patch  20420937     : applied on Tue May 19 11:07:20 CST 2015
Unique Patch ID:  18573450
Patch description:  "OCW Patch set update : 11.2.0.4.6 (20420937)"
   Created on 27 Mar 2015, 15:19:23 hrs PST8PDT
   Bugs fixed:
     18328800, 19270660, 18691572, 20365005, 17750548, 17387214, 17617807
     14497275, 17733927, 18180541, 18962892, 17292250, 17378618, 16759171
     17065496, 13991403, 17273020, 17155238, 18053580, 18261183, 17039197
     16317771, 17947785, 10052729, 20340620, 18199185, 18399991, 18024089
     20246071, 18414137, 17001914, 17927970, 14378120, 16346413, 15986647
     18068871, 18143836, 16206997, 19168690, 20235511, 18343490, 16613232
     19276791, 17722664, 12928658, 16249829, 18520351, 18226143, 18265482
     18229842, 17172091, 17818075, 18231837, 14373486, 17483479, 18120545
     18729166, 13843841, 17405302, 18709496, 18330979, 18187697, 14525998
     20531190, 14385860, 19479503, 18348155, 18370031, 17516024, 17764053
     17551223, 14671408, 14207615, 18272135, 17500165, 18875012, 19558324
     18464784, 18848125, 19241857, 17955615, 14693336, 20315294, 16284825
     20014326, 17352230, 17238586, 17089344, 17405605, 17531342, 17640316
     17159489, 16543190, 18346135, 16281493, 17481314, 15986311, 17208793
     18700935, 18999857, 14076173, 18428146, 17435488, 18352845, 18352846
     17387779, 17391726, 20141091, 15832129, 17305100, 19885321, 16901346
     17985714, 18536826, 17780903, 18752378, 18946768, 16875342, 16876500
     19955755, 16429265, 18336452, 17273003, 17059927, 17046460, 18053631
     16867761, 20235486, 15869775, 19642566, 17447588, 15920201

Patch  20299013     : applied on Tue May 19 10:52:28 CST 2015
Unique Patch ID:  18573940
Patch description:  "Database Patch Set Update : 11.2.0.4.6 (20299013)"
   Created on 4 Mar 2015, 02:27:44 hrs PST8PDT
Sub-patch  19769489; "Database Patch Set Update : 11.2.0.4.5 (19769489)"
Sub-patch  19121551; "Database Patch Set Update : 11.2.0.4.4 (19121551)"
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17798953, 18273830, 18607546, 17811429, 17205719, 20506699
     17816865, 19972566, 17922254, 17754782, 16384983, 17726838, 13364795
     16934803, 17311728, 17284817, 17441661, 17360606, 13645875, 18199537
     16992075, 16542886, 17446237, 14015842, 17889549, 14565184, 19972569
     17071721, 20299015, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 13866822, 17235750, 17982555, 16360112, 18317531, 17478514
     19769489, 12905058, 14338435, 18235390, 13944971, 18641451, 20142975
     17811789, 16929165, 18704244, 12747740, 18430495, 20506706, 17546973
     14054676, 17088068, 17346091, 18264060, 17016369, 17042658, 17343514
     14602788, 19972568, 19680952, 18471685, 19788842, 18508861, 14657740
     17332800, 19211724, 13837378, 13951456, 16315398, 17186905, 18744139
     19972564, 16850630, 18315328, 17437634, 19049453, 18673304, 17883081
     19006849, 19915271, 19013183, 18641419, 17296856, 18674024, 18262334
     17006183, 18277454, 16833527, 17232014, 16855292, 10136473, 17762296
     14692762, 17705023, 18051556, 17865671, 17852463, 18554871, 17853498
     19121551, 18334586, 19854503, 17551709, 19309466, 17588480, 19827973
     17344412, 17842825, 18828868, 18681862, 18554763, 17390160, 18456514
     16306373, 17025461, 13955826, 18139690, 11883252, 13609098, 17501491
     17239687, 17752121, 17299889, 17602269, 19197175, 17889583, 18316692
     17313525, 18673325, 12611721, 19544839, 18293054, 17242746, 18964939
     17600719, 18191164, 19393542, 17571306, 18482502, 19466309, 17951233
     17649265, 18094246, 19615136, 17040527, 17011832, 17165204, 18098207
     16785708, 16870214, 17465741, 16180763, 17174582, 17477958, 12982566
     16777840, 18522509, 20631274, 16091637, 17323222, 19463893, 16595641
     16875449, 12816846, 16524926, 17237521, 18228645, 18282562, 17596908
     19358317, 17811438, 17811447, 17945983, 18762750, 17156148, 18031668
     16912439, 17184721, 16494615, 18061914, 17282229, 17545847, 18331850
     18202441, 17082359, 18723434, 19554106, 17614134, 13558557, 17341326
     14034426, 17891946, 18339044, 17716305, 19458377, 17752995, 16392068
     19271443, 17891943, 18092127, 17258090, 17767676, 16668584, 18384391
     17614227, 17040764, 16903536, 17381384, 14106803, 15913355, 18973907
     18356166, 18673342, 17389192, 14084247, 16194160, 17612828, 17006570
     20506715, 17721717, 13853126, 17390431, 18203837, 17570240, 14245531
     16043574, 16863422, 17848897, 17877323, 18325460, 19727057, 17468141
     17786518, 17912217, 16422541, 19972570, 17267114, 17037130, 18244962
     18765602, 18203838, 18155762, 16956380, 16198143, 17246576, 17478145
     17394950, 14829250, 18189036, 18641461, 18619917, 17835627, 17027426
     16268425, 18247991, 19584068, 14458214, 18436307, 17265217, 17634921
     13498382, 16692232, 17786278, 17227277, 16042673, 16314254, 17443671
     18000422, 16228604, 16837842, 17571039, 17393683, 16344544, 17787259
     18009564, 20074391, 14354737, 15861775, 18135678, 18614015, 16399083
     18362222, 18018515, 16472716, 17835048, 17050888, 17936109, 14010183
     17325413, 18747196, 17080436, 16613964, 17036973, 17761775, 16579084
     16721594, 17082983, 18384537, 18280813, 20296213, 17302277, 16901385
     18084625, 15979965, 15990359, 18203835, 17297939, 17811456, 16731148
     13829543, 14133975, 17215560, 17694209, 18091059, 17385178, 8322815
     17586955, 18441944, 17201159, 16450169, 9756271, 17655634, 19730508
     17892268, 18868646, 17648596, 16220077, 16069901, 11733603, 16285691
     17587063, 18180390, 16538760, 18193833, 17348614, 17393915, 17957017
     17274537, 18096714, 17308789, 17238511, 18436647, 17824637, 14285317
     19289642, 14764829, 17622427, 18328509, 16571443, 16943711, 14368995
     18306996, 17346671, 14852021, 18996843, 17783588, 16618694, 17853456
     18674047, 17672719, 18856999, 12364061, 18783224, 17851160, 17546761



Rac system comprising of multiple nodes
  Local node = 11grac2
  Remote node = 11grac1

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

OPatch succeeded.

3)应用one-off conflict resolution patches

4)Loading Modified SQL Files into the Database(运行psu apply脚本)
For each database instance running on the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the catbundle.sql script as follows

--- 节点1实例
[oracle@11grac1 ~]$ cd $ORACLE_HOME/rdbms/admin
[oracle@11grac1 admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue May 19 11:47:34 2015

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> @catbundle.sql psu apply

--- 节点2实例
[oracle@11grac2 ~]$ cd $ORACLE_HOME/rdbms/admin
[oracle@11grac2 admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue May 19 11:47:34 2015

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> @catbundle.sql psu apply

--- 运行完该脚本后请检查日志输出文件看是否存在错误:
1节点:/u01/app/cfgtoollogs/catbundle/catbundle_PSU_RAC11G_APPLY_2015May19_11_48_06.log
2节点:/u01/app/cfgtoollogs/catbundle/catbundle_PSU_RAC11G_APPLY_2015May19_11_52_45.log

--- 根据实际情况选做执行以下脚本
If the OJVM PSU was applied for a previous GI PSU patch, you may see invalid Java classes after execution of the catbundle.sql script in the previous step. If this is the case, run utlrp.sql to re-validate these Java classes.
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> @utlrp.sql

Upgrade Oracle Recovery Manager Catalog
If you are using the Oracle Recovery Manager, the catalog needs to be upgraded. Enter the following command to upgrade it:
$ rman catalog username/password@alias
RMAN> UPGRADE CATALOG;

5)集群资源服务状态
[grid@11grac1 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    11grac1     
ora....C1.lsnr application    ONLINE    ONLINE    11grac1     
ora....ac1.gsd application    OFFLINE   OFFLINE               
ora....ac1.ons application    ONLINE    ONLINE    11grac1     
ora....ac1.vip ora....t1.type ONLINE    ONLINE    11grac1     
ora....SM2.asm application    ONLINE    ONLINE    11grac2     
ora....C2.lsnr application    ONLINE    ONLINE    11grac2     
ora....ac2.gsd application    OFFLINE   OFFLINE               
ora....ac2.ons application    ONLINE    ONLINE    11grac2     
ora....ac2.vip ora....t1.type ONLINE    ONLINE    11grac2     
ora.DATA.dg    ora....up.type ONLINE    ONLINE    11grac1     
ora....ER.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora....N1.lsnr ora....er.type ONLINE    ONLINE    11grac2     
ora....N2.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora....N3.lsnr ora....er.type ONLINE    ONLINE    11grac1     
ora.OVDF.dg    ora....up.type ONLINE    ONLINE    11grac1     
ora.RFA.dg     ora....up.type ONLINE    ONLINE    11grac1     
ora.asm        ora.asm.type   ONLINE    ONLINE    11grac1     
ora.cvu        ora.cvu.type   ONLINE    ONLINE    11grac1     
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    11grac1     
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    11grac1     
ora.ons        ora.ons.type   ONLINE    ONLINE    11grac1     
ora.rac11g.db  ora....se.type ONLINE    ONLINE    11grac1     
ora....srv.svc ora....ce.type ONLINE    ONLINE    11grac1     
ora....ect.svc ora....ce.type ONLINE    ONLINE    11grac2     
ora....ry.acfs ora....fs.type ONLINE    ONLINE    11grac1     
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    11grac2     
ora.scan2.vip  ora....ip.type ONLINE    ONLINE    11grac1     
ora.scan3.vip  ora....ip.type ONLINE    ONLINE    11grac1
[grid@11grac1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.OVDF.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.RFA.dg
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.asm
               ONLINE  ONLINE       11grac1                  Started             
               ONLINE  ONLINE       11grac2                  Started             
ora.gsd
               OFFLINE OFFLINE      11grac1                                      
               OFFLINE OFFLINE      11grac2                                      
ora.net1.network
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.ons
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
ora.registry.acfs
               ONLINE  ONLINE       11grac1                                      
               ONLINE  ONLINE       11grac2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.11grac1.vip
      1        ONLINE  ONLINE       11grac1                                      
ora.11grac2.vip
      1        ONLINE  ONLINE       11grac2                                      
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       11grac2                                      
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       11grac1                                      
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       11grac1                                      
ora.cvu
      1        ONLINE  ONLINE       11grac1                                      
ora.oc4j
      1        ONLINE  ONLINE       11grac1                                      
ora.rac11g.db
      1        ONLINE  ONLINE       11grac1                  Open                
      2        ONLINE  ONLINE       11grac2                  Open                
ora.rac11g.rac11gsrv.svc
      1        ONLINE  ONLINE       11grac1                                      
ora.rac11g.rac11gsrv_preconnect.svc
      1        ONLINE  ONLINE       11grac2                                      
ora.scan1.vip
      1        ONLINE  ONLINE       11grac2                                      
ora.scan2.vip
      1        ONLINE  ONLINE       11grac1                                      
ora.scan3.vip
      1        ONLINE  ONLINE       11grac1                                      

4.检查数据库PSU版本
SQL> select * from dba_registry_history

ACTION_TIME                      ACTION          NAMESPACE  VERSION              ID BUNDLE_SERIES   COMMENTS
-------------------------------- --------------- ---------- ------------ ---------- --------------- -------------------------
19-MAY-15 12.26.56.586864 AM     VIEW INVALIDATE                            8289601                 view invalidation
19-MAY-15 12.30.29.942568 AM     UPGRADE         SERVER     11.2.0.4.0                              Upgraded from 11.1.0.7.0
19-MAY-15 12.57.34.299763 AM     APPLY           SERVER     11.2.0.4              0 PSU             Patchset 11.2.0.2.0
19-MAY-15 11.51.52.913326 AM     APPLY           SERVER     11.2.0.4              6 PSU             PSU 11.2.0.4.6
19-MAY-15 11.53.18.266198 AM     APPLY           SERVER     11.2.0.4              6 PSU             PSU 11.2.0.4.6