How to enable job profiling with InfluxDB

Charmed HPC can integrate with the InfluxDB Charm to enable job profiling in Slurm.

This guide explains how to enable job profiling by deploying and integrating influxdb with charmed-hpc.

Prerequisites

Deploy and Integrate InfluxDB

InfluxDB can be deployed using Juju in a single command:

$ juju deploy influxdb

Now integrate the newly deployed influxdb charm with slurmctld:

$ juju integrate influxdb slurmctld

Once the InfluxDB charm deployment and integration are complete, Slurm is configured to send job profiling metrics to influxdb, enabling the use of the sstat command.