Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Apply psu patch on rac database

3,022 views

Published on

Apply psu patch on rac database

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Apply psu patch on rac database

  1. 1. APPLY PSU PATCH ON GRID & DATABASE Introduction This document describe steps to apply PSU Patch on RAC Database ( Grid Infrastructure & Database ) included with screen shots. Environment:- Operating System: Solaris 11.2 Database: - 11.2.0.3.0 Two node RAC. Software Needed:- 1- Download latest OPTACH from Oracle Support Here. 2- Download all the needed PSU patches from Oracle Support Here.
  2. 2. APPLY PSU PATCH ON GRID & DATABASE About the Author Osama Mustafa has progressive experience in Oracle Products, community. He recently served as Oracle Database Administrator. Provide Database Implementation Solutions, High Availability Solution, Infrastructure and Storage Planning, Install, Configure, Implement and manage Oracle E-Business Suite environments. Architect, build and support highly-available Oracle EBS, Database and Fusion Middleware environments including appropriate reporting, Installs, configures, upgrades, tunes, and maintains production, development and test databases. He entered Oracle ACE Program in 2013, he is author for the book Oracle Penetration Testing, Osama Mustafa Certified OCP 10g,11g, Linux Implementations , Certified Ethical hacker and LPT , and Solaris Administrator. Include to all this Osama Mustafa is international Speaker in Oracle User Group and Oracle OTN Tour, Published Online Articles in His blog about Oracle Technology, Volunteer in Oracle User Group such as IOUG, ODTUG and UKOUG , Volunteer Board member in RACSIG and Organizer for RACATTACK Event around the world. Recently his article has been published on OTECH magazine about Real Application Cluster Here. Twitter: @OsamaOracle G+: Osama Mustafa SlidShare: Osama Mustafa LinkedIn: http://www.linkedin.com/in/osamamustafa Blog: https://osamamustafa.blogpsot.com.
  3. 3. APPLY PSU PATCH ON GRID & DATABASE Some steps need to be done before applying any PSU Patches just to make sure the RAC Status is fine and everything is working without any problem, before applying any PSU patch please download OPATCH Latest version patch 6880880 all you have to do is rename the old OPATCH folder and put the new one in the same location :- Check OPATCH version:- Check the RAC STATUS like below:- As Oracle, Grid User: olsnodes -n -i -s -t crs_stat -t | egrep 'NAME|---|db|svc'
  4. 4. APPLY PSU PATCH ON GRID & DATABASE Check Applied Patches on grid and database by run Opatch lsinventory from each grid home and oracle Home. $GRID_HOME/OPatch/opatch lsinventory $ORACLE_HOME/OPatch/opatch lsinventory Next Step is creating response file to know more about response file read here. After download newer version of OPATCH Run the below command:- $GRID_HOME/OPatch/ocm/bin/emocmrsp OCM Installation Response Generator 10.3.4.0.0 - Production Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 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]: N 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 (ocm.rsp) was successfully created.
  5. 5. APPLY PSU PATCH ON GRID & DATABASE Stop databases without stopping RAC Services. After unzip the Grid PSU Patch Just Run the below command:- opatch auto PSU_PATCH_LOCATION -ocmrf location/ocm.rsp It will take some time, On Grid Level Run the OPATCH Under root User.
  6. 6. APPLY PSU PATCH ON GRID & DATABASE The Patch has been applied successfully. Now let’s apply PSU Patch on Database Level. Shutdown all the database services. Unzip the PSU patch. Under The PSU Folder. $ORACLE_HOME/OPatch/opatch apply Or As Root User $GRID_HOME/OPatch/opatch auto DB_PSU_PATCH_LOC -oh $ORACLE_HOME -ocmrf LOCATION/ocm.rsp
  7. 7. APPLY PSU PATCH ON GRID & DATABASE Post Installation Steps:- Cd $ORACLE_HOME/rdbms/admin SQL> connect / as sysdba SQL > Startup ; SQL > @catbundle.sql psu apply SQL> select * from dba_registry_history; Reference:- OPatch Version Check Failed While Applying 11.2.0.2 GI Bundle Patch (Doc ID 1308858.1) OPatch Auto fails with Minimum Version Check Error (Doc ID 1962957.1) Is It Recommended To Apply Patch Bundles When PSU Is Available? (Doc ID 743554.1)

×