Re: [slurm-users] Adding Users to Slurm's Database

2020-09-01 Thread Diego Zuccato
Il 19/08/20 08:17, Loris Bennett ha scritto: > I'd be interested in the removal part. This seems to me to be the > trickiest bit, not so much technically, but from a policy point of view. We use Active Directory, so I created a script that iterates all the cluster-related AD groups and generates

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-19 Thread Christoph Brüning
Hi, On 18/08/2020 17.56, Tina Friedrich wrote: Script. Not doing manual anything if it can at all be avoided, way to error prone. We have a cron job that does all of that. Checks if there are users or groups in LDAP that aren't in SLURM yet, and adds them - that's adding accounts, adding use

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Loris Bennett
Hi Tina, Tina Friedrich writes: > Script. Not doing manual anything if it can at all be avoided, way to error > prone. > > We have a cron job that does all of that. Checks if there are users or groups > in > LDAP that aren't in SLURM yet, and adds them - that's adding accounts, adding > users,

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Ole Holm Nielsen
On 18-08-2020 17:36, Jason Simms wrote: Hello everyone! We have a script that queries our LDAP server for any users that have an entitlement to use the cluster, and if they don't already have an account on the cluster, one is created for them. In addition, they need to be added to the Slurm dat

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Tina Friedrich
Script. Not doing manual anything if it can at all be avoided, way to error prone. We have a cron job that does all of that. Checks if there are users or groups in LDAP that aren't in SLURM yet, and adds them - that's adding accounts, adding users, I think it also removed users/accounts i

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Renfro, Michael
elays due to the non-sacctmgr tasks, but it's on the order of seconds per user rather than minutes. From: slurm-users on behalf of Jason Simms Sent: Tuesday, August 18, 2020 10:36 AM To: Slurm User Community List Subject: [slurm-users] Adding Users

Re: [slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Paul Edmon
We manage this via our job_submit.lua script.  At submission time the script looks to see if they already have an account or not and if they don't it adds them.  To lower impact on the database we have it cache the lookups. I think the real concern is continually beating on the database. So yo

[slurm-users] Adding Users to Slurm's Database

2020-08-18 Thread Jason Simms
Hello everyone! We have a script that queries our LDAP server for any users that have an entitlement to use the cluster, and if they don't already have an account on the cluster, one is created for them. In addition, they need to be added to the Slurm database (in order to track usage, FairShare, e