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).
It is highly recommended that you restart the pbs_server after you make any node changes, or just edit the nodes file manually and restart it.
Related topics