Adding/removing nodes to PBS

From PDP/Grid Wiki
Revision as of 10:01, 9 September 2005 by 192.16.186.118 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To add a node to PBS, run as root the script ~davidg/bin/mk_pbsnode on the PBS server and pipe its output to qmgr.

Syntax of this script:

mk_pbsnode -np <number_of_processors> -p <node-type> -p <OS> -p xps<speed> <hostname>

For example:

root@tbn20# ~davidg/bin/mk_pbsnode -np 2 -p amdncf -p rhel3 -p xps2000 node16-66.farmnet.nikhef.nl
# creating node node16-66.farmnet.nikhef.nl
create node node16-66.farmnet.nikhef.nl
set node node16-66.farmnet.nikhef.nl properties += farm
set node node16-66.farmnet.nikhef.nl properties += amdncf
set node node16-66.farmnet.nikhef.nl properties += rhel3
set node node16-66.farmnet.nikhef.nl properties += xps2000
set node node16-66.farmnet.nikhef.nl ntype = cluster
set node node16-66.farmnet.nikhef.nl np = 2

To delete a node, run the script (as root on the PBS server) with the following syntax:

root@tbn20# ~davidg/bin/mk_pbsnode -d <hostname>