[torqueusers] prioritize a set of users for using a set of nodes.
Go Yoshimura
go-yoshimura at sstc.co.jp
Fri Aug 31 06:50:16 MDT 2012
Hello,
My name is Go Yoshimura.
I am using to torque4.1.0/maui3.3.1.
- My question is about prioritizing a set of users for using a certain nodes
- Granted that
(1)There are node groups "node group A" and "node group B"
nodeA1,nodeA2,nodeA3 ....
nodeB1,nodeB2,nodeB3 ....
(2)There are user groups "user group A" and "user group B"
userA1,userA2,userA3 ....
userB1,userB2,userB3 ....
- What we want to do are
(1)"user group A" use "node group A"
(2)"user group B" use "node group B"
(3)"user group A" can use "node group B" if "node group B" has no idle job of "node group B".
(4)"user group B" can use "node group A" if "node group A" has no idle job of "node group A"
- I have succeeded in doing (1)/(2) with using parttions
http://www.adaptivecomputing.com/resources/docs/maui/7.2partitions.php
NODECFG[nodeA1] PARTITION=groupA
NODECFG[nodeA2] PARTITION=groupA
..
NODECFG[nodeB1] PARTITION=groupB
NODECFG[nodeB2] PARTITION=groupB
..
USERCFG[userA1] PLIST=groupA
USERCFG[userA2] PLIST=groupA
..
USERCFG[userB1] PLIST=groupB
USERCFG[userB2] PLIST=groupB
..
SYSCFG[base] PLIST=
- But
(3)/(4) are difficult.
- I succeeded in doing (1a)/(2a)/(3a)/(4a)
(1a)"user group A" mainly use "node group A"
(2a)"user group B" mainly use "node group B"
(3a)"user group A" can use "node group B" if "user group A" needs more nodes.
(4a)"user group B" can use "node group A" if "user group B" needs more nodes.
USERCFG[userA1] PLIST=groupA:groupB PDEF=groupA
USERCFG[userA2] PLIST=groupA:groupB PDEF=groupA
..
USERCFG[userB1] PLIST=groupB:groupA PDEF=groupB
USERCFG[userB2] PLIST=groupB:groupA PDEF=groupB
..
With (1a)/(2a)/(3a)/(4a), it is possible
all Nodes are used by "user group A" and jobs of "user group B" are idle.
- How can we prioritize a set of users for using a certain nodes?
if((node==node group A) && (user==user group A)) Priority +=100 ;
if((node==node group B) && (user==user group B)) Priority +=100 ;
thank you
go
----
----
Go Yoshimura <go-yoshimura at sstc.co.jp>
Scalable Systems Co., Ltd. <http://www.sstc.co.jp/>
Osaka Office HONMACHI-COLLABO Bldg. 4F, 4-4-2 Kita-kyuhoji-machi, Chuo-ku, Osaka 541-0057 Japan
Tel: 81-6-6224-4115
Tokyo Kojimachi Office BUREX Kojimachi 11F, 3-5-2 Kojimachi, Chiyoda-ku, Tokyo 102-0083 Japan
Tel: 81-3-5875-4718 Fax: 81-3-3237-7612
More information about the torqueusers
mailing list