Applying PSU patches on Oracle Database 12.1.0.2 RAC database

PSU patches are  quarterly cumulative patches that contain security fixes as well as additional fixes 

Before starting Database  upgrades, update your new release Oracle Database to the latest Oracle bundle patch, patch set update (BP or PSU), or Release Update (Update), or Release Update Revision (Revision).

Before you start an upgrade or downgrade process, Oracle strongly recommends For Oracle Database 12c or earlier releases, update to the latest Oracle bundle patch, or patch set update (BP or PSU). 

Applying PSU patch on oracle RAC 

  1.  Download respective PSU patch you need to apply from oracle meta link to Linux box
  2.  Unzip patch and check patch READ me file
  3.  Install recommended OPatch on both nodes (Patch number: 6880880 )
Below Steps Demonstrate how to Apply PSU patch on GRID HOME & DB HOME separately  

  • GRID_HOME =/u01/app/12.1.0/grid
  • DATABASE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
  • PSU_Patch_Directory=/u02/soft/soft/Grid/pre-patch/psu/cpujuly2019/29698592

1) Analyze Grid Home  as ROOT user 

Below command will not actually apply patch it will analyze patch is compatible,prerequisites and any conflict patches on Oracle Grid Home 

/u01/app/12.1.0/grid/opatchauto apply /u02/soft/soft/Grid/pre-patch/psu/cpujuly2019/29698592  -analyze -oh /u01/app/12.1.0/grid    


2) Apply patch on GI Home (Rolling Manner ) as ROOT user

Rolling Manner refer to applying patches on different databases or different instances of the same database participating on Same RAC Cluster one at a time, without stopping the database.(one-off patches and PSU patches is currently available for rolling patch)

it will shutdown local Node Services (Cluster and DB Services)  and apply patch and restart all the services on local Node 

/u01/app/12.1.0/grid/OPatch/opatchauto apply /u02/soft/soft/Grid/pre-patch/psu/cpujuly2019/29698592  -oh /u01/app/12.1.0/grid


3) Analyze Database Home as ROOT user

Below command will not actually apply patch it will analyze patch is compatible,prerequisites and any conflict patches on Oracle Database  Home 

/u01/app/oracle/product/12.1.0/dbhome_1/OPatch/opatchauto apply /u02/soft/soft/Grid/pre-patch/psu/cpujuly2019/29698592 -analyze -oh /u01/app/oracle/product/12.1.0/dbhome_1



4) Apply patch on Database Home (Rolling Manner ) as ROOT user

Rolling Manner refer to applying patches on different databases or different instances of the same database participating on Same RAC Cluster one at a time, without stopping the database.(one-off patches and PSU patches is currently available for rolling patch)

It will shutdown Database instance and all services related to respective Oracle Database Home and apply patches and restart Database instance and all services related to respective Oracle Database Home. 

OPatchAuto calls datapatch to complete post patch actions upon installation of the binary patch and restart of the database.



5) you need to do same steps on all the nodes it is participating on Same RAC Cluster 

6) Check Database registry for patch information 

select description, action, to_char(action_time,'DD/MM/RR HH24:MI:SS') action_date, ' ' version

from dba_registry_sqlpatch;


Comments

Popular posts from this blog

Enabling TLS 1.2 with Backward Compatibility in Oracle E-Business Suite Release 12.2 using Elliptic Curve Cryptography (ECC) certificate

Mask sensitive data in cloned (non-production) EBS 12.2 environments using EBS 12.2 Data Masking Template with EM 13C.

Enabling SSL in Oracle E-Business Suite Release 12.2