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
- On your Red Hat
OpenShift cluster,
complete the procedure that is described in Installing License Service on OpenShift Container Platform.
- Enable IBM Rapid Infrastructure
Automation® to send usage data to IBM License Service.
- Edit the IBM Rapid Infrastructure
Automation® scheduler
configuration by running this
command:
oc edit deployment rna-core-pliant-scheduler -n rna-core
- 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"
- Save your changes.
- Optional: Retrieve IBM License Service metrics by using its dedicated APIs.
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
- 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.