(Click to open topic with navigation)
TORQUE can add and remove nodes either dynamically with qmgr or by manually editing the TORQUE_HOME/server_priv/nodes file (see Initializing/Configuring TORQUE on the server (pbs_server)).
Run-time node changes
TORQUE can dynamically add nodes with the qmgr command. For example, the following command will add node node003:
> qmgr -c "create node node003"
The above command appends the $TORQUE_HOME/server_priv/nodes file with:
node003
Nodes can also be removed with a similar command:
> qmgr -c "delete node node003"
Typically, an administrator will want to change the state of a node instead of remove it (for details, see Changing node state).
When you make changes to nodes – whether by using qmgr or directly editing the nodes file – you must restart pbs_server for those changes to take effect.
Related topics