[slurm-users] Questions about sacctmgr load command

Loris Bennett loris.bennett at fu-berlin.de
Tue Jan 12 07:13:33 UTC 2021


Hi Jacob,

Jacob Chappell <jacob.chappell at uky.edu> writes:

> We have a decent number of associations in our Slurm database (several thousand), and sometimes the sacctmgr command is a bit finicky. We've found it to claim it added an association before but actually didn't when the load was high
> enough. We have API scripts that rely on associations being added correctly.
>
> Recently, I was looking into sacctmgr save/load, and it seems to be a much more efficient way of rebuilding the hierarchy of associations. My question is, can it also be used for amendments to the associations? For example, if I add a new
> account and a few new users to the existing cfg file (several thousand lines long) and load it again, will it skip existing entries or will it cause problems?

You can dump the database, edit the dump, and then load the edited file.
On loading, sacctmgr will then identify differences between the current
database and the modified dump and ask you to confirm that you really
want to make those changes.

We use this to set up accounts, which for us correspond to individual
research groups.  We set up the actual associations via the job submit
plugin.

Cheers,

Loris

> Any other details anyone can provide about the sacctmgr load command would be much appreciated.
>
> Thanks everyone for your time,
> __________________________________________________
> Jacob D. Chappell, CSM
> Research Computing | Research Computing Infrastructure
> Information Technology Services | University of Kentucky
> jacob.chappell at uky.edu
-- 
Dr. Loris Bennett (Hr./Mr.)
Scientific Computing Unit, ZEDAT
Freie Universität Berlin                              loris.bennett at fu-berlin.de
Fabeckstr. 32, Room 102                                    Tel ++49 30 838 51024
D-14195 Berlin, Germany                                    Fax ++49 30 838 56721



More information about the slurm-users mailing list