Hello,
Could someone please give me some advice on setting up the fairshare in a cluster. I don't think the present setup is wildly incorrect, however either my understanding of the setup is wrong or something is reconfigured.
When we set a new user up on the cluster and they haven't used any resources am I correct in thinking that their fairshare (as reported by sshare -a) should be 1.0? Looking at a new user, I see...
This is a very simple setup. We have a number of groups (all under root)...
soton -- general public
hydrology - specific groups that have purchased their own nodes.
relgroup
worldpop
What I do for each of these groups, when a new user is added, is increment the number of shares per the relevant group using, for example...
sacctmgr modify account
soton set fairshare=X
Where X is the number of users in the group
(soton in this case).
The sshare -a command would give me a global overview...
Does that all make sense or am I missing something? I am, by the way, using the line
PriorityFlags=ACCRUE_ALWAYS,FAIR_TREE in my slurm.conf.
Best regards,
David
Hi Loris,
Thank you for your reply. I had started to read about 'Fairshare=parent' and wondered if that was the way to go. So that all makes sense. I set 'fairshare=parent' at the account levels and that does the job very well. Things are looking much better and now new (and eternally idle) users receive a fairshare of 1 as expected. It certainly makes the scripts/admin a great deal less cumbersome.
Best regards,
David