Scripts for cluster administration
In this section we describe how to administrate a small cluster with the help of a few scripts which can be found under $ROOTSYS/etc/proof/utils/xpd , hereafter referred to as $XPDUTILS .
Basic assumptions
The nodes in the cluster have to be specified in the file $XPDUTILS/nodes , which may look like this:
# # Nodes in the cluster; to comment out use '# ' (with the space) master00 worker00 worker01 # ... on more lines, space separated worker02 worker04 worker05 worker06
The circle script: using ssh for distributed actions
If the machines in the cluster are not reachable via a distributed shell or similar utilities, one can use the $XPDUTILS/circle script to automatize the serial execution of a command on the cluster. The usage of the script is the following:
Usage: ./circle ssh "[command(s)]" or ./circle scp "[what]" "[to where]" or ./circle key