[slurm-users] Running slurmd without enabling jobs on a node

273 views
Skip to first unread message

Steve Brasier

unread,
Jan 6, 2021, 11:46:51 AM1/6/21
to slurm...@schedmd.com
Hi all,

For a cluster in configless mode there appear to be two ways of having a login-only node (i.e. not running slurmctld) - either 1) setting DNS records or 2) "... consider running slurmd on the machine so it can manage the configuration files, but not allowing it to run jobs." [A]

What's the best way of achieving option 2)? Ideally I don't want the login node(s) which are running slurmd even showing up in e.g sinfo.



many thanks for any suggestions

Please note I work Tuesday to Friday.

mercan

unread,
Jan 7, 2021, 1:07:06 AM1/7/21
to Slurm User Community List, Steve Brasier, slurm...@schedmd.com
Hi;

I don't know the best way, but if you did not put a loginnode's name
into a partition, the sinfo will not show this node and any job will not
run on this node, just because of a node have a running slurmd.

Ahmet M.


6.01.2021 19:45 tarihinde Steve Brasier yazdı:
> http://stackhpc.com/ <http://stackhpc.com/>

Angelos Ching

unread,
Jan 7, 2021, 1:25:17 AM1/7/21
to Slurm User Community List, slurm...@schedmd.com
Hi Steve,

I put my login node into a hidden & inactive partition.

Regards,
Angelos
(Sent from mobile, please pardon me for typos and cursoriness.)

7/1/2021 0:49、Steve Brasier <ste...@stackhpc.com>のメール:



Steve Brasier

unread,
Jan 7, 2021, 10:04:43 AM1/7/21
to slurm...@schedmd.com
Thanks all, turns out those nodes do need to be defined in the config using NodeName, but then as Ahmet M says just don't include them in a partition.

Steve

Please note I work Tuesday to Friday.

Reply all
Reply to author
Forward
0 new messages