4.5 Run the CNF Installer

This topic provides the systematic instructions to configure the image repositories and environment values, and run the installer for the target cluster.

  1. Navigate to /scratch/obma_installer/26_1_0/installer/installation/install.
    cd /scratch/obma_installer/26_1_0/installer/installation/install
  2. Update the Docker repository details in update-image-repositories.conf.
    NEW_IMAGE_REPO=<DOCKER_REPO>/platform
  3. Run the following script to apply the changes.
    sh update-image-repositories.sh
  4. Update /scratch/obma_installer/26_1_0/installer/installation/install/scripts/.env with the following values. For certificate configuration, refer to the descriptions and comments in the .env file.
    CNF_CORE_COMPONENTS_REPO_URL=<GIT_PROJECT_URL>/cnf-obma-platform-gitops.git
    CNF_CORE_COMPONENTS_TARGET_REVISION=release_26.1.0.0.0
    ARGOCD_GIT_REPO_USERNAME=<USERNAME>
    ARGOCD_GIT_REPO_PASSWORD=<PASSWORD>
    ARGOCD_HELM_REPO_URL=<DOCKER/HELM_REPO>/platform
    ARGOCD_HELM_REPO_USERNAME=<DOCKER/HELM_REPO_USERNAME>
    ARGOCD_HELM_REPO_PASSWORD=<DOCKER/HELM_REPO_PASSWORD>
    OCIR_REGISTRY_SERVER=<DOCKER_REPO>
    OBAAS_DOCKER_REGISTRY_SERVER=<DOCKER_REPO>
    OBAAS_DOCKER_REGISTRY_USERNAME=<DOCKER_USERNAME>
    OBAAS_DOCKER_REGISTRY_PASSWORD=<DOCKER_PASSWORD/TOKEN>
    KEYCLOAK_ADMIN_PASS=<keycloak_admin_password>
    KEYCLOAK_CMNADM1_USER=CMNADM1
    KEYCLOAK_CMNADM1_PASSWORD=<Password_for_CMNADMIN>
    DB_CONNECTION_URL=jdbc:oracle:thin:@(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=100.99.100.101))(connect_data=(service_name=abc.in.example.com))(security=(ssl_server_dn_match=no)))
    # PLATOUICONFIG schema credentials
    DB_USERNAME=<PLATOUICONFIG_USERNAME>
    DB_PASSWORD=<PLATOUICONFIG_PASSWORD>
  5. For an OCNE cluster, run the following commands. For an OKE cluster, skip to the next step.
    chmod +x /scratch/obma_installer/26_1_0/installer/installation/install/scripts/ocne_libvirt_setup_script.sh
    sh /scratch/obma_installer/26_1_0/installer/installation/install/scripts/ocne_libvirt_setup_script.sh
  6. For an OKE cluster, run the following command.
    sh /scratch/obma_installer/26_1_0/installer/installation/install/scripts/setup_script.sh