Skip to main content

Step-by-Step Guide to In-Place Patching in Oracle RAC 19c

Introduction

Keeping an Oracle RAC environment up to date is essential for stability, security, and supportability. In this post, we’ll walk through how to perform an in-place patch update on an Oracle 19c two-node RAC setup.

We’ll start by checking the currently installed database and Grid Infrastructure versions on both nodes to understand our baseline. From there, we’ll download the 19.28 patch bundle from Oracle Support.

Once everything is ready, we’ll go through the process of applying the patch on each RAC node, step by step, making sure the cluster remains healthy and in sync throughout the update.

By the end of this guide, you’ll have a clear and practical approach to patching a RAC environment with confidence and minimal disruption.

Patches

Before starting the patching activity, make sure you download the required patches from Oracle Support. For this update, we will be using the following:

  • Patch 37952382: COMBO OF OJVM COMPONENT 19.28.0.0.250715 + GI RU 19.28.0.0.250715
  • Patch 6880880 – OPatch Utility (Latest Version)
Patch 37952382 is a combo Release Update that includes Grid Infrastructure, Database, and OJVM fixes at the same 19.28 level, while Patch 6880880 is used to update the OPatch tool — its patch number stays the same, but the OPatch version inside is regularly updated.

Identifying the existing Patch version

"oram" is a custom-built tool used to set the Oracle environment, so make sure the environment variables are configured correctly before starting the patching process.
Node 1:

oracle@ol8-19-rac1 cdbrac1 > ~ $ opatch lspatches; opatch version
37499406;OJVM RELEASE UPDATE: 19.27.0.0.250415 (37499406)
37654975;OCW RELEASE UPDATE 19.27.0.0.0 (37654975)
37642901;Database Release Update : 19.27.0.0.250415 (37642901)

OPatch succeeded.
OPatch Version: 12.2.0.1.45

OPatch succeeded.
oracle@ol8-19-rac1 cdbrac1 > ~ $ oram +ASM1; opatch version; opatch lspatches
 Aliases set for instance '+ASM1'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM1/trace
OPatch Version: 12.2.0.1.45

OPatch succeeded.
37762426;TOMCAT RELEASE UPDATE 19.0.0.0.0 (37762426)
37654975;OCW RELEASE UPDATE 19.27.0.0.0 (37654975)
37643161;ACFS RELEASE UPDATE 19.27.0.0.0 (37643161)
37642901;Database Release Update : 19.27.0.0.250415 (37642901)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)

OPatch succeeded.

Node 2:

oracle@ol8-19-rac1 cdbrac2 > ~ $ opatch lspatches; opatch version
37499406;OJVM RELEASE UPDATE: 19.27.0.0.250415 (37499406)
37654975;OCW RELEASE UPDATE 19.27.0.0.0 (37654975)
37642901;Database Release Update : 19.27.0.0.250415 (37642901)

OPatch succeeded.

OPatch Version: 12.2.0.1.45

OPatch succeeded.
oracle@ol8-19-rac2 cdbrac2 > ~ $ oram +ASM2; opatch version; opatch lspatches
 Aliases set for instance '+ASM2'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM1.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM1.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM2/trace
OPatch Version: 12.2.0.1.45

OPatch succeeded.
37762426;TOMCAT RELEASE UPDATE 19.0.0.0.0 (37762426)
37654975;OCW RELEASE UPDATE 19.27.0.0.0 (37654975)
37643161;ACFS RELEASE UPDATE 19.27.0.0.0 (37643161)
37642901;Database Release Update : 19.27.0.0.250415 (37642901)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)

OPatch succeeded

Updating OPatch to the Latest Version 

Before applying any Release Updates, we first update the OPatch utility in both the Grid Infrastructure (GI) Home and the Database Home. Using the latest OPatch version — which we downloaded earlier — ensures compatibility with the patch bundles and helps prevent prerequisite check failures or patching errors during the update process.

Patch location and permissions

[root@ol8-19-rac1 stage]# pwd
/u01/stage
[root@ol8-19-rac1 stage]# ls -ltra
total 4085428
drwxr-xr-x. 5 root   oinstall         46 Jan 27 00:42 ..
-rw-r--r--. 1 oracle oinstall   72896144 Jan 27 00:44 p6880880_190000_Linux-x86-64.zip
drwxr-xr-x. 2 oracle oinstall         87 Jan 27 00:44 .
-rw-r--r--. 1 oracle oinstall 4110578680 Jan 27 00:45 p37952382_190000_Linux-x86-64.zip
[root@ol8-19-rac2 stage]# pwd
/u01/stage
[root@ol8-19-rac2 stage]# ls -ltra
total 4085428
drwxr-xr-x. 5 root   oinstall         46 Jan 27 00:42 ..
-rw-r--r--. 1 oracle oinstall   72896144 Jan 27 00:44 p6880880_190000_Linux-x86-64.zip
drwxr-xr-x. 2 oracle oinstall         87 Jan 27 00:44 .
-rw-r--r--. 1 oracle oinstall 4110578680 Jan 27 00:45 p37952382_190000_Linux-x86-64.zip

Patch Grid Infrastructure (GI) OPatch

Node 1:
[root@ol8-19-rac1 ~]# cd /u01/stage/
[root@ol8-19-rac1 stage]# mv /u01/app/19.0.0/grid/OPatch/ /u01/app/19.0.0/grid/OPatch_$(date +"%d-%m-%Y")
[root@ol8-19-rac1 stage]# unzip -oq p6880880_190000_Linux-x86-64.zip -d /u01/app/19.0.0/grid/
[root@ol8-19-rac1 stage]# chown -R oracle:oinstall /u01/app/19.0.0/grid/OPatch/
[root@ol8-19-rac1 stage]# ls -ltra /u01/app/19.0.0/grid | grep OP*
drwxr-xr-x.  2 oracle oinstall    26 Apr 17  2019 QOpatch
drwxr-x---. 15 oracle oinstall  4096 Jan  6 10:30 OPatch
drwxr-x---. 15 oracle oinstall  4096 Jan 25 15:44 OPatch_27-01-2026
Node 2:
[root@ol8-19-rac2 ~]# cd /u01/stage/
[root@ol8-19-rac2 stage]# mv /u01/app/19.0.0/grid/OPatch/ /u01/app/19.0.0/grid/OPatch_$(date +"%d-%m-%Y")
[root@ol8-19-rac2 stage]# unzip -oq p6880880_190000_Linux-x86-64.zip -d /u01/app/19.0.0/grid/
[root@ol8-19-rac2 stage]# chown -R oracle:oinstall /u01/app/19.0.0/grid/OPatch/
[root@ol8-19-rac2 stage]# ls -ltra /u01/app/19.0.0/grid | grep OP*
drwxr-x---. 15 oracle oinstall  4096 Jan  6 10:30 OPatch
drwxr-xr-x.  2 oracle oinstall    26 Jan 25 15:45 QOpatch
drwxr-x---. 15 oracle oinstall  4096 Jan 25 15:46 OPatch_27-01-2026

Patch Database (DB) OPatch

Node 1:
[root@ol8-19-rac1 ~]# cd /u01/stage/
[root@ol8-19-rac1 stage]# mv /u01/app/oracle/product/19.0.0/dbhome_1/OPatch/ /u01/app/oracle/product/19.0.0/dbhome_1/OPatch_$(date +"%d-%m-%Y")
[root@ol8-19-rac1 stage]# unzip -oq p6880880_190000_Linux-x86-64.zip -d /u01/app/oracle/product/19.0.0/dbhome_1/
[root@ol8-19-rac1 stage]# chown -R oracle:oinstall /u01/app/oracle/product/19.0.0/dbhome_1/OPatch
[root@ol8-19-rac1 stage]# ls -ltra /u01/app/oracle/product/19.0.0/dbhome_1/ | grep OP*
-rw-r--r--.  1 oracle oinstall  2927 Oct 14  2016 schagent.conf
drwxr-xr-x.  2 oracle oinstall    26 Apr 17  2019 QOpatch
drwxr-x---. 15 oracle oinstall  4096 Jan  6 10:30 OPatch
drwxr-x---. 15 oracle oinstall  4096 Jan 25 16:27 OPatch_27-01-2026

Node 2:

[root@ol8-19-rac2 ~]# cd /u01/stage/
[root@ol8-19-rac2 stage]# mv /u01/app/oracle/product/19.0.0/dbhome_1/OPatch/ /u01/app/oracle/product/19.0.0/dbhome_1/OPatch_$(date +"%d-%m-%Y")
[root@ol8-19-rac2 stage]# unzip -oq p6880880_190000_Linux-x86-64.zip -d /u01/app/oracle/product/19.0.0/dbhome_1/
[root@ol8-19-rac2 stage]# chown -R oracle:oinstall /u01/app/oracle/product/19.0.0/dbhome_1/OPatch
[root@ol8-19-rac2 stage]# ls -ltra /u01/app/oracle/product/19.0.0/dbhome_1/ | grep OP*
drwxr-x---. 15 oracle oinstall  4096 Jan  6 10:30 OPatch
drwxr-xr-x.  2 oracle oinstall    26 Jan 25 16:29 QOpatch
drwxr-x---. 15 oracle oinstall  4096 Jan 25 16:29 OPatch_27-01-2026

Verifying the OPatch Version

Node 1:

The Oracle base remains unchanged with value /u01/app/oracle
 Setting the environment for resource 'CDBRAC'
 ORACLE_SID          cdbrac1
 ORACLE_HOME         /u01/app/oracle/product/19.0.0/dbhome_1
 ORACLE_BASE         /u01/app/oracle
 ROLE/MODE (CRS)     PRIMARY/open
 DB_TYPE             RAC
 Aliases set for instance 'cdbrac1'
 - talert: tail -50f /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace/alert_cdbrac1.log
 - valert: less /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace/alert_cdbrac1.log
 - cdbd: cd /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace
OPatch Version: 12.2.0.1.49

OPatch succeeded.
 Aliases set for instance '+ASM1'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM1/trace
OPatch Version: 12.2.0.1.49

OPatch succeeded.

Node 2:

oracle@ol8-19-rac2 cdbrac2 > ~ $ oram cdbrac; opatch version; oram +ASM1; opatch version
The Oracle base remains unchanged with value /u01/app/oracle
 Setting the environment for resource 'CDBRAC'
 ORACLE_SID          cdbrac2
 ORACLE_HOME         /u01/app/oracle/product/19.0.0/dbhome_1
 ORACLE_BASE         /u01/app/oracle
 ROLE/MODE (CRS)     PRIMARY/open
 DB_TYPE             RAC
 Aliases set for instance 'cdbrac2'
 - talert: tail -50f /u01/app/oracle/diag/rdbms/cdbrac/cdbrac2/trace/alert_cdbrac2.log
 - valert: less /u01/app/oracle/diag/rdbms/cdbrac/cdbrac2/trace/alert_cdbrac2.log
 - cdbd: cd /u01/app/oracle/diag/rdbms/cdbrac/cdbrac2/trace
OPatch Version: 12.2.0.1.49

OPatch succeeded.
 Aliases set for instance '+ASM2'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM2.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM2.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM2/trace
OPatch Version: 12.2.0.1.49

OPatch succeeded.

Oracle Patch Structure

By reviewing the directory tree, we can identify two primary patch directories: 37847857 and 37957391. Based on their size and the number of sub-patches they contain, it becomes clear which one corresponds to the GI patch and which one is the OJVM patch.

The GI patch directory includes multiple sub-patches, while the OJVM patch directory contains only a single patch.

If we open the README.html files within these directories, we can confirm the patch contents. The README (see Figure 1) in the GI patch directory shows that it also includes the Database (DB) patch as part of the bundle.

Figure 1

oracle@ol8-19-rac1 cdbrac1 > ~ $ tree -L 3 -P "readme.html"  /u01/stage/
/u01/stage/
└── 37952382
    ├── 37847857
    │   ├── etc
    │   └── files
    └── 37957391
        ├── 36758186
        ├── 37960098
        ├── 37962938
        ├── 37962946
        ├── 38124772
        └── automation

11 directories, 0 files
oracle@ol8-19-rac1 cdbrac1 > ~ $ tree -P "README.html" --prune /u01/stage
/u01/stage
└── 37952382
    ├── 37847857
    │   └── README.html
    ├── 37957391
    │   ├── 37960098
    │   │   ├── files
    │   │   │   └── jdk
    │   │   │       └── README.html
    │   │   └── README.html
    │   └── README.html
    └── README.html

6 directories, 5 files

cluvfy prepatch validation

Running cluvfy precheck and postcheck is highly recommended before and after every patching activity. These checks help identify potential cluster or configuration issues in advance.

However, if the precheck reports problems, it does not necessarily mean that OPatch prereq checks or the patch installation will fail — though the risk is higher and should be evaluated carefully.

In this example, the command was executed without the -verbose option. You can rerun it with -verbose to get more detailed output and better understand any reported issues.

oracle@ol8-19-rac1 +ASM1 > ~ $ /u01/app/19.0.0/grid/bin/cluvfy stage -pre patch
This software is "308" days old. It is a best practice to update the CRS home by downloading and applying the latest release update. Refer to MOS note 756671.1 for more details.

Performing following verification checks ...

  cluster upgrade state ...PASSED
  OLR Integrity ...PASSED
  Hosts File ...PASSED
  Path existence, ownership, permissions and attributes ...
    Path "/u01/app/19.0.0/grid/gpnp/wallets/peer/cwallet.sso" ...PASSED
    Path "/u01/app/19.0.0/grid/gpnp/wallets/root/ewallet.p12" ...PASSED
    Path "/u01/app/19.0.0/grid/gpnp/profiles/peer/profile.xml" ...PASSED
  Path existence, ownership, permissions and attributes ...PASSED
  Free Space: ol8-19-rac2:/ ...PASSED
  Free Space: ol8-19-rac1:/ ...PASSED
  OPatch utility version consistency ...PASSED
  ASM Integrity ...
    Node Connectivity ...
      Hosts File ...PASSED
      Check that maximum (MTU) size packet goes through subnet ...PASSED
      subnet mask consistency for subnet "192.168.1.0" ...PASSED
      subnet mask consistency for subnet "192.168.56.0" ...PASSED
    Node Connectivity ...PASSED
  ASM Integrity ...PASSED
  Software home: /u01/app/19.0.0/grid ...PASSED
  ORAchk checks ...
    Software maintenance best practices ...PASSED
    Hostname formatting ...PASSED
    GI/CRS - Private interconnect interface name check ...PASSED
    VIP NIC bonding config. ...PASSED
    Clusterware resource status ...PASSED
    Oracle database software owner soft stack shell limits ...PASSED
    oradism executable permission ...PASSED
    Interconnect NIC bonding config. ...PASSED
    oradism executable ownership ...PASSED
    Verify operating system hugepages count satisfies total SGA requirements ...PASSED
    Non-routable network for interconnect ...PASSED
    Clusterware software version comparison ...PASSED
    ORA_CRS_HOME env variable for Grid infrastructure owner ...PASSED
    Disks without Disk Group ...PASSED
    NTP with correct setting ...PASSED
  ORAchk checks ...PASSED

Pre-check for Patch Application was successful.

CVU operation performed:      stage -pre patch
Date:                         Feb 12, 2026 12:12:13 AM
CVU version:                  19.27.0.0.0 (041025x8664)
Clusterware version:          19.0.0.0.0
CVU home:                     /u01/app/19.0.0/grid
Grid home:                    /u01/app/19.0.0/grid
User:                         oracle
Operating system:             Linux5.15.0-202.135.2.el8uek.x86_64

Running OPatch Prerequisite

After unzipping the combo patch, and once we have identified the directory that contains the Grid Infrastructure (GI) patch, the next step is to run the prerequisite checks using OPatchAuto.

OPatchAuto is an automated patching tool from Oracle that simplifies patching in clustered environments. Instead of manually stopping services, applying patches, and restarting the cluster stack, OPatchAuto handles these steps in the correct order and performs built-in checks to ensure the system is ready.

By running the OPatchAuto prechecks at this stage, we can confirm that the cluster environment is prepared before proceeding with the actual patch application.

Important: OPatchAuto must be executed as the root user, since it needs the required privileges to stop and start cluster services across the nodes.

oracle@ol8-19-rac1 +ASM1 > ~ $ unzip -q /u01/stage/p37952382_190000_Linux-x86-64.zip -d /u01/stage
oracle@ol8-19-rac2 +ASM2 > ~ $ su - root
Password:
Last login: Thu Feb 12 01:55:33 UTC 2026 on pts/0
[root@ol8-19-rac1 ~]# cd /tmp/
[root@ol8-19-rac1 tmp]# . oraenv <<< +ASM1
ORACLE_SID = [root] ? The Oracle base has been set to /u01/app/oracle
[root@ol8-19-rac1 tmp]# $ORACLE_HOME/OPatch/opatchauto apply /u01/stage/37952382/37957391 -analyze

OPatchauto session is initiated at Thu Feb 12 00:23:28 2026

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2026-02-12_12-23-31AM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2026-02-12_12-23-47AM.log
The id for this session is Q762

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 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/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/grid


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

OPatchAuto successful.

--------------------------------Summary--------------------------------

Analysis for applying patches has completed successfully:

Host:ol8-19-rac1
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0


==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-24-02AM_1.log
Reason: /u01/stage/37952382/37957391/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-24-02AM_1.log

Patch: /u01/stage/37952382/37957391/37962938
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-24-02AM_1.log

Patch: /u01/stage/37952382/37957391/38124772
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-24-02AM_1.log

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-24-02AM_1.log


Host:ol8-19-rac1
RAC Home:/u01/app/oracle/product/19.0.0/dbhome_1
Version:19.0.0.0.0


==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/37962938
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/38124772
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-25-31AM_1.log

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-25-31AM_1.log



OPatchauto session completed at Thu Feb 12 00:26:50 2026
Time taken to complete the session 3 minutes, 19 seconds

[root@ol8-19-rac2 ~]# cd /tmp/
[root@ol8-19-rac2 tmp]# . oraenv <<< +ASM2
ORACLE_SID = [root] ? The Oracle base has been set to /u01/app/oracle
[root@ol8-19-rac2 tmp]# $ORACLE_HOME/OPatch/opatchauto apply /u01/stage/37952382/37957391 -analyze

OPatchauto session is initiated at Thu Feb 12 00:29:38 2026

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2026-02-12_12-29-41AM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2026-02-12_12-29-57AM.log
The id for this session is BQV5

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 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/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/grid


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

OPatchAuto successful.

--------------------------------Summary--------------------------------

Analysis for applying patches has completed successfully:

Host:ol8-19-rac2
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0


==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-30-12AM_1.log
Reason: /u01/stage/37952382/37957391/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-30-12AM_1.log

Patch: /u01/stage/37952382/37957391/37962938
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-30-12AM_1.log

Patch: /u01/stage/37952382/37957391/38124772
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-30-12AM_1.log

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-30-12AM_1.log


Host:ol8-19-rac2
RAC Home:/u01/app/oracle/product/19.0.0/dbhome_1
Version:19.0.0.0.0


==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/37962938
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/38124772
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-31-40AM_1.log

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-31-40AM_1.log



OPatchauto session completed at Thu Feb 12 00:33:01 2026
Time taken to complete the session 3 minutes, 20 seconds

Applying GI and Database Patches with OPatchAuto

Now we will apply the patches to both the Grid Infrastructure (GI) Home and the Database Home using OPatchAuto.

The patching will be performed in a rolling manner, meaning we will patch one node at a time. First, we will fully patch the first node, confirm that all services and cluster resources are healthy, and then proceed with the second node.

When executing OPatchAuto for the combo patch, all applicable patches for the GI and DB homes are applied automatically. In addition, OPatchAuto will also run datapatch on the database instances to update the SQL components after the binary patching is complete.

However, the OJVM patch is not included in this automated process and must be applied manually after GI and DB patching has been completed on all nodes.

This rolling approach helps maintain cluster availability while ensuring the environment is fully patched and synchronized.

Node 1:

[root@ol8-19-rac1 tmp]# $ORACLE_HOME/OPatch/opatchauto apply /u01/stage/37952382/37957391

OPatchauto session is initiated at Thu Feb 12 00:41:16 2026

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2026-02-12_12-41-19AM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2026-02-12_12-41-36AM.log
The id for this session is XBYU

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 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/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/grid


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


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


Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid
Prepatch operation log file location: /u01/app/oracle/crsdata/ol8-19-rac1/crsconfig/crs_prepatch_apply_inplace_ol8-19-rac1_2026-02-12_00-44-43AM.log
CRS service brought down successfully on home /u01/app/19.0.0/grid


Performing prepatch operation on home /u01/app/oracle/product/19.0.0/dbhome_1
Prepatch operation completed successfully on home /u01/app/oracle/product/19.0.0/dbhome_1


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


Performing postpatch operation on home /u01/app/oracle/product/19.0.0/dbhome_1
Postpatch operation completed successfully 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/oracle/crsdata/ol8-19-rac1/crsconfig/crs_postpatch_apply_inplace_ol8-19-rac1_2026-02-12_00-55-44AM.log
CRS service started successfully on home /u01/app/19.0.0/grid


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
No SQL patch operations are required on local node for this home

OPatchAuto successful.

--------------------------------Summary--------------------------------

Patching is completed successfully. Please find the summary as follows:

Host:ol8-19-rac1
RAC Home:/u01/app/oracle/product/19.0.0/dbhome_1
Version:19.0.0.0.0
Summary:

==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/37962938
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/38124772
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY applied:

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-45-46AM_1.log

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-45-46AM_1.log


Host:ol8-19-rac1
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0
Summary:

==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-41-52AM_1.log
Reason: /u01/stage/37952382/37957391/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid


==Following patches were SUCCESSFULLY applied:

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-50-20AM_1.log

Patch: /u01/stage/37952382/37957391/37962938
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-50-20AM_1.log

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-50-20AM_1.log

Patch: /u01/stage/37952382/37957391/38124772
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_00-50-20AM_1.log


OPatchauto session completed at Thu Feb 12 00:59:21 2026
Time taken to complete the session 18 minutes, 2 seconds

OJVM Patching

The OJVM patching must be executed as the oracle user. As mentioned previously, we will need to stop the database before starting the OJVM patching process.

Additionally, ensure that the environment variables are properly set for the correct ORACLE_HOME before running any patching commands.

[oracle@ol8-19-rac1 ~]$ oram cdbrac
The Oracle base remains unchanged with value /u01/app/oracle
 Setting the environment for resource 'CDBRAC'
 ORACLE_SID          cdbrac1
 ORACLE_HOME         /u01/app/oracle/product/19.0.0/dbhome_1
 ORACLE_BASE         /u01/app/oracle
 ROLE/MODE (CRS)     PRIMARY/open
 DB_TYPE             RAC
 Aliases set for instance 'cdbrac1'
 - talert: tail -50f /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace/alert_cdbrac1.log
 - valert: less /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace/alert_cdbrac1.log
 - cdbd: cd /u01/app/oracle/diag/rdbms/cdbrac/cdbrac1/trace
oracle@ol8-19-rac1 cdbrac1 > ~ $ echo $ORACLE_HOME
/u01/app/oracle/product/19.0.0/dbhome_1
oracle@ol8-19-rac1 cdbrac1 > ~ $ cd /u01/stage/37952382/37847857
oracle@ol8-19-rac1 cdbrac1 > 37847857 $ srvctl status database -db cdbrac
Instance cdbrac1 is running on node ol8-19-rac1
Instance cdbrac2 is running on node ol8-19-rac2
oracle@ol8-19-rac1 cdbrac1 > 37847857 $ srvctl stop database -db cdbrac
oracle@ol8-19-rac1 cdbrac1 > 37847857 $ srvctl status database -db cdbrac
Instance cdbrac1 is not running on node ol8-19-rac1
Instance cdbrac2 is not running on node ol8-19-rac2
oracle@ol8-19-rac1 cdbrac1 > 37847857 $ $ORACLE_HOME/OPatch/opatch apply -silent
Oracle Interim Patch Installer version 12.2.0.1.49
Copyright (c) 2026, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.49
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-02-12_01-19-13AM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   37847857

Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/19.0.0/dbhome_1')


Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '37847857' to OH '/u01/app/oracle/product/19.0.0/dbhome_1'

Patching component oracle.javavm.server, 19.0.0.0.0...

Patching component oracle.javavm.server.core, 19.0.0.0.0...

Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...

Patching component oracle.rdbms, 19.0.0.0.0...

Patching component oracle.javavm.client, 19.0.0.0.0...
Patch 37847857 successfully applied.
Sub-set patch [37499406] has become inactive due to the application of a super-set patch [37847857].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-02-12_01-19-13AM_1.log

OPatch succeeded.

Datapatch Apply

Datapatch is a post-patching utility from Oracle that applies SQL changes to the database after the binary patch has been installed.

While tools like OPatch or OPatchAuto update the software files in the Oracle Home, Datapatch updates the database dictionary and internal components, ensuring the patch is fully activated at the database level.

Before running Datapatch, the database must be started and open, since the tool connects to the database and executes SQL scripts that update system objects and registry components.

As a best practice, we will first run Datapatch with the -sanity_checks option. This performs a precheck to verify that the environment and database are ready before the actual SQL patching begins.

Start the database

oracle@ol8-19-rac1 cdbrac1 > ~ $ srvctl start database -db cdbrac
oracle@ol8-19-rac1 cdbrac1 > ~ $ srvctl status database -db cdbrac
Instance cdbrac1 is running on node ol8-19-rac1
Instance cdbrac2 is running on node ol8-19-rac2

Datapatch precheck

oracle@ol8-19-rac1 cdbrac1 > ~ $ $ORACLE_HOME/OPatch/datapatch -sanity_checks
SQL Patching sanity checks version 19.28.0.0.0 on Thu 12 Feb 2026 01:25:22 AM UTC
Copyright (c) 2021, 2026, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260212_012522_250588/sanity_checks_20260212_012522_250588.log

Running checks
JSON report generated in /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260212_012522_250588/sqlpatch_sanity_checks_summary.json file
Checks completed. Printing report:

Check: Database component status - OK
Check: PDB Violations - OK
Check: Invalid System Objects - OK
Check: Tablespace Status - OK
Check: Backup jobs - OK
Check: Temp file exists - OK
Check: Temp file online - OK
Check: Data Pump running - OK
Check: Container status - WARNING
  Datapatch will only run in containers with READ WRITE, MIGRATE (upgrade) or READ ONLY mode.
  Specified containers are not READ WRITE, MIGRATE or READ ONLY mode. When not opened, containers will not be a part of patching.
  Open containers if they should take part of patching activities. Refer to the section "Modifying a PDB with the ALTER PLUGGABLE DATABASE Statement" in the Multitenant Administrator's Guide for details.
  CDB$ROOT:
    |  HOST_NAME  | NAME | OPEN_MODE |
    |-------------+------+-----------|
    | ol8-19-rac2 | PDB1 |  MOUNTED  |
    |-------------+------+-----------|
Check: Oracle Database Keystore - OK
Check: Dictionary statistics gathering - OK
Check: Scheduled Jobs - WARNING
  Execution of scheduler jobs while database patching is running may lead to failures and/or performance issues.
  There are jobs currently running or scheduled to be executed during next hour.
  If you experience Datapatch errors caused by locking in the database, consider patching the database when jobs are not running or preventing jobs from starting.
  To check for jobs that are running or scheduled to run:
    SELECT owner as schema_name, job_name, state, next_run_date
    FROM sys.all_scheduler_jobs
    WHERE state = 'RUNNING'
    UNION
      SELECT owner as schema_name, job_name, state, next_run_date
      FROM sys.all_scheduler_jobs
      WHERE state = 'SCHEDULED'
      and cast(next_run_date as date) > sysdate
      and cast(next_run_date as date) < sysdate + 1/24;
  CDB$ROOT:
    | SCHEMA_NAME |          JOB_NAME           |   STATE   |            NEXT_RUN_DATE             |
    |-------------+-----------------------------+-----------+--------------------------------------|
    |     SYS     | PMO_DEFERRED_GIDX_MAINT_JOB | SCHEDULED | 12-FEB-26 02.00.00.763667 AM PST8PDT |
    |-------------+-----------------------------+-----------+--------------------------------------|
  PDB1:
    | SCHEMA_NAME |          JOB_NAME           |   STATE   |            NEXT_RUN_DATE             |
    |-------------+-----------------------------+-----------+--------------------------------------|
    |     SYS     | PMO_DEFERRED_GIDX_MAINT_JOB | SCHEDULED | 12-FEB-26 02.00.00.646399 AM PST8PDT |
    |-------------+-----------------------------+-----------+--------------------------------------|
Check: GoldenGate triggers - OK
Check: Logminer DDL triggers - OK
Check: Check sys public grants - OK
Check: Statistics gathering running - OK
Check: Optim dictionary upgrade parameter - OK
Check: Symlinks on oracle home path - OK
Check: Central Inventory - OK
Check: Oracle Database Vault Enabled - OK
Check: Queryable Inventory dba directories - OK
Check: Queryable Inventory locks - OK
Check: Queryable Inventory package - OK
Check: Queryable Inventory external table - OK
Check: Imperva processes - OK
Check: Guardium processes - OK
Check: Locale - OK

Refer to MOS Note 2975965.1 and debug log
/u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260212_012522_250588/sanity_checks_debug_20260212_012522_250588.log

SQL Patching sanity checks completed on Thu 12 Feb 2026 01:26:21 AM UTC

Datapatch apply


oracle@ol8-19-rac1 cdbrac1 > ~ $ $ORACLE_HOME/OPatch/datapatch -verbose
SQL Patching tool version 19.28.0.0.0 Production on Thu Feb 12 01:28:53 2026
Copyright (c) 2012, 2025, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_256491_2026_02_12_01_28_53/sqlpatch_invocation.log

Connecting to database...OK
Gathering database info...done

Note:  Datapatch will only apply or rollback SQL fixes for PDBs
       that are in an open state, no patches will be applied to closed PDBs.
       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
       (Doc ID 1585822.1)

Bootstrapping registry and package to current versions...done
Determining current state...done

Current state of interim SQL patches:
Interim patch 36878697 (OJVM RELEASE UPDATE: 19.25.0.0.241015 (36878697)):
  Binary registry: Not installed
  PDB CDB$ROOT: Applied successfully on 25-JAN-26 04.42.45.681553 PM
  PDB PDB$SEED: Applied successfully on 25-JAN-26 05.09.56.900342 PM
  PDB PDB1: Applied successfully on 25-JAN-26 05.09.56.900342 PM
Interim patch 37499406 (OJVM RELEASE UPDATE: 19.27.0.0.250415 (37499406)):
  Binary registry: Not installed on nodes ol8-19-rac1
  PDB CDB$ROOT: Not installed
  PDB PDB$SEED: Not installed
  PDB PDB1: Not installed
Interim patch 37847857 (OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857)):
  Binary registry: Not installed on nodes ol8-19-rac2
  PDB CDB$ROOT: Not installed
  PDB PDB$SEED: Not installed
  PDB PDB1: Not installed

Current state of release update SQL patches:
  Binary registry:
    19.27.0.0.0 Release_Update 250406131139: Not installed on nodes ol8-19-rac1
    19.28.0.0.0 Release_Update 250705030417: Not installed on nodes ol8-19-rac2
  PDB CDB$ROOT:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.01.10.978925 PM
  PDB PDB$SEED:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.20.05.268786 PM
  PDB PDB1:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.20.05.268786 PM

Adding patches to installation queue and performing prereq checks...done
Installation queue:
  For the following PDBs: CDB$ROOT PDB$SEED PDB1
    The following interim patches will be rolled back:
      36878697 (OJVM RELEASE UPDATE: 19.25.0.0.241015 (36878697))
    No release update patches need to be installed
    No interim patches need to be applied

Installing patches...
Patch installation complete.  Total patches installed: 3

Validating logfiles...done
Patch 36878697 rollback (pdb CDB$ROOT): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/36878697/25797620/36878697_rollback_CDBRAC_CDBROOT_2026Feb12_01_29_31.log (no errors)
Patch 36878697 rollback (pdb PDB$SEED): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/36878697/25797620/36878697_rollback_CDBRAC_PDBSEED_2026Feb12_01_31_43.log (no errors)
Patch 36878697 rollback (pdb PDB1): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/36878697/25797620/36878697_rollback_CDBRAC_PDB1_2026Feb12_01_31_43.log (no errors)
SQL Patching tool complete on Thu Feb 12 01:32:24 2026

Post-Patch Verification

This post-patch verification applies only to node 1, as node 2 has not yet been patched.
oracle@ol8-19-rac1 cdbrac1 > ~ $ opatch lspatches; oram +ASM; opatch lspatches
37847857;OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)

OPatch succeeded.
 Aliases set for instance '+ASM1'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM1/trace
38124772;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38124772)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
37962938;ACFS RELEASE UPDATE 19.28.0.0.0 (37962938)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)

OPatch succeeded.

oracle@ol8-19-rac1 cdbrac1 > ~ $ sql / as sysdba

SQLcl: Release 21.4 Production on Thu Feb 12 01:36:38 2026

Copyright (c) 1982, 2026, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0

SQL> set sqlformat ansiconsole

SQL> select patch_id, patch_uid, action, to_char(action_time,'dd.mm.yyyy hh24:mi:ss') as "patch time", source_version, target_version, status from sys.dba_registry_sqlpatch;

   PATCH_ID    PATCH_UID      ACTION             patch time    SOURCE_VERSION    TARGET_VERSION     STATUS
___________ ____________ ___________ ______________________ _________________ _________________ __________
   36878697     25797620 APPLY       25.01.2026 16:42:45    19.1.0.0.0        19.25.0.0.0       SUCCESS
   36912597     25871884 APPLY       25.01.2026 17:01:10    19.1.0.0.0        19.25.0.0.0       SUCCESS
   36878697     25797620 ROLLBACK    12.02.2026 01:31:43    19.28.0.0.0       19.28.0.0.0       SUCCESS

We can run following command to check the cluster state.

oracle@ol8-19-rac1 cdbrac1 > ~ $ . oraenv <<< +ASM1
ORACLE_SID = [cdbrac1] ? The Oracle base remains unchanged with value /u01/app/oracle
oracle@ol8-19-rac1 +ASM1 > ~ $ crsctl query crs activeversion -f
Oracle Clusterware active version on the cluster is [19.0.0.0.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [2119256259].

The output shows that the cluster is running Oracle Grid Infrastructure 19c. The status ROLLING PATCH indicates that the environment is currently in the middle of a rolling patching cycle, meaning not all nodes have been patched yet. The numeric value displayed represents the active Clusterware patch level that is currently applied in the cluster.

Node 2:

Next, we follow the same patching procedure on the second node, repeating the exact steps performed on the first node. Since we have already completed the prechecks in the earlier steps, we can now proceed directly with applying the patch.
[root@ol8-19-rac2 ~]# cd /tmp/
[root@ol8-19-rac2 tmp]# . oraenv <<< +ASM2
[root@ol8-19-rac2 tmp]# $ORACLE_HOME/OPatch/opatchauto apply /u01/stage/37952382/37957391

OPatchauto session is initiated at Thu Feb 12 02:05:56 2026

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2026-02-12_02-06-00AM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2026-02-12_02-06-17AM.log
The id for this session is R4WJ

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 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/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/grid


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


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


Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid
Prepatch operation log file location: /u01/app/oracle/crsdata/ol8-19-rac2/crsconfig/crs_prepatch_apply_inplace_ol8-19-rac2_2026-02-12_02-09-58AM.log
CRS service brought down successfully on home /u01/app/19.0.0/grid


Performing prepatch operation on home /u01/app/oracle/product/19.0.0/dbhome_1
Prepatch operation completed successfully on home /u01/app/oracle/product/19.0.0/dbhome_1


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


Performing postpatch operation on home /u01/app/oracle/product/19.0.0/dbhome_1
Postpatch operation completed successfully 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/oracle/crsdata/ol8-19-rac2/crsconfig/crs_postpatch_apply_inplace_ol8-19-rac2_2026-02-12_02-20-48AM.log
CRS service started successfully on home /u01/app/19.0.0/grid


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:ol8-19-rac2
RAC Home:/u01/app/oracle/product/19.0.0/dbhome_1
Version:19.0.0.0.0
Summary:

==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/37962938
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"

Patch: /u01/stage/37952382/37957391/38124772
Reason: This patch is not applicable to this specified target type - "rac_database"


==Following patches were SUCCESSFULLY applied:

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-10-54AM_1.log

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-10-54AM_1.log


Host:ol8-19-rac2
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0
Summary:

==Following patches were SKIPPED:

Patch: /u01/stage/37952382/37957391/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-06-32AM_1.log
Reason: /u01/stage/37952382/37957391/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid


==Following patches were SUCCESSFULLY applied:

Patch: /u01/stage/37952382/37957391/37960098
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-15-20AM_1.log

Patch: /u01/stage/37952382/37957391/37962938
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-15-20AM_1.log

Patch: /u01/stage/37952382/37957391/37962946
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-15-20AM_1.log

Patch: /u01/stage/37952382/37957391/38124772
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2026-02-12_02-15-20AM_1.log

OPatchauto session completed at Thu Feb 12 02:55:25 2026
Time taken to complete the session 49 minutes, 25 seconds

OJVM Patching

oracle@ol8-19-rac2 cdbrac2 > ~ $ echo $ORACLE_HOME
/u01/app/oracle/product/19.0.0/dbhome_1
oracle@ol8-19-rac2 cdbrac2 > ~ $ cd /u01/stage/37952382/37847857
oracle@ol8-19-rac2 cdbrac2 > 37847857 $ srvctl status database -db cdbrac
Instance cdbrac1 is running on node ol8-19-rac1
Instance cdbrac2 is running on node ol8-19-rac2
oracle@ol8-19-rac2 cdbrac2 > 37847857 $ srvctl stop database -db cdbrac
oracle@ol8-19-rac2 cdbrac2 > 37847857 $ srvctl status database -db cdbrac
Instance cdbrac1 is not running on node ol8-19-rac1
Instance cdbrac2 is not running on node ol8-19-rac2
oracle@ol8-19-rac2 cdbrac2 > 37847857 $ $ORACLE_HOME/OPatch/opatch apply -silent
Oracle Interim Patch Installer version 12.2.0.1.49
Copyright (c) 2026, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.49
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-02-12_18-50-19PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   37847857

Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/19.0.0/dbhome_1')


Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '37847857' to OH '/u01/app/oracle/product/19.0.0/dbhome_1'

Patching component oracle.javavm.server, 19.0.0.0.0...

Patching component oracle.javavm.server.core, 19.0.0.0.0...

Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...

Patching component oracle.rdbms, 19.0.0.0.0...

Patching component oracle.javavm.client, 19.0.0.0.0...
Patch 37847857 successfully applied.
Sub-set patch [37499406] has become inactive due to the application of a super-set patch [37847857].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-02-12_18-50-19PM_1.log

OPatch succeeded.

Datapatch Apply

Start the database
oracle@ol8-19-rac2 cdbrac2 > ~ $ srvctl start database -db cdbrac
oracle@ol8-19-rac2 cdbrac2 > ~ $ srvctl status database -db cdbrac
Instance cdbrac1 is running on node ol8-19-rac1
Instance cdbrac2 is running on node ol8-19-rac2
oracle@ol8-19-rac2 cdbrac2 > ~ $ $ORACLE_HOME/OPatch/datapatch -verbose
SQL Patching tool version 19.28.0.0.0 Production on Thu Feb 12 19:02:55 2026
Copyright (c) 2012, 2025, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_55499_2026_02_12_19_02_55/sqlpatch_invocation.log

Connecting to database...OK
Gathering database info...done

Note:  Datapatch will only apply or rollback SQL fixes for PDBs
       that are in an open state, no patches will be applied to closed PDBs.
       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
       (Doc ID 1585822.1)

Bootstrapping registry and package to current versions...done
Determining current state...done

Current state of interim SQL patches:
Interim patch 36878697 (OJVM RELEASE UPDATE: 19.25.0.0.241015 (36878697)):
  Binary registry: Not installed
  PDB CDB$ROOT: Rolled back successfully on 12-FEB-26 01.31.43.337316 AM
  PDB PDB$SEED: Rolled back successfully on 12-FEB-26 01.32.17.155278 AM
  PDB PDB1: Rolled back successfully on 12-FEB-26 01.32.20.773411 AM
Interim patch 37499406 (OJVM RELEASE UPDATE: 19.27.0.0.250415 (37499406)):
  Binary registry: Not installed
  PDB CDB$ROOT: Not installed
  PDB PDB$SEED: Not installed
  PDB PDB1: Not installed
Interim patch 37847857 (OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857)):
  Binary registry: Installed
  PDB CDB$ROOT: Not installed
  PDB PDB$SEED: Not installed
  PDB PDB1: Not installed

Current state of release update SQL patches:
  Binary registry:
    19.28.0.0.0 Release_Update 250705030417: Installed
  PDB CDB$ROOT:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.01.10.978925 PM
  PDB PDB$SEED:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.20.05.268786 PM
  PDB PDB1:
    Applied 19.25.0.0.0 Release_Update 241010184253 successfully on 25-JAN-26 05.20.05.268786 PM

Adding patches to installation queue and performing prereq checks...done
Installation queue:
  For the following PDBs: CDB$ROOT PDB$SEED PDB1
    No interim patches need to be rolled back
    Patch 37960098 (Database Release Update : 19.28.0.0.250715 (37960098)):
      Apply from 19.25.0.0.0 Release_Update 241010184253 to 19.28.0.0.0 Release_Update 250705030417
    The following interim patches will be applied:
      37847857 (OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857))

Installing patches...
Patch installation complete.  Total patches installed: 6

Validating logfiles...done
Patch 37960098 apply (pdb CDB$ROOT): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37960098/27635722/37960098_apply_CDBRAC_CDBROOT_2026Feb12_19_07_08.log (no errors)
Patch 37847857 apply (pdb CDB$ROOT): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37847857/27534561/37847857_apply_CDBRAC_CDBROOT_2026Feb12_19_04_19.log (no errors)
Patch 37960098 apply (pdb PDB$SEED): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37960098/27635722/37960098_apply_CDBRAC_PDBSEED_2026Feb12_19_13_28.log (no errors)
Patch 37847857 apply (pdb PDB$SEED): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37847857/27534561/37847857_apply_CDBRAC_PDBSEED_2026Feb12_19_11_16.log (no errors)
Patch 37960098 apply (pdb PDB1): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37960098/27635722/37960098_apply_CDBRAC_PDB1_2026Feb12_19_13_31.log (no errors)
Patch 37847857 apply (pdb PDB1): SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/37847857/27534561/37847857_apply_CDBRAC_PDB1_2026Feb12_19_11_14.log (no errors)
SQL Patching tool complete on Thu Feb 12 19:17:54 2026

Post-Patch Verification

oracle@ol8-19-rac2 cdbrac2 > ~ $ opatch lspatches; oram +ASM; opatch lspatches
37847857;OJVM RELEASE UPDATE: 19.28.0.0.250715 (37847857)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)

OPatch succeeded.
 Aliases set for instance '+ASM2'
 - talert: tail -50f /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM2.log
 - valert: less /u01/app/oracle/diag/asm/+asm/+ASM2/trace/alert_+ASM2.log
 - cdbd: cd /u01/app/oracle/diag/asm/+asm/+ASM2/trace
38124772;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38124772)
37962946;OCW RELEASE UPDATE 19.28.0.0.0 (37962946)
37962938;ACFS RELEASE UPDATE 19.28.0.0.0 (37962938)
37960098;Database Release Update : 19.28.0.0.250715 (37960098)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)

OPatch succeeded.

oracle@ol8-19-rac2 cdbrac2 > ~ $ sql / as sysdba

SQLcl: Release 21.4 Production on Thu Feb 12 19:19:50 2026

Copyright (c) 1982, 2026, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0

SQL> select patch_id, patch_uid, action, to_char(action_time,'dd.mm.yyyy hh24:mi:ss') as "patch time", source_version, target_version, status from sys.dba_registry_sqlpatch;

   PATCH_ID    PATCH_UID      ACTION             patch time    SOURCE_VERSION    TARGET_VERSION     STATUS
___________ ____________ ___________ ______________________ _________________ _________________ __________
   36878697     25797620 APPLY       25.01.2026 16:42:45    19.1.0.0.0        19.25.0.0.0       SUCCESS
   36912597     25871884 APPLY       25.01.2026 17:01:10    19.1.0.0.0        19.25.0.0.0       SUCCESS
   36878697     25797620 ROLLBACK    12.02.2026 01:31:43    19.28.0.0.0       19.28.0.0.0       SUCCESS
   37847857     27534561 APPLY       12.02.2026 19:07:08    19.25.0.0.0       19.28.0.0.0       SUCCESS
   37960098     27635722 APPLY       12.02.2026 19:10:41    19.25.0.0.0       19.28.0.0.0       SUCCESS

oracle@ol8-19-rac2 +ASM > ~ $ . oraenv <<< +ASM2
ORACLE_SID = [+ASM] ? The Oracle base remains unchanged with value /u01/app/oracle
oracle@ol8-19-rac2 +ASM2 > ~ $ crsctl query crs activeversion -f
Oracle Clusterware active version on the cluster is [19.0.0.0.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [880628325].
oracle@ol8-19-rac2 +ASM2 > ~ $ /u01/app/19.0.0/grid/bin/cluvfy stage -post patch
This software is "226" days old. It is a best practice to update the CRS home by downloading and applying the latest release update. Refer to MOS note 756671.1 for more details.

Performing following verification checks ...

  cluster upgrade state ...PASSED
  Software home: /u01/app/19.0.0/grid ...PASSED

Post-check for Patch Application was successful.

CVU operation performed:      stage -post patch
Date:                         Feb 12, 2026 7:21:40 PM
CVU version:                  19.28.0.0.0 (070125x8664)
Clusterware version:          19.0.0.0.0
CVU home:                     /u01/app/19.0.0/grid
Grid home:                    /u01/app/19.0.0/grid
User:                         oracle
Operating system:             Linux5.15.0-202.135.2.el8uek.x86_64
With both nodes patched, the cluster returned to a NORMAL state — confirming that both nodes are now on the same patch level. The cluvfy post-check also completed successfully, giving us a final validation that the rolling patch cycle finished cleanly. At this stage, the RAC environment is fully updated to 19.28 and ready for normal operations.

Comments

Popular posts from this blog

In-Place Upgrade from Oracle Linux 7 to 8 Using LEAPP

Upgrading from Oracle Linux 7 to Oracle Linux 8 is important to keep your system secure, stable, and supported. Oracle Linux 7 is now out of support, which means it no longer receives updates, security patches, or fixes. Moving to Oracle Linux 8 ensures you continue getting updates, new features, and better performance. The LEAPP tool makes this upgrade easier by allowing an in-place upgrade, so you don’t need to reinstall the system from scratch. It checks if your system is ready, identifies potential issues, and helps guide you through the upgrade process. This guide will walk you through the basic steps and requirements to successfully upgrade Oracle Linux 7 to Oracle Linux 8 using LEAPP. Oracle Lifetime Support Policy Regarding upgrading Oracle Linux 7 to Oracle Linux 8, here are a few key points to consider: Review the official documentation thoroughly before starting the upgrade process Ensure you have a complete backup in place, as this is an in-place upgrade and you may n...

Step-by-Step Guide to Renewing OLVM Certificates in Version 4.3

Managing certificates is a critical administrative task in Oracle Linux Virtualization Manager (OLVM) environments, as expired certificates can result in host disconnections, authentication failures, and service disruptions. In this article, we will cover the process of renewing certificates in OLVM version 4.3 before they expire, ensuring secure communication between the engine and managed KVM hosts. For this procedure, we will use the OlvmKvmCerts utility provided by Oracle to renew the required certificates. In OLVM 4.3, although some engine-related certificates can be renewed using the engine-setup command, not all certificates are automatically refreshed. Certain components require manual renewal because the certificate renewal process in this version is not fully automated. It is important to note that this limitation has been addressed in  OLVM 4.4.10.7-1.0.24 and later.  Additionally, OLVM 4.3 has been unsupported since October 2022, and OLVM 4.4 reached end of su...

Oracle 19c: Data Guard Physical Standby Setup Guide

In this blog post, we’ll walk through the process of creating a Data Guard Physical Standby database in Oracle Database 19c, where ASM (Automatic Storage Management) and OMF (Oracle Managed Files) are used for storage management.  Setting up a standby database with Data Guard enhances the high availability, disaster recovery, and data protection capabilities of your Oracle environment.  By leveraging ASM and OMF, we simplify file management and ensure optimal performance and flexibility. This guide provides a step-by-step approach, from preparing the primary database to configuring the standby environment, ensuring a smooth and reliable setup. Environment Overview In this setup, we have two database servers configured for a Data Guard Physical Standby environment: Primary Server : server-graz – This server hosts the primary database named graz . Standby Server : server-salzburg – This server will act as the physical standby. Both servers are configured to use ASM (Au...