-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable job profiling with influxdb #38
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,8 @@ Terraform | |
terraform | ||
Traefik | ||
traefik | ||
InfluxDB | ||
influxdb | ||
|
||
# CLI commands | ||
hostname | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,24 @@ | ||||||
(howto-enable-job-profiling-with-influxdb)= | ||||||
# How to enable job profiling with InfluxDB | ||||||
|
||||||
Charmed-HPC integrates with the [InfluxDB Charm](https://charmhub.io/influxdb) to enable job profiling in slurm. | ||||||
|
||||||
This how-to guide explains how enable job profiling by deploying and integrating `influxdb` with charmed-hpc. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## Prerequisites | ||||||
|
||||||
- A [deployed Slurm cluster](#howto-setup-deploy-slurm). | ||||||
|
||||||
## Deploy and Integrate InfluxDB | ||||||
|
||||||
InfluxDB can be deployed using Juju in a single command. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
:::{code-block} shell | ||||||
$ juju deploy influxdb | ||||||
::: | ||||||
|
||||||
Now [integrate](https://canonical-juju.readthedocs-hosted.com/en/latest/user/reference/juju-cli/list-of-juju-cli-commands/integrate/) the newly deployed influxdb charm with slurmctld. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
:::{code-block} shell | ||||||
$ juju integrate influxdb slurmctld | ||||||
::: | ||||||
|
||||||
Once the InfluxDB charm deployment and integration are complete slurm will be configured to send job profiling metrics to influxdb, enabling the use of the [`sstat`](https://slurm.schedmd.com/sstat.html) command. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,7 +4,7 @@ See the how-to guides in this section for the steps to set up and deploy various | |||||
|
||||||
- {ref}`howto-setup-deploy-slurm` | ||||||
- {ref}`howto-setup-deploy-shared-filesystem` | ||||||
|
||||||
- {ref}`howto-enable-job-profiling-with-influxdb` | ||||||
|
||||||
|
||||||
|
||||||
|
@@ -15,5 +15,6 @@ See the how-to guides in this section for the steps to set up and deploy various | |||||
|
||||||
Deploy Slurm <deploy-slurm> | ||||||
Deploy a shared filesystem <deploy-shared-filesystem> | ||||||
Enable job profiling with InfluxDB <enable-job-profiling-with-influxdb> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a bit too wordy for the sidebar |
||||||
|
||||||
::: | ||||||
::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.