4.2 Execute the Foundation Database Installer

This topic provides the systematic instructions to encrypt domain secrets, create the Keycloak and foundation schemas, and execute the foundation DBzip installation.

  1. Open PuTTY and sign in to the installer VM as an NIS user, and then switch to the root user.
  2. Navigate to the installer directory.
    cd /scratch/obma_installer/26_1_0/installer
  3. Run the following commands for the salt-encryption utility.
    chmod -R u+rwX db_installer
    cd db_installer/pre-requisites/domains/utility
    export JAVA_BIN="$(sed -n 's/^JAVA_BIN=//p' /scratch/obma_installer/26_1_0/installer/db_installer/obma/templates/installer.env.template | tail -1 | tr -d "'\"")"
    OBMA_INSTALLER_PATH=/scratch/obma_installer/26_1_0/installer/db_installer/obma/obma-installer.sh \
      ./encrypt-domain-secrets.sh /scratch/obma_installer/26_1_0/installer db_installer/pre-requisites/domains foundation,keycloak

    When prompted, enter the 16-character SQLcl plaintext salt.

  4. Run the following command to create the Keycloak schema.
    /scratch/obma_installer/26_1_0/installer/db_installer/pre-requisites/runner/pre_requisite.sh --domains keycloak --env-file /scratch/obma_installer/26_1_0/installer/db_installer/obma/templates/installer.env.template
  5. Run the following command to create the foundation schemas.
    /scratch/obma_installer/26_1_0/installer/db_installer/obma/obma-installer.sh --domains foundation --mode schema_creation
  6. Run the following command to execute the foundation DBzip installation.
    /scratch/obma_installer/26_1_0/installer/db_installer/obma/obma-installer.sh --domains foundation --mode sqlcl_execution