Installing IBM License Service on a Red Hat OpenShift cluster

Install IBM® License Service on the Red Hat® OpenShift® cluster where IBM Rapid Infrastructure Automation® is installed. Then, add configuration to ensure that IBM License Service can access the IBM Rapid Infrastructure Automation® license metrics.

About this task

IBM License Service is a tool that you can use to monitor and measure the license usage of IBM products, such as IBM Rapid Infrastructure Automation®, by collecting license metrics. In this task, after you install IBM License Service, you enable IBM Rapid Infrastructure Automation® to send its usage data to IBM License Service.

Procedure

  1. On your Red Hat OpenShift cluster, complete the procedure that is described in Installing License Service on OpenShift Container Platform.
  2. Enable IBM Rapid Infrastructure Automation® to send usage data to IBM License Service.
    1. Edit the IBM Rapid Infrastructure Automation® scheduler configuration by running this command:
      oc edit deployment rna-core-pliant-scheduler -n rna-core
    2. In the spec.container.env section of the YAML, add these attributes and values:
      
      spec:
        ...
        container:
          env:
          - name: SCHEDULER_ILS_METRICS_UPLOAD_ENABLED
            value: "true"
    3. Save your changes.
  3. Optional: Retrieve IBM License Service metrics by using its dedicated APIs.
    • Retrieve the token that authorizes you to run the APIs by running this command:
      oc get secret ibm-licensing-token -n ${licensing_namespace} -o jsonpath={.data.token} | base64 -d
    • In a web browser, enter the IP address of the host where IBM Rapid Infrastructure Automation® is installed, followed by the port 8080. For example: https://<hostname>:8080
    oc get pod -n ${licensing_namespace}
    If the pods started successfully, output that is similar to the following example is shown:
    NAME                                              READY   STATUS    RESTARTS      AGE
    ibm-licensing-operator-7f4cf9f76c-89b96           1/1     Running   1 (14m ago)   19h
    ibm-licensing-service-instance-766f9cd956-rzspw   1/1     Running   1 (14m ago)   19h
  4. Use IBM License Service to track, measure, and report the license usage for your IBM Rapid Infrastructure Automation® instance. For more information, see License usage metering and reporting.