Activating IBM Concert Software License Metrics (OCP without CPFS)

IBM® Concert is licensed under RESOURCE_UNIT (RU) license metrics.

You need to deploy IBM Licensing service on your cluster and then activate the licensing service on Concert. The Concert licensing service runs two cronjobs. These jobs ensures that the license usage is calculated and updated on to the licensing Service.

Prerequisite

Enable licensing

Run the following command to enable licensing. It will create a secret and config map that has licensing service access URL, token, and certificate. This is used by Concert license metering jobs to upload the results on the licensing service.
./activate-license-cron.sh <concert namespace>

Verification

  • Verify the logs for the concert-metering-cronjob. Use the following command to check the details of next scheduled time to run the cron job:
    kubectl get cronjob concert-metering-aggregate-cronjob --template
    '{{.status.lastScheduleTime}}' -n <concert namespace>
    Note: The cron job runs in every 24 hr.
  • The result gives the detail for the run time that cron job will execute.

    Example:

    If it says 2024-12-10T19:00:00Z, then the next run time would be 2024-13-10T19:00:00Z . You should check the logs of the cron job just after 2024-13-10T19:00:00Z. Run the following query to get the logs
    kubectl get pods --selector=job-name=concert-metering-cronjob -n <concert namespace>
  • After you get the pod name, run the following command to get the list of successful logs:
    kubectl logs <pod name> -n <concertnamespace>