Specify a node range

Hi there,

apologies if this is a silly question but I cannot find it on the RG or here. There’s a way to specify a node range in qmgr; or, more generally, an object range. E. g. say I have a hundred nodes and I want to add a queue_list resource to nodes 1-50, it is possible to do something like:

active node node[01-50]
set node resource_available.queue_list += blue

for i in {list of nodes};do qmgr -c “set node $i resources_available.queue_list += blue”; done

Yes, that does the job (I actually did it in playbook but it’s the same) :). It just seemed a little odd.
Thank you Adarsh

1 Like