Monday, September 26, 2011

Server has no node list when executing pbsnodes -s

If you see this error "Server has no node list" when you execute "pbsnodes -s 192.168.1.1" (your torque server DNS or IP), it is due to the missing "nodes" file that was supposed to be at /var/spool/torque/server_priv/

The node file should show something like this
## This is the TORQUE server "nodes" file.
##
## To add a node, enter its hostname, optional processor count (np=),
## and optional feature names.
##
## Example:
##    host01 np=8 featureA featureB
##    host02 np=8 featureA featureB
##
## for more information, please visit:
##
## http://www.clusterresources.com/torquedocs/nodeconfig.shtml

compute-c00     np=12
compute-c01     np=12
compute-c02     np=12
compute-c03     np=12
compute-c04     np=12

Restart the pbs_sched and pbs_server services
# service pbs_server restart
# service pbs_sched restart

No comments: