[ale] Running a command on multiple servers

Matt Rideout mrideout at windserve.com
Mon Jun 15 11:53:38 EDT 2009


Wow, that's a much more elegant solution than the shell scripts that 
I've been using. Thanks!

FYI, here's the home page:

http://www.netfort.gr.jp/~dancer/software/dsh.html.en

Matty wrote, On 06/15/2009 11:27 AM:
> On Fri, Jun 12, 2009 at 10:37 AM, Brandon
> Colbert<colbert.brandon at gmail.com> wrote:
>   
>> Anyone know of a software that allows you to run a command on multiple
>> servers from one host?
>>     
>
> We use dsh pretty extensively at my employer. The nice thing about dsh
> (and pcp, it's scp conterpart) is its ability to run a command in
> parallel across a number of  hosts. So if you need to grab the uname
> output from a bunch of hosts, you could run:
>
> $ export CLUSTER=/path/to/file/with/list/of/hosts
>
> $ dsh -e -f32 'uname -a'
>
> This will cause dsh to run 'uname -a' on 32 hosts at a time, and print
> the results to stdout. Great piece of software!
>
> - Ryan
> --
> http://prefetch.net
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>   


More information about the Ale mailing list