Pack: slurm

Slurm partitions, nodes, reservations and job summaries from an exported snapshot, with live squeue and sinfo tools and gated drain, resume and requeue actions.

Field Value
Kind context
Version 0.1.0
Needs a credential to publish no
Okg modules it needs document_starter, person, extraction
Packs it needs none

In which bundles

Add it to an instance with archi add slurm.

Sources

  • slurm.slurm

Questions

archi init asks these. Answer one with --answer slurm_<id>=VALUE.

Id Type Required Default Prompt
cluster_name string no cluster Cluster name

Credentials

The manifest names no credential variable.

Freshness limits

archi doctor compares each source's age with its limit.

Source Longest acceptable age
slurm.slurm 12h
Name From Edge To Direction Minimum share Severity
node_partition slurm_node contains slurm_partition in 0.9 warn

Invariants

The pack owns these checks. They leave with it.

Name Severity What it checks
slurm_coverage error The Slurm source must have live nodes and partitions. Required live subtypes: slurm_node, slurm_partition. A missing one means the input was empty or the connector regressed.

Playbooks

The pack ships no playbook.

Live tools

  • archi.tools.slurm:archi_slurm_squeue (idempotent)
  • archi.tools.slurm:archi_slurm_sinfo (idempotent)
  • archi.tools.slurm:drain_node (idempotent)
  • archi.tools.slurm:resume_node (idempotent)
  • archi.tools.slurm:requeue_job (idempotent)