E.1 Rerunning Oracle DBCA

If you run into issues when configuring True Cache with Oracle DBCA, you need to clean up the True Cache node and then rerun DBCA.

E.1.1 Rerunning Oracle DBCA After Creating True Cache

If you need to rerun Oracle DBCA after creating True Cache, clean up the True Cache node first.

If you don't do the cleanup, DBCA might say that the instance already exists.

  1. Shut down True Cache if it was started during the creation. See Shutting Down True Cache.
  2. Remove any newly created files in the $ORACLE_HOME/dbs directory for True Cache. File names contain the True Cache name.
  3. If you used a Transparent Data Encryption (TDE) auto-login wallet, delete the wallet and auto-login file in the $ORACLE_BASE/admin/true_cache_name/wallet_root/tde/ directory.
  4. Create True Cache again. See Creating True Cache with DBCA.

E.1.2 Rerunning Oracle DBCA After Configuring True Cache Database Application Services

If you need to rerun Oracle DBCA after configuring True Cache database application services, you might need to delete the True Cache service from the primary pluggable database (PDB) using the DBMS_Service package.

Example error message:

[DBT-19958] Database service 'trueCacheServiceName'
  1. For services that are specific to a PDB, connect to the specific PDB, or set the correct PDB container in your session.
  2. Connect to True Cache and stop the True Cache service on True Cache if it's running.

    EXEC DBMS_SERVICE.STOP_SERVICE('trueCacheServiceName');

  3. Delete the service on the primary database using DBMS_SERVICE.DELETE_SERVICE.

    EXEC DBMS_SERVICE.DELETE_SERVICE('trueCacheServiceName');

  4. Configuration the True Cache application service again. See Configuring True Cache Database Application Services with DBCA.