Installing shared cluster components for IBM Software Hub Control Center

If you plan to install IBM Software Hub Control Center (Control Center) on a different cluster from the instances of IBM Software Hub that you want to monitor, you must install the IBM Cloud Pak foundational services License Service and the IBM Software Hub scheduling service.

Who needs to complete this task?

Cluster administrator A cluster administrator must complete this task.

You can optionally give another user the minimum role-based access control to install the scheduling service. However, this method requires additional planning and maintenance and is not recommended for typical installations. For more information, see Giving a user the minimum RBAC to install the scheduling service.

When do you need to complete this task?
  • If you are installing Control Center on the same cluster as the instances of instances of IBM Software Hub that you want to monitor, skip this task.
  • If you are installing Control Center on a different cluster, you must complete this task before you install Control Center.

One-time setup The shared cluster components are installed exactly once on the cluster.

Before you begin

Best practice: You can run the commands in this task exactly as written if you use set up environment variables for IBM Software Hub Control Center. For instructions, see Setting up environment variables for IBM Software Hub Control Center

In addition, ensure that you source the environment variables before you run the commands in this task.

Procedure

  1. Log the cpd-cli in to the Red Hat® OpenShift® Container Platform cluster:
    ${CONTROL_CPDM_OC_LOGIN}
    Remember: CONTROL_CPDM_OC_LOGIN is an alias for the cpd-cli manage login-to-ocp command when you are connecting to the Control Center cluster.
  2. Install the License Service:
    Tip: Before you run this command against your cluster, you can preview the oc commands that this command will issue on your behalf by running the command with the --preview=true option.

    The oc commands are saved to the preview.sh file in the work directory.

    cpd-cli manage apply-cluster-components \
    --release=${VERSION} \
    --license_acceptance=true \
    --licensing_ns=${CONTROL_PROJECT_LICENSE_SERVICE}
    Wait for the cpd-cli to return the following message before proceeding to the next step:
    [SUCCESS]... The apply-cluster-components command ran successfully.
  3. Install the scheduling service:
    Tip: Before you run this command against your cluster, you can preview the oc commands that this command will issue on your behalf by running the command with the --preview=true option.

    The oc commands are saved to the preview.sh file in the work directory.

    cpd-cli manage apply-scheduler \
    --release=${VERSION} \
    --license_acceptance=true \
    --scheduler_ns=${CONTROL_PROJECT_SCHEDULING_SERVICE}
    Wait for the cpd-cli to return the following message before proceeding to the next step:
    [SUCCESS]... The apply-scheduler command ran successfully.

What to do next

Now that you've installed the shared cluster components, you're ready to complete Manually creating projects (namespaces) for IBM Software Hub Control Center.