Skip to content

ODA: Old Grid Infrastructure version deleted automatically from 19.33. onwards

Oracle Database Appliance: Change in the management of Grid Infrastructure (GI) in 19.33.

Recently I updated a customers’ ODA from 19.32. to 19.33.0.1.0. While updating GI I saw a new behavior, which caused an issue for us. The new behavior is that the old GI-software is being cleaned up now automatically. I.e. in my case GI 19.32. is being deleted at the end of the “odacli update-gihome” job. In previous releases we deleted the old GI-version manually after some time. E.g. in 19.32. we could delete GI 19.31. with

# odacli delete-gihomes -v 19.31.0.0.0 -f
...
# odacli describe-job -i <job-id>
...

In 19.33. I could see this “Delete GI Homes with RHP” message at the end of the GI patching:

# odacli update-gihome -v 19.33.0.1.0
...
# odacli describe-job -i c57b8cc5-c88e-4266-8062-0f0dafd8e1ac
 
Job details
----------------------------------------------------------------
                     ID:  c57b8cc5-c88e-4266-8062-0f0dafd8e1ac
            Description:  Patch GI with RHP version 19.33.0.0.261020
                 Status:  Success
                Created:  November 30, 2026 14:58:13 CET
                Message:
 
Task Name                                Start Time                               End Time                                 Status
---------------------------------------- ---------------------------------------- ---------------------------------------- ----------------
...
Delete GI Homes with RHP                 November 30, 2026 14:58:51 CET           November 30, 2026 14:59:03 CET           Success
 
#

I.e. Oracle deletes all old GI-ORACLE_HOMES at the end of the successful GI-update. In our case this caused a problem, because the customer had created a listener for each database. I.e. besides the standard listener listening on port 1521, the customer had several listeners listening on other ports. Those other listeners are managed by the ODA in a listener.ora located in <GRID_ORACLE_HOME>/network/admin/grid. In the past we had to copy that directory “grid” with its contents to the new Grid-ORACLE_HOME/network/admin directory. With 19.33. this was no longer possible, because the 19.32.-Grid-ORACLE_HOME was deleted.

I.e. if you have created separate listeners as root, e.g. as follows in 19.28.

# srvctl add listener -listener MYLISTENER -oraclehome /u01/app/19.28.0.0/grid -netnum 1 -user grid -endpoints "TCP:1570"

then make a backup of the directory <GRID_ORACLE_HOME>/network/admin/grid and restore that directory after patching GI to the new <GRID_ORACLE_HOME>/network/admin. E.g. before patching GI:

Questions about your own setup? A dbi services consultant can look at your case.

Talk to an expert (opens in a new tab)
[grid@oda99 admin]$ pwd
/u01/app/19.32.0.0/grid/network/admin
[grid@oda99 admin]$ mkdir ~/cbleile
[grid@oda99 admin]$ tar cvf ~/cbleile/grid_1932.tar grid
...
[grid@oda99 admin]$ 

And after patching GI to 19.33.:

[grid@oda99 admin]$ pwd
/u01/app/19.33.0.0/grid/network/admin
[grid@oda99 admin]$ tar xvf ~/cbleile/grid_1932.tar
...
[grid@oda99 admin]$ srvctl start listener -node oda99
PRCR-1004 : Resource ora.LISTENER.lsnr is already running
[grid@oda99 admin]$ 

In case you manually deleted old GI-Homes with “rm” and detached the Grid-ORACLE_HOME in the Oracle inventory with

[grid@oda99 ~]$ echo $ORACLE_HOME
/u01/app/19.32.0.0/grid
[grid@oda99 ~]$ cd $ORACLE_HOME/oui/bin
[grid@oda99 bin]$ ./runInstaller -detachHome -silent -local ORACLE_HOME=/u01/app/19.31.0.0/grid
...
[grid@oda99 bin]$ 

then you should also update the entries in the MySQL-Repository-DB of the ODA with

# odacli update-registry -n gihome
...

Otherwise you’d get messages as follows while patching GI to 19.33.:

                Message:  DCS-10010:Failed to delete GI Homes.GI Home OraGrid193100: DCS-10010:Failed to delete GI Home job 3e0e827b-3386-4f18-b273-2ec488221bd4.PRGH-1009 : Deletion of Oracle home location /u01/app/19.31.0.0/grid from inventory failed
PRCZ-4001 : failed to execute command "/u01/app/19.31.0.0/grid/oui/bin/runInstaller" using the privileged execution plugin "odaexec" on nodes "oda99" within 5,000 seconds
PRCZ-2103 : Failed to execute command "/u01/app/19.31.0.0/grid/oui/bin/runInstaller" on node "oda99" as user "grid". Detailed error:
bash: /u01/app/19.31.0.0/grid/oui/bin/runInstaller: No such file or directory

Summary

Oracle expects you to run with a standard setup on an ODA. I.e. one listener listening on port 1521. This is actually the case for most of the customers using an ODA. If you change the standard setup on the ODA then you may run into issues later on. We could also see this in ODA version 19.31., where Oracle expects you to run with a temporary tablespace named TEMP with 1 tempfile. If you had a different setup your update to 19.31. failed. Details on that case were blogged about here. Best practice on the ODA is to remain close to the standard setup to avoid issues when patching the ODA.

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Clemens Bleile

Clemens Bleile

Clemens Bleile has more than 30 years of IT experience, including 13 years in Oracle Support and 15 years in Oracle Consulting. He specializes in Oracle Database performance tuning and highly available, cost-efficient database architecture design. He holds Oracle Certified Professional (11g, 12c) and Oracle Certified Expert for Performance Management and Tuning credentials. Prior to dbi services, he managed the EMEA Database Performance team at Oracle Global Customer Support Services. Clemens holds a Master's degree in Business Information Systems from the Fachhochschule Furtwangen, Germany.View Author posts

69 posts since February 2016

Most read in Oracle

The Oracle posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *