The current patch level is
crsctl query has releasepatch Oracle Clusterware release patch level is [2107015493] and the complete list of patches [38743669 38743682 38743688 38743695 38743706 ] have been applied on the local node. The release patch string is [23.26.1.0.0].
1. First step is to setup the new GI home. The best way to do this is to use the GI gold image with the latest RU. Oracle documentation mentions unzipping the installer and then patching before switching home. During testing it was found that opatchauto brings down the HAS stack even though existing homes are not affected by the patching. With the use of gold image the down time could be kept to a minimum. In this case the new GI home is
/opt/company/app/oracle/product/23.26.2/gridThe gold image with the latest RU at the time of this posts is p39099896_230000_Linux-x86-64.zip. Unzip the file into above location.
unzip p39099896_230000_Linux-x86-64.zip -d /opt/company/app/oracle/product/23.26.2/grid2. Register the new GI home location in the oracle inventory.
cd /opt/company/app/oracle/product/23.26.2/grid ./gridSetup.sh -silent -setupHomeAs /opt/company/app/oracle/product/23.26.1/gridThe -setupHomeAs command installs the GI software with Oracle base and privileged operating system groups identical to the existing GI home which is located in /opt/company/app/oracle/product/23.26.1/grid. This step also adds an entry to the inventory.xml.
<HOME NAME="OraGI23Home2" LOC="/opt/company/app/oracle/product/23.26.2/grid" TYPE="O" IDX="8"/>After registering the GI home could check the patches in it.
./OPatch/opatch lspatches 39099119;MICRONAUT RELEASE UPDATE 23.26.2.0.0 (39099119) Gold Image 39099244;RHP RELEASE UPDATE 23.26.2.0.0 (39099244) Gold Image 39099110;ACFS RELEASE UPDATE 23.26.2.0.0 (39099110) Gold Image 39093738;OCW RELEASE UPDATE 23.26.2.0.0 (39093738) Gold Image 39093711;Database Release Update : 23.26.2.0.0 (39093711) Gold Image3. Execute the swtiching GI homes with the following command
./gridSetup.sh -silent -switchGridHome
Launching Oracle Grid Infrastructure Setup Wizard...
As a root user, run the following script(s):
1. /opt/company/app/oracle/product/23.26.2/grid/root.sh
Run /opt/company/app/oracle/product/23.26.2/grid/root.sh on the following nodes:
[ip-172-31-2-172]4. When the root.sh is run this will bring down the existing HAS stack (downtime will begin) and carry out the pre and post patch config work and bring the HAS stack up on the new GI home.
/opt/company/app/oracle/product/23.26.2/grid/root.sh Check /opt/company/app/oracle/product/23.26.2/grid/install/root_ip-172-31-2-172.eu-west-1.compute.internal_2026-05-06_11-50-33-113071205.log for the output of root script5. Once the HAS stack is started check the patch level
crsctl query has releasepatch Oracle Clusterware release patch level is [1283328329] and the complete list of patches [39093711 39093738 39099110 39099119 39099244 ] have been applied on the local node. The release patch string is [23.26.2.0.0].
This is the end of out-of-place patching of Oracle restart 26ai.
If gold image installation is not preferred then RU could be applied at the time of GI home registering. This would require use of applyRU which is deprecated in 26ai. This method also reduces the downtime caused by patchnig a base instalation.
./gridSetup.sh -silent -setupHomeAs /opt/company/app/oracle/product/23.26.1/grid -applyRU /opt/installs/26ai/39088031 [INFO] [INS-32830] Options -applyRU, -applyPSU and -applyRUR are deprecated in this release. For more details, refer to help documentation.
To switch back to the old use home run the following as root on the old GI home
# cd /opt/company/app/oracle/product/23.26.1/grid # ./crs/install/roothas.sh -unlock -dstcrshome /opt/company/app/oracle/product/23.26.1/gridThen run switch home command from the old GI home.
$cd /opt/company/app/oracle/product/23.26.1/grid ./gridSetup.sh -silent -switchGridHomeRelated Posts
Out of Place (OOP) Patching of Oracle Restart
Out of Place (OOP) Patching of Oracle Restart 21c
