[slurm-users] Questions about sacctmgr load command
Luke Yeager
lyeager at nvidia.com
Mon Jan 11 17:11:55 UTC 2021
I looked into sacctmgr save/load and remember being very disappointed (unfortunately I can’t remember the details off the top of my head).
Ole Nielsen’s open-source tool might be a good thing to take a look at:
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/slurmaccounts
At our site, we developed our own wrapper around sacctmgr to meet our needs, too.
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Jacob Chappell
Sent: Monday, January 11, 2021 8:50 AM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: [slurm-users] Questions about sacctmgr load command
External email: Use caution opening links or attachments
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?
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<mailto:jacob.chappell at uky.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210111/9e1cfc81/attachment.htm>
More information about the slurm-users
mailing list