Architecture
Exercises¶
- 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
slurm-training-val (Slurm 25.11.4, ParallelCluster 3.15.0).
- 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)'
slurm-training-val (Slurm 25.11.4, ParallelCluster 3.15.0).