Apply Release Update (RU) to Oracle GI and DB (Linux x86-64)
This post shows how to apply Release Update 19.25 (October 2024) to a Oracle Restart 19.3 installation (Oracle Grid Infrastructure and Oracle Database). The installation of the OS and the Oracle software (19.3) is described here.
Table of Contents
Preparation
To patch the system we need to download Patch 36916690: GI RELEASE UPDATE 19.25.0.0.0 from My Oracle Support to a path accessible from the VM (e.g. /sw/oracle/db/oracle_patches/ora19c_lin_x64/ora_gi_19RUs/19.25). A up to date version of the OPatch utility (Patch 6880880) should be available at (/sw/oracle/db/oracle_patches/opatch)
Apply the Patches
First we will update the patch utility OPatch of the Grid Infrastructure and Oracle Home. The RU patch will be unpacked. This can be done while the databases are running:
# run as root
### Grid Infrastructure Home ###
# check current version
su - grid -c "opatch version|grep Version"
# update OPatch
su - grid -c "cd \$ORACLE_HOME && tar cfp ~/opatch_orig.tar OPatch/* && gzip -f ~/opatch_orig.tar && rm -rf OPatch/*; unzip -q /sw/oracle/db/oracle_patches/opatch/p6880880_230000_LINUX.zip"
# check new version
su - grid -c "opatch version|grep Version"
### Database Home ###
# check current version
su - oracle -c ". ora19.env; opatch version|grep Version"
# update OPatch
su - oracle -c ". ora19.env; cd \$ORACLE_HOME && tar cfp ~/opatch_orig.tar OPatch/* && gzip -f ~/opatch_orig.tar && rm -rf OPatch/*; unzip -q /sw/oracle/db/oracle_patches/opatch/p6880880_230000_LINUX.zip"
# check new version
su - oracle -c ". ora19.env; opatch version|grep Version"
Now the RU patch will be unpacked and applied. This takes around 45 minutes.
# run as root
# unpack RU patch
su - grid -c "mkdir /var/tmp/RU1925 && unzip -q /sw/oracle/db/oracle_patches/ora19c_lin_x64/ora_gi_19RUs/19.25/p36916690_190000_Linux-x86-64.zip -d /var/tmp/RU1925"
# apply RU patch (this will stop and start the databases and services)
cd /var/tmp/RU1925 && /u01/app/19.0.0/grid/OPatch/opatchauto apply /var/tmp/RU1925/36916690 && rm -rf /var/tmp/RU1925
# check if the databases and services are started again
sleep 20 && su - grid -c "crsctl stat res -t"
# check the new Release Version
su - grid -c "crsctl query has releasepatch" # Grid Infrastructure
su - oracle -c ". ora19.env; echo 'select version_full from product_component_version;'|sqlplus -S / as sysdba" # Database
Sample Output (click to expand):
[root@lin7 ~]# # run as root
[root@lin7 ~]# # unpack RU patch
[root@lin7 ~]# su - grid -c "mkdir /var/tmp/RU1925 && unzip -q /sw/oracle/db/oracle_patches/ora19c_lin_x64/ora_gi_19RUs/19.25/p36916690_190000_Linux-x86-64.zip -d /var/tmp/RU1925"
[root@lin7 ~]# # apply RU patch (this will stop and start the databases and services)
[root@lin7 ~]# cd /var/tmp/RU1925 && /u01/app/19.0.0/grid/OPatch/opatchauto apply /var/tmp/RU1925/36916690 && rm -rf /var/tmp/RU1925
OPatchauto session is initiated at Sun Sep 21 22:06:29 2025
System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2025-09-21_10-06-36PM.log.
Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2025-09-21_10-06-43PM.log
The id for this session is 7VHU
Executing OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/19.0.0/dbhome_1
Patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/dbhome_1
Executing patch validation checks on home /u01/app/oracle/product/19.0.0/dbhome_1
Patch validation checks successfully completed on home /u01/app/oracle/product/19.0.0/dbhome_1
Verifying SQL patch applicability on home /u01/app/oracle/product/19.0.0/dbhome_1
SQL patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/dbhome_1
Executing OPatch prereq operations to verify patch applicability on home /u01/app/19.0.0/grid
Patch applicability verified successfully on home /u01/app/19.0.0/grid
Executing patch validation checks on home /u01/app/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/grid
Preparing to bring down database service on home /u01/app/oracle/product/19.0.0/dbhome_1
Successfully prepared home /u01/app/oracle/product/19.0.0/dbhome_1 to bring down database service
Bringing down database service on home /u01/app/oracle/product/19.0.0/dbhome_1
Following database has been stopped and will be restarted later during the session: orcl
Database service successfully brought down on home /u01/app/oracle/product/19.0.0/dbhome_1
Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/lin7/crsconfig/hapatch_2025-09-21_10-11-16PM.log
CRS service brought down successfully on home /u01/app/19.0.0/grid
Start applying binary patch on home /u01/app/oracle/product/19.0.0/dbhome_1
Binary patch applied successfully on home /u01/app/oracle/product/19.0.0/dbhome_1
Running rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/dbhome_1
Successfully executed rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/dbhome_1
Start applying binary patch on home /u01/app/19.0.0/grid
Binary patch applied successfully on home /u01/app/19.0.0/grid
Running rootadd_rdbms.sh on home /u01/app/19.0.0/grid
Successfully executed rootadd_rdbms.sh on home /u01/app/19.0.0/grid
Performing postpatch operations on CRS - starting CRS service on home /u01/app/19.0.0/grid
Postpatch operation log file location: /u01/app/grid/crsdata/lin7/crsconfig/hapatch_2025-09-21_10-30-43PM.log
CRS service started successfully on home /u01/app/19.0.0/grid
Starting database service on home /u01/app/oracle/product/19.0.0/dbhome_1
Database service successfully started on home /u01/app/oracle/product/19.0.0/dbhome_1
Preparing home /u01/app/oracle/product/19.0.0/dbhome_1 after database service restarted
No step execution required.........
Trying to apply SQL patch on home /u01/app/oracle/product/19.0.0/dbhome_1
SQL patch applied successfully on home /u01/app/oracle/product/19.0.0/dbhome_1
OPatchAuto successful.
--------------------------------Summary--------------------------------
Patching is completed successfully. Please find the summary as follows:
Host:lin7
SIDB Home:/u01/app/oracle/product/19.0.0/dbhome_1
Version:19.0.0.0.0
Summary:
==Following patches were SKIPPED:
Patch: /var/tmp/RU1925/36916690/36917397
Reason: This patch is not applicable to this specified target type - "oracle_database"
Patch: /var/tmp/RU1925/36916690/36758186
Reason: This patch is not applicable to this specified target type - "oracle_database"
Patch: /var/tmp/RU1925/36916690/36940756
Reason: This patch is not applicable to this specified target type - "oracle_database"
==Following patches were SUCCESSFULLY applied:
Patch: /var/tmp/RU1925/36916690/36912597
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-11-45PM_1.log
Patch: /var/tmp/RU1925/36916690/36917416
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-11-45PM_1.log
Host:lin7
SIHA Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0
Summary:
==Following patches were SUCCESSFULLY applied:
Patch: /var/tmp/RU1925/36916690/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-22-07PM_1.log
Patch: /var/tmp/RU1925/36916690/36912597
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-22-07PM_1.log
Patch: /var/tmp/RU1925/36916690/36917397
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-22-07PM_1.log
Patch: /var/tmp/RU1925/36916690/36917416
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-22-07PM_1.log
Patch: /var/tmp/RU1925/36916690/36940756
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-21_22-22-07PM_1.log
OPatchauto session completed at Sun Sep 21 22:56:00 2025
Time taken to complete the session 49 minutes, 25 seconds
[root@lin7 RU1925]# # check if the databases and services are started again
[root@lin7 RU1925]# sleep 20 && su - grid -c "crsctl stat res -t"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE lin7 STABLE
ora.FRA.dg
ONLINE ONLINE lin7 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE lin7 STABLE
ora.asm
ONLINE ONLINE lin7 Started,STABLE
ora.ons
OFFLINE OFFLINE lin7 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE lin7 STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE lin7 STABLE
ora.orcl.db
1 ONLINE ONLINE lin7 Open,HOME=/u01/app/o
racle/product/19.0.0
/dbhome_1,STABLE
--------------------------------------------------------------------------------
[root@lin7 RU1925]# # check the new Release Version
[root@lin7 RU1925]# su - grid -c "crsctl query has releasepatch" # Grid Infrastructure
Oracle Clusterware release patch level is [760403972] and the complete list of patches [36758186 36912597 36917397 36917416 36940756 ] have been applied on the local node. The release patch string is [19.25.0.0.0].
[root@lin7 RU1925]# su - oracle -c ". ora19.env; echo 'select version_full from product_component_version;'|sqlplus -S / as sysdba" # Database
VERSION_FULL
--------------------------------------------------------------------------------
19.25.0.0.0
[root@lin7 RU1925]#

Leave a Reply