Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Connecting Remote machines using perl.

by Perl Mouse (Chaplain)
on Dec 19, 2005 at 10:50 UTC ( [id://517692]=note: print w/replies, xml ) Need Help??


in reply to Connecting Remote machines using perl.

This script will be run on any one of the 1000 clusters which are all load balanced. Iam unable to use the module Net::SSH module, why because installing the module in 1000 machines will be tedious job.
Really? I'd say that installing a single module on 1000 machines would be a tiny task compared to installing the OS and the main applications on 1000 machines.

You're running 1000 clusters on 1000 machines, and rolling out software among them isn't already a solved problem in your company?

Perl --((8:>*
  • Comment on Re: Connecting Remote machines using perl.

Replies are listed 'Best First'.
Re^2: Connecting Remote machines using perl.
by eweaver (Sexton) on Dec 19, 2005 at 16:12 UTC


    I use a 128 node cluster, and the environment is fixed. Each cluster has its own local disk space accessible in /tmp/ and various places, plus a network share where you put your code. What you should be doing is putting your module in the network share. If you don't have one, you must have a very painful clustering setup to work with!

    On my system (SunFire/Linux) if the labstaff updates the build environment it propagates to all the nodes. Also, jobs have to be submitted by a load balancing queuer anyway. You can't get persistent storage on any _specific_ node, because you are assigned whatever nodes are free by the queuer.

    If you are under the impression that perl modules have to be installed in /usr/local/lib/..., and that isn't synchronized across your systems (possible, but unlucky!), you are wrong; you can install a module anywhere. Just update your lib path with a little use lib qw(/path/to/your/module); at the beginning of your perl program. You don't even have to change environment variables.

    If none of these seem like options, then you should probably ask your cluster administrator what you should do.

    Conversely you could pipe commands to `ssh` with open() or system() or something, but that's less than ideal.

    ~e

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found