5 Configuring True Cache on Oracle Database Free

To configure True Cache on Oracle Database Free, set up Oracle 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 Database that you're using for both the primary database and True Cache.

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

Set Up Oracle Database Free Primary Database

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

To set up Oracle Database Free primary database:
  1. Install Oracle Database Free using RPM packages and then create and configure the primary database using the steps described in Installing Oracle 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.Oracle 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 Database Free True Cache

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

To configure Oracle Database Free True Cache:
  1. Install only the Oracle Database Free software using the RPM packages. See, Installing Oracle 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/23ai/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

    Enter the password for the Oracle 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