Slurm User Management
On your cluster, you are able to use Slurm Accounting to create Slurm accounts that group users together to restrict access to specific compute partitions and enforce resource budgets (QOS) within the cluster. The cluster-services CLI provides an easy-to-use interface to quickly create slurm accounts, align users with these slurm accounts, and control which partitions users can submit jobs to. For controlling QOS settings, you are encouraged to familiarize yourself with Slurm resource limits.
Use Cluster-Services to configure basic accounting
To run cluster-services, you need to be a root user on your cluster
When updating slurm_accounts with cluster-services, you can use your controller or login node.
Log in to your cluster's login node (or controller)
Create a cluster-config file that defines your current cluster configuration settings.
Add a sample slurm_accounts block to the end of the cluster-config.
Edit the cluster-config file, specifying the name of the slurm account, the partitions that users will be allowed to submit to, and the list of users. You will need to remove the existing slurm_accounts: definition if this is the first time defining your slurm accounts. When you're finished editing, your slurm_accounts block should look similar to the example below
Preview the changes with cluster-services
Apply the changes