[gridengine users] Make All Usersets Their Own Department

William Hay w.hay at ucl.ac.uk
Thu Jul 12 07:58:22 UTC 2018


On Wed, Jul 11, 2018 at 09:21:10AM -0400, Douglas Duckworth wrote:
>    Hi
>    We are running GE 6.2u5 and moving to Slurm.  Though before we do some
>    changes need to be made within GE.
>    For example we have 66 user sets within our share tree.  However none of
>    them were configured as a department.  
>    Using qmon I see an option to make the user set a department.  Though
>    using the GUI does not seem very fun.  
> 
>    Any way to script this change out using qconf?
>    Thanks,
>    Douglas Duckworth, MSc, LFCS
>    HPC System Administrator
>    Scientific Computing Unit
>    Physiology and Biophysics
>    Weill Cornell Medicine
>    E: doug at med.cornell.edu
>    O: 212-746-6305
>    F: 212-746-8690


qconf -sul |xargs qconf -mattr userset type ACL,DEPT

Assuming you want all your usersets to work as both ACLs and departments
otherwise replace qconf -sul with something that lists the sets you want
to change and replace ACL,DEPT with just DEPT (or whatever you want).

William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://gridengine.org/pipermail/users/attachments/20180712/022a0fba/attachment.sig>


More information about the users mailing list