My Oracle Support Banner

Example: Manually Apply a 12c GI PSU/Interim or DB Interim Patch in Standalone Environment (Doc ID 1595408.1)

Last updated on AUGUST 02, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Goal

This is an example of manually applying a 12.1.0.1 Grid Infrastructure PSU in GI Standalone (Oracle Restart) environment. The example was on Linux but steps are the same for other platforms.

Note: it's recommended to use opatchauto when possible, this procedure should only be used when opatchauto fails.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Environment Configuration
 1. Download the latest opatch
 2. Download the PSU and unzip as grid user.
 3. Apply the patch
 3.1. Apply to both GI and DB home 
 3.1.1. Execute "roothas.pl -prepatch" as root user from GI home: 
 3.1.2. As grid user apply all sub-patches in the GI PSU  (OCW, ACFS and DB, <note 1595371.1>)  to GI home
 4.1.3. As oracle user apply all but ACFS sub-patches in the GI PSU  (<note 1595371.1>)  to DB home
 4.1.4. As the root user complete the patching  
 4.2. Apply to GI home only
 4.2.1. Execute "roothas.pl -prepatch" as root user from GI home: 
 4.2.2. As grid user apply all sub-patches in the GI PSU  (OCW, ACFS and DB, <note 1595371.1>) 
 4.2.3. As the root user complete the patching  
 4.3. Apply to DB home only
 4.3.1. Save DB home state
 4.3.2. Execute prepatch.sh from GI PSU sub-patch directory to save DB home configuration
 4.3.3. Apply all but ACFS sub-patches in the GI PSU  (<note 1595371.1>) 
 4.3.4.  Execute postpatch.sh from GI PSU sub-patch directory to restore DB home configuration
 4.3.5. Restart resources in DB home
 5. Execute datapatch if necessary
 Log file location
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.