slurmctld

slurmctld

Channel Revision Published Runs on
latest/stable 21 14 Jan 2022
Ubuntu 20.04 CentOS 7
latest/candidate 47 17 Oct 2022
Ubuntu 20.04 CentOS 7
latest/edge 134 26 Feb 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 CentOS 7
latest/edge 79 27 Nov 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 CentOS 7
latest/edge 59 02 Oct 2023
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 CentOS 7
latest/edge 58 24 Aug 2023
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 CentOS 7
25.11/edge 132 11 Feb 2026
Ubuntu 24.04
23.11/stable 121 10 Oct 2025
Ubuntu 24.04
23.11/candidate 121 10 Oct 2025
Ubuntu 24.04
23.11/edge 121 10 Oct 2025
Ubuntu 24.04
juju deploy slurmctld --channel 25.11/edge
Show information

Platform:

Ubuntu
24.04 22.04 20.04
CentOS
7

Learn about actions >

  • set-node-state

    Set the state of the provided nodes so that new jobs can be scheduled..

    Examples:

    Set the state of nodes 0 to 19 to idle:

    $ juju run slurmctld/leader set-node-state nodes='node-[0-19]' state=idle
    

    Drain nodes 20 to 24 to prevent new jobs from being scheduled while performing routine maintenance:

    $ juju run slurmctld/leader set-node-state nodes='node[20-24]' state=drain reason="Maintenance"
    

    Params
    • nodes string

      Node(s) to update the state of, using the Slurm node name format. For example, 'node-[1,2]'.

    • reason string

      The reason for the node(s) to be in state "down", "drain", "fail", or "failing".

      This parameter is not required if setting the node(s) state to "idle"

    • state string

      State to set for the node(s).

    Required

    nodes, state

  • show-current-config

    Display the currently used slurm.conf.

    Example usage:

    juju run slurmctld/leader show-current-config \
        --quiet --format=json  | jq .[].results.slurm.conf | xargs -I % -0 python3 -c 'print(%)'