Skip to content

Architecture

Exercises

  1. Identify running Slurm daemons

Log into your cluster's head node and compute node. Use systemctl or ps to identify which Slurm daemons are running on each. Determine which node runs slurmctld, which runs slurmd, and where slurmdbd is running (if applicable).

Hint / Solution
# On the head node — check for the controller and database daemons
systemctl status slurmctld
systemctl status slurmdbd

# On a compute node — check for the node daemon
systemctl status slurmd

# Alternative: use ps to find all Slurm processes on any node
ps aux | grep -E 'slurm(ctld|dbd|d|restd)' | grep -v grep
Expected output: Validated 2026-04-15 on slurm-training-val (Slurm 25.11.4, ParallelCluster 3.15.0).
$ systemctl is-active slurmctld slurmdbd
active
active

$ ps -eo comm,pid | grep -E 'slurm(ctld|dbd|d|restd)' | head -10
slurmdbd         180649
slurmctld        180673
  1. Check daemon status and version

Verify the Slurm version running on the cluster using two different methods. Then use scontrol to confirm the controller is responding and display key configuration parameters.

Hint / Solution
# Method 1: Direct daemon version query
slurmctld -V
slurmd -V

# Method 2: From the running configuration
scontrol show config | grep SlurmVersion

# Verify the controller is responding
scontrol ping

# Show key configuration parameters
scontrol show config | grep -E '(ClusterName|SlurmctldHost|AccountingStorageType)'
Expected output: Validated 2026-04-15 on slurm-training-val (Slurm 25.11.4, ParallelCluster 3.15.0).
$ slurmctld -V
slurm 25.11.4

$ scontrol show config | grep SLURM_VERSION
SLURM_VERSION           = 25.11.4

$ scontrol ping
Slurmctld(primary) at ip-172-31-94-160 is UP

References