Starting the terminal user interface

Start the life-cycle manager container and use the terminal user interface, the default way to install a site, to step through each configuration screen.

The terminal user interface is the default way to install a site. It shows each configuration screen in turn, runs the stages between them, and reports progress. To start it, perform the following steps.

  1. Run the life-cycle manager container.
    sudo podman run -it --log-driver=none --name ccc-lcm --network host \
      -v /srv/ccc-lcm:/opt/ccc-lcm \
      -v /root/.ssh:/root/.ssh:ro \
      -v /etc/ssl/certs:/etc/ssl/certs:ro \
      registry-host/ccc/cloudera/ccc-lcm:tag

    Add the certificate mount only when the registry uses a private certificate authority. To skip the site selection screen, add the site identifier to the command:

    sudo podman run -it --log-driver=none --name ccc-lcm --network host \
      -v /srv/ccc-lcm:/opt/ccc-lcm \
      -v /root/.ssh:/root/.ssh:ro \
      registry-host/ccc/cloudera/ccc-lcm:tag \
      --site-id site-id

    To pre-fill the screens from your configuration files, add the configuration options and the secret variables:

    sudo podman run -it --log-driver=none --name ccc-lcm --network host \
      -v /srv/ccc-lcm:/opt/ccc-lcm \
      -v /root/.ssh:/root/.ssh:ro \
      -e LCM_SECRET_OCI_REGISTRY_TOKEN \
      -e LCM_SECRET_OCI_SITE_REGISTRY_TOKEN \
      registry-host/ccc/cloudera/ccc-lcm:tag \
      --site-id site-id \
      --config configs/inventory.yaml \
      --config configs/site.yaml
  2. On the startup screen, select the option to deploy a new stack.
  3. Complete the cluster configuration screen, then save it to start the Kubernetes stage.
  4. Review the discovered disks on the disk selection screen, then save it.
  5. Complete the site configuration screen, then save it to start the remaining stages.
  6. Supply the external network parameters when the installer asks for them.
  7. Wait for the stages to finish, and confirm that the run reports success.