[slurm-users] SLURM: reconfig

Steven Varga steven.varga at gmail.com
Thu May 5 02:26:39 UTC 2022

I am wondering what is the best way to update node changes, such as
addition and removal of nodes to SLURM. The excerpts below suggest a full
restart, can someone confirm this? or perhaps `*scontrol reconfigure | kill
-s SIGHUP*` does it?
best wishes: steven

// src/slurmctld/read_config.c line #2819
static int _compare_hostnames(node_record_t *old_node_table, int
old_node_count, node_record_t *node_table, int node_count) {
if (old_node_count != node_count) {
error("%s: node count has changed before reconfiguration "
"from %d to %d. You have to restart slurmctld.",
__func__, old_node_count, node_count);
return -1;
if (xstrcmp(old_ranged, ranged) != 0) {
error("%s: node names changed before reconfiguration. "
"You have to restart slurmctld.", __func__);
cc = -1;
return cc;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220504/569f8494/attachment.htm>

More information about the slurm-users mailing list