My Oracle Support Banner

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

Last updated on JULY 17, 2023

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
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 Cluster 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. Create OCM response file
 3. Download the PSU and unzip as grid user.
 4. Apply the patch
 4.1. Apply to both GI and DB home 
 4.1.1. Execute "rootcrs.pl -prepatch" as root user from GI home (this step will stop the Clusterware from the node and unlock the grid home): 
 4.1.2. As grid user apply all sub-patches in the GI PSU  (OCW, ACFS, DBWLM 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 "rootcrs.pl -prepatch" as root user from GI home: 
 4.2.2. As grid user apply all sub-patches in the GI PSU  (OCW, ACFS, DBWLM 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. Repeated Step2-4 on other nodes
 6. 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.