Difference between revisions of "Adding/removing nodes to PBS"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 16: | Line 16: | ||
To delete a node, run the script (as root on the PBS server) with the following syntax: | 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> | + | root@tbn20# ~davidg/bin/mk_pbsnode -d <hostname> | qmgr |
Revision as of 10:02, 9 September 2005
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> | qmgr