Cluster scripts
- cl
Runs a command on selected nodes, prints node usage statistics
cl -j ! prints CPU usage for all nodes
cl "df -k" ! checks disk space usage on all nodes
cl -w "1 5 9" ! turns on the power on nodes 1,5 and 9.
Note that power management requires that system be set to do it.
Also to wake the cluster you need to provide MAC addresses that the script
expects to find at /usr/global/local/MACs. Waking up nodes requires root.
See here.
- Two scripts to broadcast files from one node to all in parallel using
UNIX scripting: send55 and send-r.
Usage:
send55 sourcefile destfile ,
where sourcefile is on NFS and destfile
is on the local disk.
Other software
- ether-wake.c, a magic packet sender
to do "Wake on LAN". If it is not available
there, download from here.