Issue: How can I specify a default account for each partition with a fairshare tree?
Solution:
Moab supports a deatiled credential configuration for each partition it knows about. Admins can define default accounts when using "PERPARTITIONSCHEDULING TRUE" and a fairshare tree.
Example:
FSTREE[fstree] |
<fstree> |
<tnode partition="trq1" name="root" type="acct" share="1" |
qlist="normal,standby"> |
<tnode name="temp" type="acct" share="1" |
qlist="normal,standby"> |
<tnode name="jbooth" type="user" share="1" |
qlist="normal,special,standby,test,exempt,expedite,super"> |
</tnode> |
</tnode> |
<tnode name="pdesr" type="acct" share="50000" |
qlist="normal,standby"> |
<tnode name="jbooth" type="user" share="1" |
qlist="normal,special,standby,test,exempt,expedite,super"> |
</tnode> |
</tnode> |
<tnode name="root" type="user" share="1" |
qlist="normal,standby"></tnode> |
</tnode> |
<tnode partition="pv-trupper-dt" name="pv-trupper-dt" type="acct" |
share="1" qlist="normal,standby"> |
<tnode name="acct1" type="acct" share="1" |
qlist="batch,standby"> |
<tnode name="trupper" type="user" adef="acct2" share="1" |
qlist="batch,special,standby,test,exempt,expedite,super"> |
</tnode> |
</tnode> |
</tnode> |
</fstree> |
Using the example above, partition is a typical tree that has the acct set on the partition, which is "trq1"
In partition "trq2, as defined at the bottom, we have two critical lines as follows:
<tnode partition="pv-trupper-dt" name="pv-trupper-dt" type="acct" share="1" qlist="normal,standby">
In this case, pv-trupper-dt would be the default acct for everybody
The second critcal line is as follows:
<tnode name="trupper" type="user" adef="acct2" share="1"
qlist="batch,special,standby,test,exempt,expedite,super">
</tnode>
In this case, user "trupper" will get the default account "acct2". WHEREAS, all other users would get the default account specified in the first line. Only trupper would get this default account.
Tags: adef, fairshare tree, PERPARTITIONSCHEDULING