Installing the IBM Metrics Operator for telemetry data collection
To report license usage for IBM Cloud Pak for Data to IBM Software Central, you must install the IBM Metrics Operator on the cluster.
- Who needs to complete this task?
-
Cluster administrator A cluster administrator must complete this task.
- When do you need to complete this task?
-
The IBM Metrics Operator is installed once per cluster and is shared by all instance of IBM Cloud Pak for Data on the cluster.
Repeat as needed Repeat this task for each cluster that you want to connect to IBM Software Central.
Before you begin
Before you install the operators, ensure that the following tasks are complete:
- Complete Configuring the monitoring stack in the Red Hat® OpenShift® Container Platform documentation:
- Complete Enabling monitoring for user-defined projects in the Red Hat OpenShift Container Platform documentation:
- Configure a default storage class:
- Check whether there is a default storage class configured on the
cluster:
oc get storageclass
The default storage class is indicated by
(default)
. - If no default storage class is configured, run the following command to configure a default
storage
class:
oc patch storageclass ${STG_CLASS_FILE} \ --patch='{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "true"}}}'
- Confirm that the
STG_CLASS_FILE
storage class is now the default storage class:oc get storageclass
- Check whether there is a default storage class configured on the
cluster:
About this task
The IBM License Service tracks license usage for IBM products that are deployed on a Red Hat OpenShift Container Platform cluster. The License Service tracks Virtual Processor Core (VPC) and Processor Value Unit (PVU) metrics.
When you install the IBM Metrics Operator on the cluster, the License Service uses the IBM Metrics Operator to send license usage data to IBM Software Central.
Install the IBM Metrics Operator in the ibm-software-central
project.
Procedure
To install the IBM Metrics Operator:
What to do next
Now that you've installed the IBM Metrics Operator, you're ready to complete Installing the IBM Data Reporter Operator for telemetry data collection.