Parallel SSH Execution and a Single Shell to Control Them All
Oct 31, 2008, 01:31 (2 Talkback[s])
(Other stories by Ben Martin)
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
"Why you would need a utility like this when, using openSSH, you
can create a file containing your commands and use a bash for loop
to run it on a list of remote hosts, one at a time? One advantage
of a parallel SSH utility is that commands can be run on several
hosts at the same time. For a short-running task this might not
matter much, but if a task needs an hour to complete and you need
to run it on 20 hosts, parallel execution beats serial by a mile.
Also, if you want to interactively edit the same file on multiple
machines, it might be quicker to use a parallel SSH utility and
edit the file on all nodes with vi rather than concoct a script to
do the same edit."