Dear Xaver,
we have a similar setup and yes, we have set the node to "state=DRAIN".
Slurm keeps it this way until you manually change it to e.g. "state=RESUME".
Regards,
Hermann
On 6/24/24 13:54, Xaver Stiensmeier via slurm-users wrote:
Dear Slurm users,
in our project we exclude the master from computing before starting
Slurmctld. We used to exclude the master from computing by simply not
mentioning it in the configuration i.e. just not having:
PartitionName=SomePartition Nodes=master
or something similar. Apparently, this is not the way to do this as it
is now a fatal error
fatal: Unable to determine this slurmd's NodeName
therefore, my *question:*
What is the best practice for excluding the master node from work?
I personally primarily see the option to set the node into DOWN, DRAINED
or RESERVED. Since we use ReturnToService=2, I guess DOWN is not the way
to go. RESERVED fits with the second part "The node is in an advanced
reservation and *not generally available*." and DRAINED "The node is
unavailable for use per system administrator request." fits completely.
So is *DRAINED* the correct setting in such a case?
Best regards,
Xaver
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com