安装PSU 基于Linux x86_64的11g RAC 11.2.0.4.0 PSU到11.2.0.4.4

说明:

数据库 11.2.0.4 是数据库 11.2 的最终补丁集,Oracle  2014年10月14日发布了11.2.0.4.4的Patch包,
Oracle推荐的Patches见【Oracle Recommended Patches -- Oracle Database (文档 ID 756671.1)】的下面部分:

11.2.0.4 Current Recommended Patches

Patch Set Updates

Document Description Rolling RAC Patch Download
Note:19791364.8 Combo of 11.2.0.4.1 OJVM PSU and 11.2.0.4.4 DB PSU (Oct 2014) No Patch:19791364
Note:19282021.8 Oracle JavaVM Component 11.2.0.4.1 Database PSU (Oct 2014) (OJVM PSU) No Patch:19282021
Note:19121551.8 11.2.0.4.4 (Oct 2014) Database Patch Set Update (DB PSU) Yes Patch:19121551

Grid Infrastructure

Document Description Rolling RAC Patch Download
Note:19791420.8 Combo of 11.2.0.4.1 OJVM PSU and 11.2.0.4.4 GI PSU (Oct 2014) No Patch:19791420
Note:19380115.8 11.2.0.4.4 (Oct 2014) Grid Infrastructure Patch Set Update (GI PSU) Yes Patch:19380115
Also see:
  • Note:1645862.1 Things to Consider Before Upgrading to 11.2.0.4 to Avoid Poor Performance or Wrong Results
如果是RAC环境,直接打 Patch:19380115就可以,该patch包含集群和数据库的patch
The GI PSU patch includes updates for both the Clusterware home and Database home that can be applied in a rolling fashion.
整个PSU过程参考了19380115patch包中的README.html文档。

下面开始PSU的步骤:


1,OPatch Utility Information

1.1下载

opatch的版本要求11.2.0.3.6以及以上版本,我的版本是11.2.0.3.4,因此要从MOS上 patch 6880880  中选择11.2.0.0.0 下载即可。


1.2 每个rac节点的ORACLE_HOME和GI_HOME都要patch

将p6880880_112000_Linux-x86-64.zip解压并覆盖各个节点databases home 和 GI home
[plain]  view plain  copy
 print ?
  1. [oracle@rac1 backup]$ unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME/  
  2. [oracle@rac1 backup]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch version  
  3. OPatch Version: 11.2.0.3.6  
  4. OPatch succeeded.  
  5. [oracle@rac1 backup]$  

 
   

1.3 OCM Configuration

[sql]  view plain  copy
 print ?
  1. The OPatch utility will prompt for your OCM (Oracle Configuration Manager) response file when it is run. You should enter a complete path of OCM response file if you already have created this in your environment. OCM response file is required and is not optional.  
  2.   
  3. If you do not have the OCM response file (ocm.rsp), see the following My Oracle Support Document 966023.1 How To Create An OCM Response File For Opatch Silent Installation.  


ocm的作用就是当你在安装patch的时候,如果没有ocm.rsp这个文件的话,安装会不断的停下来让用户输入信息,而ocm就解决了这个问题,静默安装,
用户无需干预。而且从上面可以看到ocm.rsp是必须的,所以还要以grid或oracle用户到两个节点的对应目录下去生成 OCM response file.
[plain]  view plain  copy
 print ?
  1. [grid@rac2 bin]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  
  2. OCM Installation Response Generator 10.3.4.0.0 - Production  
  3. Copyright (c) 2005, 2010, Oracle and/or its affiliates.  All rights reserved.  
  4.   
  5. Provide your email address to be informed of security issues, install and  
  6. initiate Oracle Configuration Manager. Easier for you if you use your My  
  7. Oracle Support Email address/User Name.  
  8. Visit http://www.oracle.com/support/policies.html for details.  
  9. Email address/User Name:   
  10.   
  11. You have not provided an email address for notification of security issues.  
  12. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y  
  13. The OCM configuration response file (ocm.rsp) was successfully created.  
  14. [grid@rac2 bin]$ ls  
  15. emocmrsp  ocm.rsp  

或者你可以指定生成文件的目录及文件名,只要方便你下面使用就可以
[plain]  view plain  copy
 print ?
  1. [oracle@rac1 ocm]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /backup/file.rsp  
  2. Provide your email address to be informed of security issues, install and  
  3. initiate Oracle Configuration Manager. Easier for you if you use your My  
  4. Oracle Support Email address/User Name.  
  5. Visit http://www.oracle.com/support/policies.html for details.  
  6. Email address/User Name:   
  7.   
  8. You have not provided an email address for notification of security issues.  
  9. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y  
  10. The OCM configuration response file (/backup/file.rsp) was successfully created.  
  11. [oracle@rac1 ocm]$   
  12. [oracle@rac1 ocm]$ cd /backup/  
  13. [oracle@rac1 backup]$ ls  
  14. 19380115  file.rsp  lost+found  p19380115_112040_Linux-x86-64.zip  p6880880_112000_Linux-x86-64.zip  PatchSearch.xml  pfile_std.ora  zhang.dmp  
  15. [oracle@rac1 backup]$   

1.4 Validation of Oracle Inventory

开始安装patch之前,运行下面的命令检查database和grid的Inventory信息的一致性。
[plain]  view plain  copy
 print ?
  1. [oracle@rac1 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME  
  2. Oracle Interim Patch Installer version 11.2.0.3.6  
  3. Copyright (c) 2012, Oracle Corporation.  All rights reserved.  
  4.   
  5.   
  6. Oracle Home       : /u01/app/oracle/product/11.2.0/db_1  
  7. Central Inventory : /u01/app/oraInventory  
  8.    from           : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc  
  9. OPatch version    : 11.2.0.3.6  
  10. OUI version       : 11.2.0.4.0  
  11. Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-10-27_18-05-04PM_1.log  
  12.   
  13. Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-10-27_18-05-04PM.txt  
  14.   
  15. --------------------------------------------------------------------------------  
  16. Installed Top-level Products (1):   
  17.   
  18. Oracle Database 11g                                                  11.2.0.4.0  
  19. There are 1 products installed in this Oracle Home.  
  20.   
  21.   
  22. Installed Products (136):   
  23.   
  24. Agent Required Support Files                                         10.2.0.4.5  
  25. Assistant Common Files                                               11.2.0.4.0  
  26. Bali Share                                                           1.1.18.0.0  
  27. Buildtools Common Files                                              11.2.0.4.0  
  28. Character Set Migration Utility                                      11.2.0.4.0  
  29. Cluster Verification Utility Common Files                            11.2.0.4.0  
  30. Database Configuration and Upgrade Assistants                        11.2.0.4.0  
  31. Database SQL Scripts                                                 11.2.0.4.0  
  32. Database Workspace Manager                                           11.2.0.4.0  
  33. Deinstallation Tool                                                  11.2.0.4.0  
  34. Enterprise Edition Options                                           11.2.0.4.0  
  35. Enterprise Manager Agent                                             10.2.0.4.5  
  36. Enterprise Manager Agent Core Files                                  10.2.0.4.5  
  37. Enterprise Manager Common Core Files                                 10.2.0.4.5  
  38. Enterprise Manager Common Files                                      10.2.0.4.5  
  39. Enterprise Manager Database Plugin -- Agent Support                  11.2.0.4.0  
  40. Enterprise Manager Database Plugin -- Repository Support             11.2.0.4.0  
  41. Enterprise Manager Grid Control Core Files                           10.2.0.4.5  
  42. Enterprise Manager plugin Common Files                               11.2.0.4.0  
  43. Enterprise Manager Repository Core Files                             10.2.0.4.5  
  44. Exadata Storage Server                                               11.2.0.1.0  
  45. Expat libraries                                                       2.0.1.0.1  
  46. Generic Connectivity Common Files                                    11.2.0.4.0  
  47. HAS Common Files                                                     11.2.0.4.0  
  48. HAS Files for DB                                                     11.2.0.4.0  
  49. Installation Common Files                                            11.2.0.4.0  
  50. Installation Plugin Files                                            11.2.0.4.0  
  51. Installer SDK Component                                              11.2.0.4.0  
  52. JAccelerator (COMPANION)                                             11.2.0.4.0  
  53. Java Development Kit                                                1.5.0.51.10  
  54. LDAP Required Support Files                                          11.2.0.4.0  
  55. OLAP SQL Scripts                                                     11.2.0.4.0  
  56. Oracle 11g Warehouse Builder Required Files                          11.2.0.4.0  
  57. Oracle Advanced Security                                             11.2.0.4.0  
  58. Oracle Application Express                                           11.2.0.4.0  
  59. Oracle Call Interface (OCI)                                          11.2.0.4.0  
  60. Oracle Clusterware RDBMS Files                                       11.2.0.4.0  
  61. Oracle Code Editor                                                   1.2.1.0.0I  
  62. Oracle Configuration Manager                                         10.3.8.1.0  
  63. Oracle Configuration Manager Client                                  10.3.2.1.0  
  64. Oracle Configuration Manager Deconfiguration                         10.3.1.0.0  
  65. Oracle Containers for Java                                           11.2.0.4.0  
  66. Oracle Core Required Support Files                                   11.2.0.4.0  
  67. Oracle Data Mining RDBMS Files                                       11.2.0.4.0  
  68. Oracle Database 11g                                                  11.2.0.4.0  
  69. Oracle Database 11g                                                  11.2.0.4.0  
  70. Oracle Database 11g Multimedia Files                                 11.2.0.4.0  
  71. Oracle Database Deconfiguration                                      11.2.0.4.0  
  72. Oracle Database Gateway for ODBC                                     11.2.0.4.0  
  73. Oracle Database User Interface                                       2.2.13.0.0  
  74. Oracle Database Utilities                                            11.2.0.4.0  
  75. Oracle Database Vault J2EE Application                               11.2.0.4.0  
  76. Oracle Database Vault option                                         11.2.0.4.0  
  77. Oracle DBCA Deconfiguration                                          11.2.0.4.0  
  78. Oracle Display Fonts                                                  9.0.2.0.0  
  79. Oracle Enterprise Manager Console DB                                 11.2.0.4.0  
  80. Oracle Extended Windowing Toolkit                                    3.4.47.0.0  
  81. Oracle Globalization Support                                         11.2.0.4.0  
  82. Oracle Globalization Support                                         11.2.0.4.0  
  83. Oracle Help For Java                                                  4.2.9.0.0  
  84. Oracle Help for the  Web                                             2.0.14.0.0  
  85. Oracle Ice Browser                                                    5.2.3.6.0  
  86. Oracle Internet Directory Client                                     11.2.0.4.0  
  87. Oracle Java Client                                                   11.2.0.4.0  
  88. Oracle JDBC Server Support Package                                   11.2.0.4.0  
  89. Oracle JDBC/OCI Instant Client                                       11.2.0.4.0  
  90. Oracle JDBC/THIN Interfaces                                          11.2.0.4.0  
  91. Oracle JFC Extended Windowing Toolkit                                4.2.36.0.0  
  92. Oracle JVM                                                           11.2.0.4.0  
  93. Oracle Label Security                                                11.2.0.4.0  
  94. Oracle LDAP administration                                           11.2.0.4.0  
  95. Oracle Locale Builder                                                11.2.0.4.0  
  96. Oracle Message Gateway Common Files                                  11.2.0.4.0  
  97. Oracle Multimedia                                                    11.2.0.4.0  
  98. Oracle Multimedia Annotator                                          11.2.0.4.0  
  99. Oracle Multimedia Client Option                                      11.2.0.4.0  
  100. Oracle Multimedia Java Advanced Imaging                              11.2.0.4.0  
  101. Oracle Multimedia Locator                                            11.2.0.4.0  
  102. Oracle Multimedia Locator RDBMS Files                                11.2.0.4.0  
  103. Oracle Net                                                           11.2.0.4.0  
  104. Oracle Net Listener                                                  11.2.0.4.0  
  105. Oracle Net Required Support Files                                    11.2.0.4.0  
  106. Oracle Net Services                                                  11.2.0.4.0  
  107. Oracle Netca Client                                                  11.2.0.4.0  
  108. Oracle Notification Service                                          11.2.0.3.0  
  109. Oracle Notification Service (eONS)                                   11.2.0.4.0  
  110. Oracle ODBC Driver                                                   11.2.0.4.0  
  111. Oracle ODBC Driverfor Instant Client                                 11.2.0.4.0  
  112. Oracle OLAP                                                          11.2.0.4.0  
  113. Oracle OLAP API                                                      11.2.0.4.0  
  114. Oracle OLAP RDBMS Files                                              11.2.0.4.0  
  115. Oracle One-Off Patch Installer                                       11.2.0.3.4  
  116. Oracle Partitioning                                                  11.2.0.4.0  
  117. Oracle Programmer                                                    11.2.0.4.0  
  118. Oracle Quality of Service Management (Client)                        11.2.0.4.0  
  119. Oracle RAC Deconfiguration                                           11.2.0.4.0  
  120. Oracle RAC Required Support Files-HAS                                11.2.0.4.0  
  121. Oracle Real Application Testing                                      11.2.0.4.0  
  122. Oracle Recovery Manager                                              11.2.0.4.0  
  123. Oracle Security Developer Tools                                      11.2.0.4.0  
  124. Oracle Spatial                                                       11.2.0.4.0  
  125. Oracle SQL Developer                                                 11.2.0.4.0  
  126. Oracle Starter Database                                              11.2.0.4.0  
  127. Oracle Text                                                          11.2.0.4.0  
  128. Oracle Text Required Support Files                                   11.2.0.4.0  
  129. Oracle UIX                                                           2.2.24.6.0  
  130. Oracle Universal Connection Pool                                     11.2.0.4.0  
  131. Oracle Universal Installer                                           11.2.0.4.0  
  132. Oracle USM Deconfiguration                                           11.2.0.4.0  
  133. Oracle Wallet Manager                                                11.2.0.4.0  
  134. Oracle XML Development Kit                                           11.2.0.4.0  
  135. Oracle XML Query                                                     11.2.0.4.0  
  136. Parser Generator Required Support Files                              11.2.0.4.0  
  137. Perl Interpreter                                                     5.10.0.0.2  
  138. Perl Modules                                                         5.10.0.0.1  
  139. PL/SQL                                                               11.2.0.4.0  
  140. PL/SQL Embedded Gateway                                              11.2.0.4.0  
  141. Platform Required Support Files                                      11.2.0.4.0  
  142. Precompiler Common Files                                             11.2.0.4.0  
  143. Precompiler Required Support Files                                   11.2.0.4.0  
  144. Provisioning Advisor Framework                                       10.2.0.4.3  
  145. RDBMS Required Support Files                                         11.2.0.4.0  
  146. RDBMS Required Support Files for Instant Client                      11.2.0.4.0  
  147. RDBMS Required Support Files Runtime                                 11.2.0.4.0  
  148. regexp                                                                2.1.9.0.0  
  149. Required Support Files                                               11.2.0.4.0  
  150. Sample Schema Data                                                   11.2.0.4.0  
  151. Secure Socket Layer                                                  11.2.0.4.0  
  152. SQL*Plus                                                             11.2.0.4.0  
  153. SQL*Plus Files for Instant Client                                    11.2.0.4.0  
  154. SQL*Plus Required Support Files                                      11.2.0.4.0  
  155. SQLJ Runtime                                                         11.2.0.4.0  
  156. SSL Required Support Files for InstantClient                         11.2.0.4.0  
  157. XDK Required Support Files                                           11.2.0.4.0  
  158. XML Parser for Java                                                  11.2.0.4.0  
  159. XML Parser for Oracle JVM                                            11.2.0.4.0  
  160. There are 136 products installed in this Oracle Home.  
  161.   
  162.   
  163. There are no Interim patches installed in this Oracle Home.  
  164.   
  165.   
  166. Rac system comprising of multiple nodes  
  167.   Local node = rac1  
  168.   Remote node = rac2  
  169.   
  170. --------------------------------------------------------------------------------  
  171.   
  172. OPatch succeeded.  

1.5 Download and Unzip the Patch


下载 Patch:19380115 并解压,解压后要把解压目录的属主修改一下,否则patch的时候可能会失败。

[plain]  view plain  copy
 print ?
  1. $ cd <UNZIPPED_PATCH_LOCATION>  
  2. Check that the directory is empty.  
  3.   
  4. $ ls  
  5. Unzip the patch as grid home owner.  
  6.   
  7. $ unzip p19380115_112040_<platform>.zip  
  8.   
  9. $ chown -R grid:oinstall 19380115  

1.6 One-off Patch Conflict Detection and Resolution

用ORACLE_HOME和GI_HOME下的opatch做最后安装前的冲突检查,此步骤也可以略过,因此在patch的时候会自动做冲突检测。
[plain]  view plain  copy
 print ?
  1. [grid@rac1 19380115]$ $GI_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /backup/19380115  
  2. Oracle Interim Patch Installer version 11.2.0.3.6  
  3. Copyright (c) 2013, Oracle Corporation.  All rights reserved.  
  4.   
  5. PREREQ session  
  6.   
  7. Oracle Home       : /u01/app/11.2.0/grid  
  8. Central Inventory : /u01/app/oraInventory  
  9.    from           : /u01/app/11.2.0/grid/oraInst.loc  
  10. OPatch version    : 11.2.0.3.6  
  11. OUI version       : 11.2.0.4.0  
  12. Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2014-10-27_21-29-02PM_1.log  
  13.   
  14. Invoking prereq "checkconflictagainstohwithdetail"  
  15.   
  16. Prereq "checkConflictAgainstOHWithDetail" passed.  
  17.   
  18. OPatch succeeded.  

Patch Installation 安装

[sql]  view plain  copy
 print ?
  1. The patch instructions will differ based on the configuration of the Grid infrastructure and the Oracle RAC database homes. Patching instructions for Oracle RAC Database Homes and GI together are listed below.  
  2.   
  3. The most common configurations are listed as follows:  
  4.   
  5. Case 1: GI Home and the Database Homes that are not shared and ACFS file system is not configured.  
  6.   
  7. Case 2: GI Home is not shared, Database Home is shared, ACFS may be used.  



简单说,oracle认为patch的时候大多数就2中情况,一种是GI Home和DB HOME是各自独立的目录而且ACFS没有配置;
另一种情况是GI Home是独立的目录,而DB Home是共享的,ACFS可能配置了。我的环境属于第一种情况,
如果你的环境属于第二种可以参考readme中的方法,下面开始执行安装命令。

节点1
[plain]  view plain  copy
 print ?
  1. [root@rac1 ~]# $ORACLE_HOME/OPatch/opatch auto /backup/19380115 -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp   
  2. Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /backup -patchn 19380115 -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  3.   
  4. This is the main log file: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-10-27_22-36-23.log  
  5.   
  6. This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:  
  7. /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-10-27_22-36-23.report.log  
  8.   
  9. 2014-10-27 22:36:23: Starting Clusterware Patch Setup  
  10. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  11.   
  12. Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...  
  13. Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully  
  14.   
  15. patch /backup/19380115/19121551  apply successful for home  /u01/app/oracle/product/11.2.0/db_1   
  16. patch /backup/19380115/19121549/custom/server/19121549  apply successful for home  /u01/app/oracle/product/11.2.0/db_1   
  17.   
  18. Stopping CRS...  
  19. Stopped CRS successfully  
  20.   
  21. patch /backup/19380115/19121551  apply successful for home  /u01/app/11.2.0/grid   
  22. patch /backup/19380115/19121549  apply failed  for home  /u01/app/11.2.0/grid  
  23.   
  24. Starting CRS...  
  25. Installing Trace File Analyzer  
  26. CRS-4123: Oracle High Availability Services has been started.  
  27.   
  28. Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...  
  29. Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully  
  30.   
  31. opatch auto succeeded.  
  32. [root@rac1 ~]#  

节点2
[plain]  view plain  copy
 print ?
  1. [root@rac2 ~]#  $ORACLE_HOME/OPatch/opatch auto /backup/19380115 -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp   
  2. Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /backup -patchn 19380115 -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  3.   
  4. This is the main log file: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-10-27_22-48-16.log  
  5.   
  6. This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:  
  7. /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-10-27_22-48-16.report.log  
  8.   
  9. 2014-10-27 22:48:16: Starting Clusterware Patch Setup  
  10. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  11.   
  12. Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...  
  13. Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully  
  14.   
  15. patch /backup/19380115/19121551  apply successful for home  /u01/app/oracle/product/11.2.0/db_1   
  16. patch /backup/19380115/19121549/custom/server/19121549  apply successful for home  /u01/app/oracle/product/11.2.0/db_1   
  17.   
  18. Stopping CRS...  
  19. Stopped CRS successfully  
  20.   
  21. patch /backup/19380115/19121551  apply successful for home  /u01/app/11.2.0/grid   
  22. patch /backup/19380115/19121549  apply failed  for home  /u01/app/11.2.0/grid  
  23.   
  24. Starting CRS...  
  25. Installing Trace File Analyzer  
  26. CRS-4123: Oracle High Availability Services has been started.  
  27.   
  28. Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...  
  29. Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully  
  30.   
  31. opatch auto succeeded.  

3 Loading Modified SQL Files into the Database 在数据库中应用PSU

在每个数据库实例上运行:
[sql]  view plain  copy
 print ?
  1. [root@rac1 ~]# su - oracle  
  2. [oracle@rac1 ~]$ sqlplus / as sysdba  
  3.   
  4. SQL*Plus: Release 11.2.0.4.0 Production on Mon Oct 27 22:15:33 2014  
  5.   
  6. Copyright (c) 1982, 2013, Oracle.  All rights reserved.  
  7.   
  8.   
  9. Connected to:  
  10. Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production  
  11. With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,  
  12. Data Mining and Real Application Testing options  
  13.   
  14. SQL> @?/rdbms/admin/catbundle.sql psu apply  

4 验证

4.1 节点1的DB PSU安装验证

[plain]  view plain  copy
 print ?
  1. [oracle@rac1 19380115]$ cd $ORACLE_HOME/OPatch  
  2. [oracle@rac1 OPatch]$ ./opatch lsinventory  
  3. Oracle Interim Patch Installer version 11.2.0.3.6  
  4. Copyright (c) 2013, Oracle Corporation.  All rights reserved.  
  5.   
  6.   
  7. Oracle Home       : /u01/app/oracle/product/11.2.0/db_1  
  8. Central Inventory : /u01/app/oraInventory  
  9.    from           : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc  
  10. OPatch version    : 11.2.0.3.6  
  11. OUI version       : 11.2.0.4.0  
  12. Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-10-28_09-04-45AM_1.log  
  13.   
  14. Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-10-28_09-04-45AM.txt  
  15.   
  16. --------------------------------------------------------------------------------  
  17. Installed Top-level Products (1):   
  18.   
  19. Oracle Database 11g                                                  11.2.0.4.0  
  20. There are 1 product(s) installed in this Oracle Home.  
  21.   
  22.   
  23. Interim patches (2) :  
  24.   
  25. Patch  19121549     : applied on Mon Oct 27 22:39:54 CST 2014  
  26. Unique Patch ID:  18065664  
  27. Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"  
  28.    Created on 6 Oct 2014, 03:26:54 hrs PST8PDT  
  29.    Bugs fixed:  
  30.      18328800, 18691572, 14525998, 18187697, 18348155, 17516024, 17387214  
  31.      17750548, 17617807, 17551223, 14671408, 14207615, 18272135, 18180541  
  32.      17292250, 17378618, 17500165, 18875012, 18464784, 17065496, 18848125  
  33.      13991403, 17955615, 14693336, 17273020, 17238586, 17089344, 17405605  
  34.      17531342, 17155238, 17159489, 18053580, 16543190, 17039197, 16317771  
  35.      17947785, 10052729, 16281493, 18346135, 17481314, 18199185, 18399991  
  36.      18024089, 18428146, 18352845, 18352846, 17391726, 18414137, 17001914  
  37.      17927970, 14378120, 16346413, 17305100, 15832129, 15986647, 16901346  
  38.      18068871, 17985714, 18536826, 16206997, 18752378, 16876500, 16429265  
  39.      18343490, 18336452, 16613232, 17273003, 19276791, 12928658, 18226143  
  40.      17172091, 18229842, 18053631, 16867761, 18231837, 15869775, 17483479  
  41.      18729166, 17405302, 15920201, 18709496  
  42.   
  43. Patch  19121551     : applied on Mon Oct 27 22:38:36 CST 2014  
  44. Unique Patch ID:  17949166  
  45. Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"  
  46.    Created on 6 Oct 2014, 10:07:57 hrs PST8PDT  
  47. Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"  
  48. Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"  
  49. Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"  
  50.    Bugs fixed:  
  51.      17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728  
  52.      17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237  
  53.      14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897  
  54.      18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058  
  55.      14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068  
  56.      18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800  
  57.      19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634  
  58.      19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183  
  59.      18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871  
  60.      19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160  
  61.      13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889  
  62.      17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164  
  63.      17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527  
  64.      16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222  
  65.      19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447  
  66.      18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106  
  67.      17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068  
  68.      19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342  
  69.      14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837  
  70.      17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141  
  71.      17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145  
  72.      14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214  
  73.      18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673  
  74.      16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564  
  75.      15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413  
  76.      16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965  
  77.      18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955  
  78.      16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901  
  79.      11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511  
  80.      17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711  
  81.      17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761  
  82.   
  83.   
  84.   
  85. Rac system comprising of multiple nodes  
  86.   Local node = rac1  
  87.   Remote node = rac2  
  88.   
  89. --------------------------------------------------------------------------------  
  90.   
  91. OPatch succeeded.  
  92. [oracle@rac1 OPatch]$   

4.2 节点1的GRID PSU验证

[plain]  view plain  copy
 print ?
  1. [oracle@rac1 OPatch]$ su - grid  
  2. Password:   
  3. [grid@rac1 ~]$ cd $GI_HOME/OPatch  
  4. [grid@rac1 OPatch]$  ./opatch lsinventory  
  5. Oracle Interim Patch Installer version 11.2.0.3.6  
  6. Copyright (c) 2013, Oracle Corporation.  All rights reserved.  
  7.   
  8.   
  9. Oracle Home       : /u01/app/11.2.0/grid  
  10. Central Inventory : /u01/app/oraInventory  
  11.    from           : /u01/app/11.2.0/grid/oraInst.loc  
  12. OPatch version    : 11.2.0.3.6  
  13. OUI version       : 11.2.0.4.0  
  14. Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2014-10-28_09-08-45AM_1.log  
  15.   
  16. Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2014-10-28_09-08-45AM.txt  
  17.   
  18. --------------------------------------------------------------------------------  
  19. Installed Top-level Products (1):   
  20.   
  21. Oracle Grid Infrastructure 11g                                       11.2.0.4.0  
  22. There are 1 product(s) installed in this Oracle Home.  
  23.   
  24.   
  25. Interim patches (1) :  
  26.   
  27. Patch  19121551     : applied on Mon Oct 27 22:43:28 CST 2014  
  28. Unique Patch ID:  17949166  
  29. Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"  
  30.    Created on 6 Oct 2014, 10:07:57 hrs PST8PDT  
  31. Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"  
  32. Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"  
  33. Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"  
  34.    Bugs fixed:  
  35.      17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728  
  36.      17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237  
  37.      14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897  
  38.      18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058  
  39.      14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068  
  40.      18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800  
  41.      19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634  
  42.      19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183  
  43.      18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871  
  44.      19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160  
  45.      13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889  
  46.      17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164  
  47.      17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527  
  48.      16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222  
  49.      19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447  
  50.      18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106  
  51.      17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068  
  52.      19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342  
  53.      14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837  
  54.      17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141  
  55.      17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145  
  56.      14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214  
  57.      18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673  
  58.      16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564  
  59.      15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413  
  60.      16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965  
  61.      18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955  
  62.      16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901  
  63.      11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511  
  64.      17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711  
  65.      17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761  
  66.   
  67.   
  68.   
  69. Rac system comprising of multiple nodes  
  70.   Local node = rac1  
  71.   Remote node = rac2  
  72.   
  73. --------------------------------------------------------------------------------  
  74.   
  75. OPatch succeeded.  
  76. [grid@rac1 OPatch]$   

4.3 节点2的DB PSU安装验证

[plain]  view plain  copy
 print ?
  1. [root@rac2 ~]# su - oracle  
  2. [oracle@rac2 ~]$ cd $ORACLE_HOME/OPatch  
  3. [oracle@rac2 OPatch]$  ./opatch lsinventory  
  4. Oracle Interim Patch Installer version 11.2.0.3.6  
  5. Copyright (c) 2013, Oracle Corporation.  All rights reserved.  
  6.   
  7.   
  8. Oracle Home       : /u01/app/oracle/product/11.2.0/db_1  
  9. Central Inventory : /u01/app/oraInventory  
  10.    from           : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc  
  11. OPatch version    : 11.2.0.3.6  
  12. OUI version       : 11.2.0.4.0  
  13. Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-10-28_09-11-01AM_1.log  
  14.   
  15. Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-10-28_09-11-01AM.txt  
  16.   
  17. --------------------------------------------------------------------------------  
  18. Installed Top-level Products (1):   
  19.   
  20. Oracle Database 11g                                                  11.2.0.4.0  
  21. There are 1 product(s) installed in this Oracle Home.  
  22.   
  23.   
  24. Interim patches (2) :  
  25.   
  26. Patch  19121549     : applied on Mon Oct 27 22:52:28 CST 2014  
  27. Unique Patch ID:  18065664  
  28. Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"  
  29.    Created on 6 Oct 2014, 03:26:54 hrs PST8PDT  
  30.    Bugs fixed:  
  31.      18328800, 18691572, 14525998, 18187697, 18348155, 17516024, 17387214  
  32.      17750548, 17617807, 17551223, 14671408, 14207615, 18272135, 18180541  
  33.      17292250, 17378618, 17500165, 18875012, 18464784, 17065496, 18848125  
  34.      13991403, 17955615, 14693336, 17273020, 17238586, 17089344, 17405605  
  35.      17531342, 17155238, 17159489, 18053580, 16543190, 17039197, 16317771  
  36.      17947785, 10052729, 16281493, 18346135, 17481314, 18199185, 18399991  
  37.      18024089, 18428146, 18352845, 18352846, 17391726, 18414137, 17001914  
  38.      17927970, 14378120, 16346413, 17305100, 15832129, 15986647, 16901346  
  39.      18068871, 17985714, 18536826, 16206997, 18752378, 16876500, 16429265  
  40.      18343490, 18336452, 16613232, 17273003, 19276791, 12928658, 18226143  
  41.      17172091, 18229842, 18053631, 16867761, 18231837, 15869775, 17483479  
  42.      18729166, 17405302, 15920201, 18709496  
  43.   
  44. Patch  19121551     : applied on Mon Oct 27 22:51:07 CST 2014  
  45. Unique Patch ID:  17949166  
  46. Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"  
  47.    Created on 6 Oct 2014, 10:07:57 hrs PST8PDT  
  48. Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"  
  49. Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"  
  50. Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"  
  51.    Bugs fixed:  
  52.      17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728  
  53.      17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237  
  54.      14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897  
  55.      18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058  
  56.      14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068  
  57.      18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800  
  58.      19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634  
  59.      19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183  
  60.      18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871  
  61.      19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160  
  62.      13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889  
  63.      17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164  
  64.      17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527  
  65.      16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222  
  66.      19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447  
  67.      18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106  
  68.      17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068  
  69.      19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342  
  70.      14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837  
  71.      17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141  
  72.      17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145  
  73.      14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214  
  74.      18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673  
  75.      16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564  
  76.      15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413  
  77.      16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965  
  78.      18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955  
  79.      16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901  
  80.      11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511  
  81.      17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711  
  82.      17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761  
  83.   
  84.   
  85.   
  86. --------------------------------------------------------------------------------  
  87.   
  88. OPatch succeeded.  
  89. [oracle@rac2 OPatch]$   

4.4 节点2的GRID PSU验证

[plain]  view plain  copy
 print ?
  1. [oracle@rac2 OPatch]$ su - grid  
  2. Password:   
  3. [grid@rac2 ~]$ cd $GI_HOME/OPatch  
  4. [grid@rac2 OPatch]$  ./opatch lsinventory  
  5. Oracle Interim Patch Installer version 11.2.0.3.6  
  6. Copyright (c) 2013, Oracle Corporation.  All rights reserved.  
  7.   
  8.   
  9. Oracle Home       : /u01/app/11.2.0/grid  
  10. Central Inventory : /u01/app/oraInventory  
  11.    from           : /u01/app/11.2.0/grid/oraInst.loc  
  12. OPatch version    : 11.2.0.3.6  
  13. OUI version       : 11.2.0.4.0  
  14. Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2014-10-28_09-12-26AM_1.log  
  15.   
  16. Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2014-10-28_09-12-26AM.txt  
  17.   
  18. --------------------------------------------------------------------------------  
  19. Installed Top-level Products (1):   
  20.   
  21. Oracle Grid Infrastructure 11g                                       11.2.0.4.0  
  22. There are 1 product(s) installed in this Oracle Home.  
  23.   
  24.   
  25. Interim patches (1) :  
  26.   
  27. Patch  19121551     : applied on Mon Oct 27 22:56:43 CST 2014  
  28. Unique Patch ID:  17949166  
  29. Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"  
  30.    Created on 6 Oct 2014, 10:07:57 hrs PST8PDT  
  31. Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"  
  32. Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"  
  33. Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"  
  34.    Bugs fixed:  
  35.      17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728  
  36.      17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237  
  37.      14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897  
  38.      18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058  
  39.      14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068  
  40.      18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800  
  41.      19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634  
  42.      19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183  
  43.      18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871  
  44.      19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160  
  45.      13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889  
  46.      17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164  
  47.      17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527  
  48.      16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222  
  49.      19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447  
  50.      18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106  
  51.      17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068  
  52.      19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342  
  53.      14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837  
  54.      17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141  
  55.      17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145  
  56.      14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214  
  57.      18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673  
  58.      16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564  
  59.      15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413  
  60.      16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965  
  61.      18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955  
  62.      16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901  
  63.      11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511  
  64.      17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711  
  65.      17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761  
  66.   
  67.   
  68.   
  69. Rac system comprising of multiple nodes  
  70.   Local node = rac2  
  71.   Remote node = rac1  
  72.   
  73. --------------------------------------------------------------------------------  
  74.   
  75. OPatch succeeded.  
  76. [grid@rac2 OPatch]$   

4.5 数据库实例PSU验证

[html]  view plain  copy
 print ?
  1. col action format a15  
  2. col comments format a30  
  3.   
  4. select action ,comments from registry$history;  
  5.   
  6. ACTION          COMMENTS  
  7. --------------- ------------------------------  
  8. APPLY           Patchset 11.2.0.2.0  
  9. APPLY           Patchset 11.2.0.2.0  
  10. APPLY           Patchset 11.2.0.2.0  
  11. APPLY           Patchset 11.2.0.2.0  
  12. APPLY           PSU 11.2.0.4.4  
  13. APPLY           PSU 11.2.0.4.4  

下面是psu的日志,里面记录了psu之前自动进行的冲突检测
[plain]  view plain  copy
 print ?
  1. 1: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckComponents -ph /backup/19380115/19121551 -oh /u01/app/oracle/product/11.2.0/db_1  
  2.   
  3. 2: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckComponents -ph /backup/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11.2.0/db_1  
  4.   
  5. 3: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckConflictAgainstOH -ph /backup/19380115/19121551 -oh /u01/app/oracle/product/11.2.0/db_1  
  6.   
  7. 4: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckConflictAgainstOH -ph /backup/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11.2.0/db_1  
  8.   
  9. 5: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckComponents -ph /backup/19380115/19121551 -oh /u01/app/11.2.0/grid  
  10.   
  11. 6: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckComponents -ph /backup/19380115/19121549 -oh /u01/app/11.2.0/grid  
  12.   
  13. 7: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckComponents -ph /backup/19380115/19121552 -oh /u01/app/11.2.0/grid  
  14.   
  15. 8: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /backup/19380115/19121551 -oh /u01/app/11.2.0/grid  
  16.   
  17. 9: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /backup/19380115/19121549 -oh /u01/app/11.2.0/grid  
  18.   
  19. 10: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /backup/19380115/19121552 -oh /u01/app/11.2.0/grid  
  20.   
  21. 11: /u01/app/oracle/product/11.2.0/db_1/bin/emctl stop dbconsole  
  22.   
  23. 12: /u01/app/oracle/product/11.2.0/db_1/bin/emctl stop agent  
  24.   
  25. 13: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckApplicable -ph /backup/19380115/19121551 -oh /u01/app/oracle/product/11.2.0/db_1  
  26.   
  27. 14: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckApplicable -ph /backup/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11.2.0/db_1  
  28.   
  29. 15: /u01/app/oracle/product/11.2.0/db_1/bin/srvctl stop home -o /u01/app/oracle/product/11.2.0/db_1 -s /u01/app/oracle/product/11.2.0/db_1/srvm/admin/stophome.txt -n rac1  
  30.   
  31. 16: /backup/19380115/19121549/custom/server/19121549/custom/scripts/prepatch.sh -dbhome /u01/app/oracle/product/11.2.0/db_1  
  32.   
  33. 17: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch napply /backup/19380115/19121551 -local -silent -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -oh /u01/app/oracle/product/11.2.0/db_1 -invPtrLoc /u01/app/oracle/product/11.2.0/db_1/oraInst.loc  
  34.   
  35. 18: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch napply /backup/19380115/19121549/custom/server/19121549 -local -silent -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -oh /u01/app/oracle/product/11.2.0/db_1 -invPtrLoc /u01/app/oracle/product/11.2.0/db_1/oraInst.loc  
  36.   
  37. 19: /backup/19380115/19121549/custom/server/19121549/custom/scripts/postpatch.sh -dbhome /u01/app/oracle/product/11.2.0/db_1  
  38.   
  39. 20: /u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock : run as root  
  40.   
  41. 21: /sbin/fuser -k /u01/app/11.2.0/grid/bin/crsctl.bin : run as root  
  42.   
  43. 22: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckApplicable -ph /backup/19380115/19121551 -oh /u01/app/11.2.0/grid  
  44.   
  45. 23: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckApplicable -ph /backup/19380115/19121549 -oh /u01/app/11.2.0/grid  
  46.   
  47. 24: /u01/app/11.2.0/grid/OPatch/opatch prereq CheckApplicable -ph /backup/19380115/19121552 -oh /u01/app/11.2.0/grid  
  48.   
  49. 25: /u01/app/11.2.0/grid/OPatch/opatch napply /backup/19380115/19121551 -local -silent -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -oh /u01/app/11.2.0/grid -invPtrLoc /u01/app/11.2.0/grid/oraInst.loc  
  50.   
  51. 26: /u01/app/11.2.0/grid/OPatch/opatch napply /backup/19380115/19121549 -local -silent -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -oh /u01/app/11.2.0/grid -invPtrLoc /u01/app/11.2.0/grid/oraInst.loc  
  52.   
  53. 27: /u01/app/11.2.0/grid/bin/emctl start dbconsole  
  54.   
  55. 28: /u01/app/11.2.0/grid/rdbms/install/rootadd_rdbms.sh : run as root  
  56.   
  57. 29: /u01/app/11.2.0/grid/crs/install/rootcrs.pl -patch : run as root  
  58.   
  59. 30: /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole  
  60.   
  61. 31: /u01/app/oracle/product/11.2.0/db_1/bin/emctl start agent  
  62.   
  63. 32: /u01/app/oracle/product/11.2.0/db_1/bin/srvctl start home -o /u01/app/oracle/product/11.2.0/db_1 -s /u01/app/oracle/product/11.2.0/db_1/srvm/admin/stophome.txt -n rac1  

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25462274/viewspace-2124930/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/25462274/viewspace-2124930/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值