A new feature was added to slurm 14.11.0pre5 that saves your running config to 
a file in the form of “slurm.conf.<datetime>”. The new command that provides 
this is “scontrol write config”.  It reads your internal configuration settings 
including all defaults and writes them to the output file.  The output file is 
written to the same directory as your slurm.conf. You can then rename the saved 
config file to slurm.conf if you are satisfied with it.

#> scontrol write config
Slurm config saved to /app/slurm/dhp/install/etc/slurm.conf.2014-10-20T10:21:18


From: Blosch, Edwin L [mailto:[email protected]]
Sent: Thursday, October 16, 2014 8:09 AM
To: slurm-dev
Subject: [slurm-dev] question on changing Partition priority

I have a partition ‘test’ defined in slurm.conf with Priority=4.

If I use scontrol update PartitionName=test Priority=5,    I can see that it 
changes the priority as shown with ‘scontrol show partition’.   That’s good.

But it does not alter the Priority=4 value in slurm.conf.   If I would restart 
slurm, is it safe to assume that the value would go back to 4?   Or is there 
some cleverness hidden in the saved state of the daemons that would still keep 
Priority=5 in effect after restart?  Or perhaps the slurm.conf file gets 
amended, when the daemon shuts down normally?

Thanks for insights as to how this works…

Ed





Reply via email to