Applypsuonsingledatabase 150301020147 Conversion Gate01

6
APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA APPLY PSU ON SINGLE DATABASE Introduction This document describe steps how to apply PSU patch on Single node Database. Environment:- Operating System: Oracle Linux 6.4 Database: - 11.2.0.4 Software Needed:- 1- Download latest Version Opatch Patch number : 6880880 2- PSU Patch depend on Database version. Both should be downloaded from http://support.oracle.com

description

k

Transcript of Applypsuonsingledatabase 150301020147 Conversion Gate01

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE DATABASE

    Introduction

    This document describe steps how to apply PSU patch on Single node Database.

    Environment:-

    Operating System: Oracle Linux 6.4

    Database: - 11.2.0.4

    Software Needed:-

    1- Download latest Version Opatch Patch number : 6880880

    2- PSU Patch depend on Database version.

    Both should be downloaded from http://support.oracle.com

    http://support.oracle.com/

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE 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.

    http://www.otechmag.com/2014/otech-magazine-spring-2014/https://twitter.com/OsamaOraclehttps://plus.google.com/107240185832592449830http://www.slideshare.net/OsamaMustafahttp://www.linkedin.com/in/osamamustafahttps://osamamustafa.blogpsot.com/

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE DATABASE

    1- If this is not a Oracle RAC environment, shut down all instances and listeners.

    a. Lsnrctl stop

    b. Shutdown immediate.

    2- Check Opatch Version, if the version not the latest please download it.

    After download the latest Opatch Version.

    3- Dont foget to Check README File in the Patch Directory.

    4- Set your current directory to the directory where the patch is located

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE DATABASE

    unzip p19769489_112040_.zip cd 19769489 opatch apply

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE DATABASE

    5- Now Run the Catbundle script that located in Oracle_home directory.

    cd $ORACLE_HOME/rdbms/admin

    sqlplus / as sysdba

    SQL> STARTUP

    SQL> @catbundle.sql psu apply

    Note: the above step should be done on for each database instance running on the Oracle

    home being patched.

  • APPLY PSU ON SINGLE DATABASE OSAMA MUSTAFA

    APPLY PSU ON SINGLE DATABASE

    6- Finally Run the utlrp to fix invalid Object,