[UCI-Linux] clusterfork - talk to your cluster
harry.mangalam at uci.edu
Fri Nov 19 10:38:06 PST 2010
clusterfork is a tool that may be useful for anyone having to ride
herd on a cluster-like assemblage of machines.
clusterfork (aka cf) is a commandline perl script for issuing the same
command to many computers simultaneously via ssh, collating the
results of that command by node, and presenting those results to the
user in a number of ways to judge whether it has been successful.
For example, the following line will show you the correctable and
uncorrectable memory errors on the nodes 10.255.78.20 thru
10.255.78.60. Change the IP range to your own and try it yourself.
clusterfork --target=10.255.78.[20:60] \
'cd /sys/devices/system/edac/mc \
&& grep [0-9]* mc*/csrow*/[cu]e_count'
It was written for my own use (in bash) and has been in use in a
couple of different iterations for about 2 years. Recently re-written
in Perl with a lot more options (and possibly bugs). But it seems to
be pretty reliable now.
Read more about it here:
And pick it up the Perl script here:
Harry Mangalam - Research Computing, NACS, Rm 225 MSTB, UC Irvine
[ZOT 2225] / 92697 949 824-0084(o), 949 285-4487(c)
MSTB=Bldg 415 (G-5 on <http://today.uci.edu/pdf/UCI_09_map_campus.pdf>
Lat/Long: 33.642025,-117.844414 (paste into google maps)
Non-sarcarstic use of 'seamless' in any context having to do with
computers immediately disqualifies the speaker as an expert.
More information about the UCI-Linux