[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590527: ITP: mussh -- MUltihost SSH Wrapper



Hi,

On Wed, Jul 28, 2010 at 03:26:50PM +0200, J??r??my Lal wrote:
> On 28/07/2010 15:14, Pierre Habouzit wrote:
> > On Tue, Jul 27, 2010 at 12:46:16AM -0400, Holger Levsen wrote:
> >> how is that different to dsh, already present in Debian?
> > Or clusterssh ?
> Or mssh ?

As I alluded to in the expanded description, earlier in this thread, 
there is a large difference between what dsh / mussh do and what mssh / 
clusterssh do.  The latter are primarily for concurrent access, whereas 
the former simply run pre-decided commands or strings against a set of 
hosts.  If you want to fiddle around with the same thing on a few hosts 
by hand, you might try to do it with mssh, but if you have a predefined 
set of utility scripts and you want to execute one of them against all 
256 of your data center hosts, mussh is the tool for the job.

My current employer uses mussh with a library of scripts for things like 
updating the same package on any host where it is pending, removing root 
keys of a retiring sysadmin from every host, quickly grabbing host 
information such as OS release or installed packages from sets of hosts, 
etc.  We check out our host lists and utility scripts from subversion 
and then execute a command somewhat like this:

ssh-add
mussh -l root -H svn/linux.hosts -C svn/frob.script -m10 -b

That's the extent of it, and whatever well-known thing frob.script does 
gets done as root on every server in linux.hosts 10 at a time with 
output returned grouped by host.

Thanks,
-Jacob

Attachment: signature.asc
Description: Digital signature


Reply to: