[slurm-users] Create users
Andy Georges
Andy.Georges at UGent.be
Fri Oct 5 03:13:18 MDT 2018
Hi,
> On 3 Oct 2018, at 16:51, Andy Georges <andy.georges at ugent.be> wrote:
>
> Hi all,
>
>> On 15 Sep 2018, at 14:47, Chris Samuel <chris at csamuel.org> wrote:
>>
>> On Thursday, 13 September 2018 3:10:19 AM AEST Paul Edmon wrote:
>>
>>> Another way would be to make all your Linux users and then map that in to
>>> Slurm using sacctmgr.
>>
>> At ${JOB} and ${JOB-1} we've wired user creation in Slurm into our online user
>> management systems (both Django based & independently created), so when people
>> are added/modified/deleted then it runs sacctmgr to keep everything in step.
>
> We basically have something similar, which boils down to a few set comparisons, then creating and executing the right actions for each set.
>
> For code, see https://github.com/hpcugent/vsc-administration/blob/master/bin/sync_slurm_acct.py and https://github.com/hpcugent/vsc-administration/blob/master/lib/vsc/administration/slurm/sync.py
I was pointed out this repo was still private, it is public now. Sorry for the inconvenience of sending you to a 404 page.
Kind regards,
— Andy
More information about the slurm-users
mailing list