Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Push: A Perl script to distribute a file to several servers.

by cazz (Pilgrim)
on Mar 04, 2005 at 18:57 UTC ( [id://436701]=note: print w/replies, xml ) Need Help??


in reply to Push: A Perl script to distribute a file to several servers.

Been there done that, didn't buy the t-shirt, it wsa too expensive.

Toss in some Parallel::ForkManager in there and do the push in parallel.

Replace rsh with ssh, add some pub/priv keys, and then you can do that with security!

  • Comment on Re: Push: A Perl script to distribute a file to several servers.

Replies are listed 'Best First'.
Re^2: Push: A Perl script to distribute a file to several servers.
by bpoag (Monk) on Mar 04, 2005 at 22:10 UTC
    Hi cazz,

    Yeah -- Thought about both of those ideas, actually. I try to stick with tools that are ubiquitous across several platforms, which ruled out ssh. Forking the rsh/rcp stuff would have added alot of extra overhead, not to mention the need to install Parallel::ForkManager across the board. Between different Unicies and different versions of Perl, that can be a super pain.

    This script was also developed in-house, where all the machines are peered on a private subnet without a need for added security. :) Provided you dont have like 500 different hosts listed in the array, it's fine to do them sequentially, I figure. :)

    Cheers, Bowie

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://436701]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found