重庆思庄Oracle、Redhat认证学习论坛

标题: Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README (D... [打印本页]

作者: 郑全    时间: 2015-11-5 17:34
标题: Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README (D...
Applies to:   Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Main ContentReleased: April 15, 2014 In this document Oracle Database Home refers to Enterprise Edition or Standard Edition Database software. GI refers to Grid Infrastructure and PSU refers to Patch Set Update.

Note:
The purpose of this note is to serve as a SUPPLEMENTAL README for all 11.2.0.4.x GI PSU.
The primary reference document for every 11.2.0.4.x GI PSU is the README shipped with that PSU. This document serves as a supplement to that README.
This supplemental readme contains additional application scenarios and manual apply/rollback steps.

The GI PSU patch includes updates for both the Clusterware home and Database home that can be applied in a rolling fashion.
This patch is Data Guard Standby First Installable - See My Oracle Support Document 1265700.1 Oracle Patch Assurance - Data Guard Standby-First Patch Apply for details on how to remove risk and reduce downtime when applying this patch.
This document is accurate at the time of release. For any changes and additional information regarding any 11.2.0.4.x GI PSU, see the README for that GI PSU, and see also these related documents that are available at My Oracle Support (http://support.oracle.com/):
This document includes the following sections:
  1 Patch InformationGI PSUs are cumulative and include the Database PSU and associated CPU program security content.

Table 1 lists the various configurations and the applicable PSU that should be used to patch that configuration.
Table 1 Configuration and PSU Mapping
Configuration
GI Version
Database Versions
PSU Patch (to Apply)
OPatch Command
Comments

GI Home in conjunction with RAC, RACOne, or Single Instance home
11.2.0.4
11.2.0.4
GI PSU
OPatch auto
GI Home and all the Database Homes will be patched

GI Home in conjunction with RAC, RACOne, or Single Instance home
11.2.0.4
11.2.0.4 and prior versions
GI PSU
OPatch auto
GI Home and Database Home at 11.2.0.4 version will be patched.
For Database home with version other than 11.2.0.4, apply the appropriate Database PSU for that version. For example, apply 11.1.0.7.x PSU to Database version 11.1.0.7.0.

GI Home in conjunction with RAC, RACOne, or Single Instance home
11.2.0.4
Versions prior to 11.2.0.4
GI PSU
OPatch auto
GI Home alone is patched.
For Database home, apply the appropriate Database PSU for that version. For example, apply 11.1.0.7.x PSU to Database version 11.1.0.7.0.

Oracle Restart Home
11.2.0.4
11.2.0.4
GI PSU
OPatch auto
GI Home and all the Database Homes will be patched.

Database Single Instance home
NA
11.2.0.4
Database PSU
OPatch apply
None

Database Client home
NA
11.2.0.4
Database PSU
OPatch apply
None


   
Table 2 lists the various tracking bugs which can be used for patch application.
DB VersionPSU VersionGI_PSU_Patch#OCW Comp_Patch#ACFS Comp_Patch#DB_PSU_Patch#
11.2.0.4.011.2.0.4.2GIPSU1813960918031740 18031731 18031668
11.2.0.4.3GIPSU18706472185225151852251418522509
11.2.0.4.4GIPSU19380115191215491912155219121551
11.2.0.4.5GIPSU19955028197694761976946919769489
11.2.0.4.6GIPSU20485808204209372029901920299013
11.2.0.4.7GIPSU20996923208311222029901920760982
11.2.0.4.8GIPSU21523375213526492135264221352635


2 Patch Installation and DeinstallationThis section includes the following sections:
  2.1 Patch Installation PrerequisitesYou must satisfy the conditions in the following sections before applying the patch:
2.1.1 OPatch Utility InformationFor GI PSU 11.2.0.4.2 and above, you must use OPatch utility version 11.2.0.3.6 or later.. Oracle recommends that you use the latest released OPatch for 11.2 releases, which is available for download from My Oracle Support patch 6880880 by selecting ARU link for the 11.2.0.0.0 release. It is recommended that you download the Opatch utility and the patch in a shared location to be able to access them from any node in the cluster for the patch application on each node.
When patching the GI Home, a shared location on ACFS only needs to be unmounted on the node where the GI Home is being patched.
The new opatch utility should be updated in all the Oracle RAC database homes and the GI home that are being patched.
To update Opatch, use the following instructions:
The version output of the previous command should be 11.2.0.3.6 or later.
For information about OPatch documentation, including any known issues, see My Oracle Support Document 293369.1 OPatch documentation list.

   2.1.2 OCM ConfigurationThe 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.
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.

   2.1.3 Validation of Oracle InventoryBefore beginning patch application, check the consistency of inventory information for GI home and each database home to be patched. Run the following command as respective Oracle home owner to check the consistency.
$ <ORACLE_HOME>/OPatch/opatch lsinventory -detail -oh <ORACLE_HOME>If this command succeeds, it lists the Oracle components that are installed in the home. Save the output so you have the status prior to the patch apply.
If this command fails, contact Oracle Support Services for assistance.

   2.1.4 Download and Unzip the PatchTo apply the patch, it must be accessible from all nodes in the Oracle cluster. Download the patch and unzip it to a shared location, this is called the <UNZIPPED_PATCH_LOCATION>. This directory must be empty and not be /tmp. Additionally, the directory should have read permission for the ORA_INSTALL group.

Important Note:
In this readme:
  • The downloaded patch location directory is referred as <UNZIPPED_PATCH_LOCATION>.
  • The Patch Number of the 11.2.0.4.x GI PSU as a whole is referred to as <GI_PSU_number>.
  • The Patch Number of the 11.2.0.4.x DB PSU, which is bundled with the GI PSU, is referred to as <DB_PSU_number>.
  • The Patch Number of the OCW Component of the 11.2.0.4.x GI PSU is referred to as <OCW Components_number>.
  • The Patch Number of the ACFS Component of the 11.2.0.4.x GI PSU is referred to as <ACFS Components_number>.


BUG 18139609- GRID INFRASTRUCTURE SYSTEM PATCH 11.2.0.4.2 contains
       BUG 18031668 -DATABASE PATCH SET UPDATE 11.2.0.4.2 (INCLUDES CPUAPR2014)
       BUG 18031740 - OCW PATCH SET UPDATE 11.2.0.4.2
       BUG 18031731 - ACFS PATCH SET UPDATE 11.2.0.4.2
In this example, the <GI_PSU_number> is 18139609; the<OCW Components_number> is 18031740 ;the <ACFS Components_number> is 18031731 ;and the <DB_PSU_number> is 18031668.

$ cd <UNZIPPED_PATCH_LOCATION>Check that the directory is empty.
$ lsUnzip the patch as grid home owner.
$ unzip p<GI_PSU_number>_112040_<platform>.zip For example, if <UNZIPPED_PATCH_LOCATION> in your environment is /u01/oracle/patches, enter the following command:
$ cd /u01/oracle/patchesIf the GI PSU patch number is 18139609, as the Grid home owner execute:
$ unzip 18139609_112030_<platform>.zipBy unzipping p18139609_112030_<platform>.zip in /u01/oracle/patches, One top level directory : 18139609 will be created which will have three directories inside it: 18031668 18031740  and 18031731 .
$ ls -1 /u01/oracle/patches18139609 $ ls -1 /u01/oracle/patches/18139609 18031668 <span id="mainframespan"></span><span id="mainframespan">18031740</span>18031731 bundle.xmlREADME.htmlREADME.txtThe PSU patch may include multiple patches and you may notice that there are multiple directories created with distinct bug numbers. For a discussion of the different patch numbers for the GI and DB components of the GI PSU, please see this important note. The GI and DB components are separate patches. When the apply instructions have separate instructions for the DB and GI PSU patches, you must be careful to follow the instructions for the correct one.

   2.1.5 Stop EM Agent Processes Prior to Patching and Prior to Rolling Back the PatchYou must stop the EM agent processes running from the database home, prior to patching the Oracle RAC database or GI Home and prior to rolling back the patch from Oracle RAC database or GI Home. Execute the following command on the node to be patched or the node where the patch is to be rolled back.
As the Oracle RAC database home owner execute:
$ <ORACLE_HOME>/bin/emctl stop dbconsole

  2.2 One-off Patch Conflict Detection and ResolutionSee My Oracle Support Document 1061295.1 Patch Set Updates - One-off Patch Conflict Resolution to determine, for each conflicting patch, whether a conflict resolution patch is already available, and if you need to request a new conflict resolution patch or if the conflict may be ignored.
The fastest and easiest way to determine whether you have one-off patches in the Oracle home that conflict with the patch, and to get the necessary conflict resolution patches, is to use the Patch Recommendations and Patch Plans features on the Patches & Updates tab in My Oracle Support. These features work in conjunction with the My Oracle Support Configuration Manager. Recorded training sessions on these features can be found in Document 603505.1.

  2.3 OPatch auto for GIThe Opatch utility has automated the patch application for the Oracle Grid Infrastructure (GI) home and the Oracle RAC database homes when run with root privileges. It must be executed on each node in the cluster if the GI home or Oracle RAC database home is in non-shared storage. The utility should not be run in parallel on the cluster nodes.
For more information about opatch auto, see My Oracle Support Document 1339140.1 FAQ: OPatch/Patch Questions/Issues for Oracle Clusterware (Grid Infrastructure or CRS) and RAC Environments.
For detailed patch installation instructions, see Section 2.4, "Patch Installation".

   2.4 Patch Installation This section will guide you through the steps required to apply this patch to Oracle RAC database homes, the Grid home, or all relevant homes on the cluster.
The patch instructions will differ based on the configuration of the Grid infrastructure and the Oracle RAC database homes.
The patch installations will also differ based on following aspects of your existing configuration:
You must choose the most appropriate case that is suitable based on the existing configurations and your patch intention.

Note:
You must stop the EM agent processes running from the database home, prior to patching the Oracle RAC database or GI Home. Execute the following command on the node to be patched. As the Oracle RAC database home owner execute:
$ <ORACLE_HOME>/bin/emctl stop dbconsole

Case 1: Patching Oracle RAC Database Homes and the GI Home Together
Follow the instructions in this section if you would like to patch all the Oracle RAC database homes of release version 11.2.0.4 and the 11.2.0.4 GI home.
Case 1.1: GI Home Is Not Shared
Case 1.1.1: ACFS File System Is Not Configured and Database Homes Are Not Shared
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
As root user execute the following command on each node of the cluster:
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -ocmrf <ocm response file>
Case 1.1.2A: Patching the GI Home and Database Home Together, the GI Home Is Not Shared, the Database Home Is Shared, ACFS May Be Used
Case 1.1.2B: Patching the GI Home and the Database Home Together, the GI Home Is Not Shared, the Database Home Is Not Shared, ACFS May Be Used
For each node, perform the following steps:
Case 1.2: GI Home Is Shared
Follow these instructions in this section if the GI home is shared.

Note:
Patching a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in the cluster. This also means you need to stop all Oracle RAC databases which depend on GI stack, ASM for data files, or an ACFS file system.

Case 2: Patching Oracle RAC Database Homes
You should use the following instructions if you prefer to patch Oracle RAC databases alone with this patch. Note that a USM only patch cannot be applied to a Database Home.
Case 2.1: Non-Shared Oracle RAC Database Homes
Case 2.2: Shared Oracle RAC Database Homes
Case 3: Patching GI Home Alone
You should use the following instructions if you prefer to patch Oracle GI (Grid Infrastructure) home alone with this patch.
Case 3.1: Non-Shared GI Home
If the GI home is not shared then use the following instructions to patch the home.
Case 3.1.1: ACFS File System Is Not Configured
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes use ACFS file system for its software files.
Execute the following on each node of the cluster.
As root user execute:
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -oh <GI_HOME> -ocmrf <ocm response file>
Case 3.1.2: ACFS File System Is Configured
Repeat Steps 1 through 6 for each node in the cluster:
Case 3.2: Shared GI Home
Follow these instructions in this section if the GI home is shared.

Note:
Patching a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in the cluster. This also means you need to stop all Oracle RAC databases that depend on the GI stack, ASM for data file, or ACFS file system for database software.

Case 4: Patching Oracle Restart Home
You must keep the Oracle Restart stack up and running when you are patching. Use the following instructions to patch Oracle Restart home.
As root user execute:
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -ocmrf <ocm response file>To patch the ACFS software in an Oracle Restart environment:
Case 5: Patching a Software Only GI Home Installation or Before the GI Home Is Configured

    2.5 Patch Post-Installation InstructionsAfter installing the patch, perform the following actions:
2.5.1 Applying Conflict Resolution PatchesApply the patch conflict resolution one-off patches that were determined to be needed when you performed the steps in Section 2.2, "One-off Patch Conflict Detection and Resolution".

  2.5.2 Loading Modified SQL Files into the DatabaseThe following steps load modified SQL files into the database. For an Oracle RAC environment, perform these steps on only one node.

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

  2.6 Patch Post-Installation Instructions for Databases Created or Upgraded after Installation of Patch in the Oracle HomeThese instructions are for a database that is created or upgraded after the installation of the patch.
You must execute the steps in Section 2.5.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
There are no actions required for databases that have been upgraded.

   2.7 Patch Deinstallation You can use the following steps to roll back patches. Choose the instructions that apply to your needs.

Note:
You must stop the EM agent processes running from the database home, prior to rolling back the patch from Oracle RAC database or GI Home. Execute the following command on the node to be patched. As the Oracle RAC or Oracle RAC One Node database home owner execute:
<ORACLE_HOME>/bin/emctl stop dbconsole

Case D1: Rolling Back the Oracle RAC Database Homes and GI Homes Together
Follow the instructions in this section if you would like to rollback the patch from all the Oracle RAC database homes of release version 11.2.0.4 and the 11.2.0.4 GI home.
Case D1.1: GI Home Is Not Shared
Case D1.1.1: ACFS File System Is Not Configured and Database Homes Are Not Shared
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
As root user, execute the following command on each node of the cluster.
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -rollback -ocmrf <ocm response file>If the message, "A system reboot is recommended before using ACFS&iuml;&iquest;&frac12; is shown, then a reboot must be issued before continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
Case D1.1.2A: GI Home and Database Home Together, the GI Home Is Not Shared, the Database Home Is Shared
Case D1.1.2B: GI Home and the Database Home Together, the GI Home Is Not Shared, the Database Home Is Not Shared
For each node, perform the following steps:
Case D1.2 GI Home Is Shared
Follow these instructions in this section if the GI home is shared.

Note:
An operation on a shared GI home requires shutdown of the Oracle GI stack on all the remote nodes in the cluster. This also means you need to stop all Oracle RAC databases that depend on the GI stack, ASM for data file, or ACFS file system.

Case D2: Rolling Back from the Oracle RAC Database Homes
You should use the following instructions if you prefer to roll back the patch from Oracle RAC databases homes alone.
Case D2.1: Non-Shared Oracle RAC Database Homes
Note that a USM only patch cannot be applied to a Database home.
Execute the following command on each node of the cluster.
As root user execute:
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -oh <Comma separated Oracle home paths> -rollback -ocmrf <ocm response file>
Case D2.2: Shared Oracle RAC Database Homes
Note that a USM only patch cannot be applied to a Database home.
Case D3: Rolling Back from the GI Home Alone
You should use the following instructions if you prefer to roll back the patch from the Oracle GI (Grid Infrastructure) home alone.
Case D3.1 Shared GI Home
Follow these instructions in this section if the GI home is shared.

Note:
An operation in a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in the cluster. This also means you need to stop all Oracle RAC databases that depend on the GI stack, ASM for data file, or ACFS file system for database software.

Case D3.2: Non-Shared GI Home
If the GI home is not shared, then use the following instructions to roll back the patch from the GI home.
Case D3.2.1: ACFS File System Is Not Configured
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
Execute the following on each node of the cluster.
As root user execute:
# opatch auto <UNZIPPED_PATCH_LOCATION>/<GI_PSU_number> -oh <GI_HOME> -rollback -ocmrf <ocm response file>If the message, "A system reboot is recommended before using ACFS&iuml;&iquest;&frac12; is shown, then a reboot must be issued before continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
Case D3.2.2: ACFS File System Is Configured
Repeat Steps 1 through 6 for each node in the cluster:
Case D4: Rolling Back the Patch from Oracle Restart Home
You must keep the Oracle Restart stack up and running when you are rolling back the patch from the Oracle Restart home. Use the following instructions to roll back the patch from the Oracle Restart home.
To update ACFS software in an Oracle Restart configuration:
Case D5: Rolling Back the Patch from a Software Only GI Home Installation or Before the GI Home is Configured

   2.8 Patch Post-Deinstallation Instructions for an Oracle RAC EnvironmentFollow these steps only on the node for which the steps in Section 2.5.2, "Loading Modified SQL Files into the Database" were executed during the patch application.:
All other instances can be started and accessed as usual while you are executing the deinstallation steps.


   3 Known IssuesFor issues documented after the release of this PSU, see My Oracle Support Document 1912699.1 11.2.0.4.X Grid Infrastructure Bundle/PSU Known Issues.

   4 ReferencesThe following documents are references for this patch.
Document 1494652.1 Instructions for Mounting/Unmounting ACFS File Systems
Document 854428.1 Patch Set Updates for Oracle Products
Document 360870.1 Impact of Java Security Vulnerabilities on Oracle Products
Document 468959.1 Enterprise Manager Grid Control Known Issues
Document 1339140.1 Opatch/Patch Questions/Issues for Oracle Clusterware (Grid Infrastructure or CRS) and RAC Environments

   5 Manual Steps for Apply/Rollback Patch  
Steps for Applying the Patch

Note:
You must stop the EM agent processes running from the database home, prior to patching the Oracle RAC database or GI Home. Execute the following command on the node to be patched. As the Oracle RAC database home owner execute:
$ <ORACLE_HOME>/bin/emctl stop dbconsole

Execute the following on each node of the cluster in non-shared CRS and DB home environment to apply the patch.
Steps for Rolling Back the Patch From a GI Home
Execute the following on each node of the cluster in non-shared CRS and DB home environment to rollback the patch.
Patching an Oracle RAC Home Installation Manually
Note that USM only patches cannot be applied to a Database home.
Rolling Back the Patch from an Oracle RAC Home Installation Manually

     6 Documentation AccessibilityFor information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.


Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README
Copyright &iuml;&iquest;&frac12; 2006, 2013, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.



Copyright &iuml;&iquest;&frac12; 2006, 2013, Oracle and/or its affiliates. All rights reserved.




11.2.0.4.6GIPSU20485808204209372029901920299013 11.2.0.4.7GIPSU20996923208311222029901920760982





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2