On Tue, Feb 3, 2009 at 20:12, Hugo Hernandez-Mora
<hugo.hernan...@loni.ucla.edu> wrote:
> Hello all,
>
> I am looking for a way to send the same shell command into different servers
> simultaneously.   I am managing a cluster with +400 nodes and I have an
> application which send the commands to the servers but in a sequential way
> which at some point is being inefficient for us.  Any ideas?
snip

There are several solutions already existing.  For instance, there is
dsh*.  If you decide to write your own I would suggest looking at the
fork function** and the Net::SSH::Perl module***.

* http://www.netfort.gr.jp/~dancer/software/dsh.html.en
** http://perldoc.perl.org/functions/fork.html
*** http://search.cpan.org/dist/Net-SSH-Perl/lib/Net/SSH/Perl.pm

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to