* delete DBHOME (check if no DB is on it with ODACLI LIST-DATABASES
[root@oda1 ~]# odacli list-dbhomes
ID Name DB Version DB Edition Home Location Status
---------------------------------------- -------------------- -------------------- ---------- -------------------------------------------------------- ----------
2a3bac0f-090f-45be-842c-2e4b13338380 OraDB19000_home1 19.25.0.0.241015 EE /u01/app/odaorahome/oracle/product/19.0.0.0/dbhome_1 CONFIGURED
[root@oda1 ~]# odacli delete-dbhome --id 2a3bac0f-090f-45be-842c-2e4b13338380
* Force DBHOME deletion if status blocked on 'Creating'
[root@oda1 ~]# odacli list-dbhomes
ID Name DB Version DB Edition Home Location Status
---------------------------------------- -------------------- -------------------- ---------- -------------------------------------------------------- ----------
2a3bac0f-090f-45be-842c-2e4b13338380 OraDB19000_home1 19.25.0.0.241015 EE /u01/app/odaorahome/oracle/product/19.0.0.0/dbhome_1 CONFIGURED
[root@oda1 ~]# systemctl stop initdcsagent
[root@oda1 ~]# cd /opt/oracle/dcs/mysql/bin
[root@oda1 ~]# /opt/oracle/dcs/mysql/bin/mysql --defaults-file=/opt/oracle/dcs/mysql/etc/mysqldb.cnf
mysql> use dcsagentdb;
mysql> select id, name, dbHomeLocation from DatabaseHome ;
mysql> delete from DatabaseHome where id='';
mysql> commit;
mysql> exit;
[root@oda1 ~]# systemctl start initdcsagent
[root@oda1 ~]# rm -rf /u01/app/odaorahome/oracle/product/19.0.0.0/dbhome_1