[slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart

Hanby, Mike mhanby at uab.edu
Thu Jun 2 20:55:46 UTC 2022


Ah, thank you. I was assuming it would use the same name as in scontrol

Per ‘man slurm.conf’ :

Feature:
A  comma  delimited  list of arbitrary strings indicative of some characteristic associated with the node.  There is no value associated with a feature at this time, a node either has a feature or it does not.  If desired a feature may contain a numeric component indicating, for example, processor speed.  By default a node has no features.  Also see Gres.

‘man scontrol’

AvailableFeatures=<features>:
Identify the feature(s) available on the specified node.  Any previously defined available feature specification will be overwritten with the new value.  AvailableFeatures assigned via scontrol will only persist across  the restart  of  the slurmctld daemon with the -R option and state files preserved or slurmctld's receipt of a SIGHUP.  Update slurm.conf with any changes meant to be persistent across normal restarts of slurmctld or the execution of scontrol reconfig.

Thanks!

From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Sarlo, Jeffrey S <JSarlo at Central.UH.EDU>
Date: Thursday, June 2, 2022 at 3:12 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart
In slurm.conf, we just add the Features to the node description.  Is that what you were looking for?

NodeName=compute-4-4 … Weight=15 Feature=gen10

Jeff
UH IT - HPC

From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Hanby, Mike
Sent: Thursday, June 2, 2022 2:06 PM
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] How to Make AvailableFeatures Persist after Slurmctld Restart

Howdy,

I can’t seem to find a solution in ‘man slurm.conf’ for this. How can I make the following persist a slurmctld restart:

scontrol update NodeName="c001" AvailableFeatures=hi_mem,data,scratch

NodeName=c001 Arch=x86_64 CoresPerSocket=12
   CPUAlloc=2 CPUTot=48 CPULoad=6.08
   AvailableFeatures=hi_mem,data,scratch
   ActiveFeatures=hi_mem,data,scratch

Thanks for any insight,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220602/ee914331/attachment-0001.htm>


More information about the slurm-users mailing list