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 the interactive or silent mode. See, Installing Oracle Database Free.
  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 the Oracle Database Free software using one of the following methods in silent mode:
    1. Using command-line interface:
      setup.exe /s /v"/L*v c:\free_temp\setupsw.log" /v"/qn 
      INSTALLDIR=C:\app\<username>\product\23ai\ SOFTWARE_ONLY=TRUE"
    2. Using Response file:
      1. Open the FREEInstall.rsp response file and modify the following settings:
        INSTALLDIR=C:\app\<username>\product\23ai\
        SOFTWARE_ONLY=TRUE
      2. Run the installation file with the FREEInstall.rsp response file. For example, if you extracted the setup.exe file and the FREEInstall.rsp file to a directory called free_temp, you would enter the following command:
        setup.exe /s /v"RSP_FILE=C:\free_temp\response\FREEInstall.rsp" /v"/L*v
        c:\free_temp\setupsw.log" /v"/qn"

    Note:

    Do not create and configure the database on the True Cache node.
  2. Copy the password file C:\app\<username>\product\23ai\dbhomeFree\database\PWDFREE.ora from the primary database node to the True Cache node to a temp location C:\temp\PWDFREE.ora.
  3. Run Oracle DBCA to complete the True Cache configuration.
    dbca.bat -silent -createTrueCache -gdbName FREE -sourceDBConnectionString Primary DBNode:1521/FREE -passwordFileFromSourceDB C:\temp\PWDFREE.ora

    Enter the password for the Oracle Database Free primary database.

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