Hi William,

Le 09/06/2016 à 18:19, Schulz, William a écrit :
We’re interested in scripting/automating some aspects of Slurm user
account provisioning and maintenance. Are there any examples or
tutorials available on leveraging the API, or using Python for such tasks?

I'm not sure what you're expecting here but FWIW we have this python script to sync slurmdbd users/accounts with one POSIX group (typically with LDAP backend through NSS):

https://github.com/edf-hpc/slurm-llnl-misc-plugins/blob/master/sync-accounts/slurm-sync-accounts

It's rather straight so you may tune easily it to fit your needs.

Best,
Rémi

Reply via email to