It is a not a good configuration to hardcode node to the queue ( qmgr -c “set node queue=” ) , instead use Qlists.
-
qmgr -c "create resource nodetype type=string_array,flag=h"
-
add “nodetype” to the sched_config’s resources: “…,nodetype” line and kill -HUP
-
qmgr -c “s q normal default_chunk.nodetype=normal”
qmgr -c “s q large default_chunk.nodetype=large”
qmgr -c “s q xlarge default_chunk.nodetype=xlarge”
qmgr -c “s q xxlarge default_chunk.nodetype=xxlarge” -
for i in normal_node_types ; do qmgr -c “set node $i resources_available.nodetype=normal”
for i in large_node_types ; do qmgr -c “set node $i resources_available.nodetype=large”
for i in xlarge_node_types ; do qmgr -c “set node $i resources_available.nodetype=xlarge”
for i in xxlarge_node_types ; do qmgr -c “set node $i resources_available.nodetype=xxlarge” -
Now submit jobs respective queues, they will land on to respective nodes
Please check this section 4.9.2.2.i Procedure to Associate Vnodes with Multiple Queues from
Thank you