3.0 Managing nodes > 3.2 Node properties

Node properties

TORQUE can associate properties with nodes to aid in identifying groups of nodes. It's typical for a site to conglomerate a heterogeneous set of resources. To identify the different sets, properties can be given to each node in a set. For example, a group of nodes that has a higher speed network connection could have the property "ib". TORQUE can set, update, or remove properties either dynamically with qmgr or by manually editing the nodes file.

Run-time node changes

TORQUE can dynamically change the properties of a node with the qmgr command. For example, note the following to give node001 the properties of "bigmem" and "dualcore":

> qmgr -c "set node node001 properties = bigmem"

> qmgr -c "set node node001 properties += dualcore"

To relinquish a stated property, use the "-=" operator.

Manual node changes

The properties of each node are enumerated in TORQUE_HOME/server_priv/nodes. The feature(s) must be in a space delimited list after the node name. For example, to give node001 the properties of "bigmem" and "dualcore" and node002 the properties of "bigmem" and "matlab," edit the nodes file to contain the following:

server_priv/nodes:

node001 bigmem dualcore

node002 np=4 bigmem matlab

For changes to the nodes file to be activated, pbs_server must be restarted.

For a full description of this file, please see the PBS Administrator Guide.

Related topics 

© 2014 Adaptive Computing