Thanks, Rémi. I will have a look! -----Original Message----- From: Rémi Palancher [mailto:[email protected]] Sent: Friday, June 10, 2016 4:51 AM To: slurm-dev Subject: [slurm-dev] Re: Scripting Account Provisioning
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://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fedf-hpc%2fslurm-llnl-misc-plugins%2fblob%2fmaster%2fsync-accounts%2fslurm-sync-accounts&data=01%7c01%7cwschulz%40email.unc.edu%7c401409cdd9da4e25582d08d3910c4bee%7c58b3d54f16c942d3af081fcabd095666%7c1&sdata=in2Qj%2fMuyvMG1xniKFGwKdGKVxGuE6NvSCN9ZYG2yIw%3d It's rather straight so you may tune easily it to fit your needs. Best, Rémi
