Manually tracking license usage in a multicluster environment

If you want to track the license usage of your product in a multicluster environment, you can manually add the values for each cluster to create a consolidated report.

Consolidating license usage data for tracking purposes

IMPORTANT: License Service Reporter is migrated to a new catalog to support multi-instance Cloud Paks. Therefore, License Service Reporter is not available currently. However, it will be available in future releases.

For smaller environments, or if you do not have resources for deploying and configuring License Service Reporter, you can use the following manual procedure.

Complete the following actions to create a consolidated report.

  1. Get the products_daily_<reported_period>_<cluster hostname>.csv report that is a part of an audit snapshot for each cluster in your environment. For more information, see: Retrieving license metric usage and IBM License Service API schema.
  2. Add the metricQuantity value of a product from a specific date for every cluster.
  3. Record the sum for the date.
  4. Repeat the preceding steps for each date within the requested period.
  5. Find the highest cumulative value. This value is the highest license usage of the product within the reported period.

Example

License usage of IBM Cloud Pak® A on Cluster 1 as it is reported in cluster1_products-daily-2020-03-01-2020-03-05_<cluster1 hostname>.csv

Example 1. License usage of IBM Cloud Pak® A on Cluster 1
name metricQuantityDate metricQuantity metricName
IBM Cloud Pak A 3/1/2020 5 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/2/2020 30 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/3/2020 30 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/4/2020 29 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/5/2020 29 VIRTUAL_PROCESSOR_CORE

License usage of IBM Cloud Pak® A on Cluster 2 as it is reported in cluster2_products-daily-2020-03-01-2020-03-05_<cluster2 hostname>.csv

Example 2. License usage of IBM Cloud Pak® A on Cluster 2
name metricQuantityDate metricQuantity metricName
IBM Cloud Pak A 3/1/2020 5 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/2/2020 10 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/3/2020 10 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/4/2020 9 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/5/2020 9 VIRTUAL_PROCESSOR_CORE

Highest license usage in the environment where IBM Cloud Pak A is deployed on Cluster 1 and Cluster 2.

Example 3. To prepare a table to find the highest license usage in the environment where IBM Cloud Pak A is deployed on Cluster 1 and Cluster 2
name metricQuantityDate metricQuantity on Cluster 1 Metric Quantity on Cluster 2 Total license usage MetricName
IBM Cloud Pak A 3/1/2020 5 5 10 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/2/2020 30 1040 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/3/2020 30 10 40 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/4/2020 29 9 38 VIRTUAL_PROCESSOR_CORE
IBM Cloud Pak A 3/5/2020 29 9 38 VIRTUAL_PROCESSOR_CORE