5 Configuring True Cache on Oracle AI Database Free

To configure True Cache on Oracle AI Database Free, set up Oracle AI Database Free on the primary node and then configure True Cache in another True Cache node.

Licensing for True Cache

True Cache licensing is based on the edition of Oracle AI Database that you're using for both the primary database and True Cache.

See Permitted Features, Options, and Management Packs by Oracle AI Database Offering in the Oracle AI Database Licensing Information User Manual.

Set Up Oracle AI Database Free Primary Database

Before you configure Oracle AI Database Free True Cache, install and set up the Oracle AI Database Free primary database on the primary node.

To set up Oracle AI Database Free primary database:
  1. Install Oracle AI Database Free using RPM packages and then create and configure the primary database using the steps described in Installing Oracle AI Database Free Using RPM Packages.
  2. Ensure that a primary database is running on the primary node in archive logging (ARCHIVELOG) mode.

    The primary database must be in ARCHIVELOG mode to ship redo log files to the True Cache node. DBCA verifies that the primary database is in ARCHIVELOG mode.

    If the primary database is not in ARCHIVELOG mode, restart it in mount mode, run the ALTER DATABASE ARCHIVELOG command, and open the primary database again.

    Note:

    Don't set LOG_ARCHIVE_CONFIG and LOG_ARCHIVE_DEST_n on the primary database. True Cache automatically configures these for the primary database.

Configuring Oracle AI Database Free True Cache

After you set up the primary database, configure Oracle AI Database Free True Cache on the True Cache node.

To configure Oracle AI Database Free True Cache:
  1. Install only the Oracle AI Database Free software using the RPM packages. See Installing Oracle AI Database Free RPM.

    Note:

    Do not create and configure the database on the True Cache node.
  2. Log in as the oracle user.
  3. Copy the password file /opt/oracle/product/26ai/dbhomeFree/dbs/orapwFREE from the primary database node to the True Cache node under a temp location /opt/oracle/tmp.
  4. Run Oracle DBCA to complete the True Cache configuration.
    ./dbca -silent -createTrueCache -gdbName FREE -sourceDBConnectionString  primary.example.com:1521/FREE.example.com -passwordFileFromSourceDB /opt/oracle/tmp/orapwFREE -dbUniqueName <db_unique_name for True Cache>

    Note:

    Ensure that the db_unique_name value is not assigned as FREE.

    Enter the password for the Oracle AI Database Free primary database.

    Enter Remote DB SYS user password:
    password
  5. To configure database application services for True Cache, see Create Database Application Services on the Primary Database.
  6. To verify the True Cache configuration, see Verifying the True Cache Configuration.