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
- Download respective PSU patch you need to apply from oracle meta link to Linux box
- Unzip patch and check patch READ me file
- Install recommended OPatch on both nodes (Patch number: 6880880 )
- 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
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
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
Post a Comment