Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-21 Thread Ole Holm Nielsen
Hi Ulf, On 12/20/18 11:45 PM, Ulf wrote: Hello, we think about switch to SLURM. Currently we grant access to the cluster using a active directory group, everyone in this group is allowed to run jobs. So the users are not known to the SLURM accounting database. Is it possible to automatically

Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-21 Thread Ulf
Hello all,   thank you very much for your answers. So there is no out of the box solution, I thought I missed something. From the answers I get the impression that some of you are facing similar challenges. So in case we want to start using slurm we have to either change our process or build a

Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-20 Thread Loris Bennett
- > Sam Hawarden > Assistant Research Fellow > Pathology Department > Dunedin School of Medicine > sam.hawarden(at)otago.ac.nz > DDI: +64 (0)3 470 3455 > Mb: +64 (0)21 898 895 > Rm 228 Hercus Building > --------------------------- > From: slurm-users

Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-20 Thread William Brown
Subject: Re: [slurm-users] Accounting: Default Associations for Unknown Accounts Hi there, I use the following cron job that runs every night to add new users: #!/bin/bash function usersInGrp { echo -n $(getent group "$*" | cut -d':' -f 4- | awk -F',

Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-20 Thread Sam Hawarden
School of Medicine sam.hawarden(at)otago.ac.nz DDI: +64 (0)3 470 3455 Mb: +64 (0)21 898 895 Rm 228 Hercus Building From: slurm-users on behalf of Fulcomer, Samuel Sent: Friday, 21 December 2018 12:02 To: Slurm User Community List Subject: Re: [slurm-users] Accounting:

Re: [slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-20 Thread Fulcomer, Samuel
Yes, in a way. In thinking about this for Brown (we haven't implemented it, yet), we've the idea of having a Linux cron job periodically query the group membership of the AD group granted access to the HPC resource, and adding any new users to the SLURM accounting database. We're at the point of u

[slurm-users] Accounting: Default Associations for Unknown Accounts

2018-12-20 Thread Ulf
Hello,   we think about switch to SLURM. Currently we grant access to the cluster using a active directory group, everyone in this group is allowed to run jobs. So the users are not known to the SLURM accounting database. Is it possible to automatically add every new user to an default account