I’m assuming you have LDAP and Slurm already working on all your nodes, and 
want to restrict access to two of the nodes based off of Unix group membership, 
while letting all users access the rest of the nodes.

If that’s the case, you should be able to put the two towers into a separate 
partition, and use the AllowGroups setting in the partition definition to 
restrict access to that partition.

From https://slurm.schedmd.com/slurm.conf.html:

=====

AllowGroups

Comma separated list of group names which may execute jobs in the partition. If 
at least one group associated with the user attempting to execute the job is in 
AllowGroups, he will be permitted to use this partition...

=====

> On Feb 11, 2019, at 2:15 AM, Jean-Sébastien Lerat <belegkar...@gmail.com> 
> wrote:
> 
> Dear,
> 
> Can someone help me to configure several machines under Slurm with different 
> rights per user group?
> Or can someone redirect me to a tuoriel that explains these different points?
> 
> Regards,
> 
> Jean-Sébastien
> 
> Le lun. 28 janv. 2019 à 17:52, Jean-Sébastien Lerat <belegkar...@gmail.com> a 
> écrit :
> Hi,
> 
> I have two towers (computers), few Odroid XU4 (rapsberry like) and an 
> additional computer which will be the controller.
> I am planning to use spack (https://spack.io/) on a NFS share from the 
> controller such that all other computers (odroid included) can use theses 
> modules.
> I wish that users can be authenticated through an LDAP server getting some 
> properties (for instance their group name).
> Based on the group name, I want to authorize (or not) the two towers.
> My question is : how can I configure slurm to achieve this goal ? Because I 
> read the online documentation but it is not clear enough to me.
> 
> Thanks !

Reply via email to