Hi All, I have 20 node cluster of machines on which i am running RHEL5.4. I need to set some settings and variables on all the nodes. For this purpose i have one machine which acts like a server & send Perl script to all other machine and than execute that script. My problem is I am able to send the script using File::Remote copy function, but still the execution and taking back the result is problem. I have tried executing the script using IPC::PerlSSH module but that is also failing. Please help me if there is any better way or module so that I can send my script to all the nodes and execute. Thanks in advance.. UPDATE A lot of thanks to all of you for giving me so many useful options. But I have few constraints: -> There should not be any installation( Even any perl Module) or settings that I have to do on my remote machines. -> Now i have 20 machines but they can be 1000 also, so I need a solution which doesn't have problem with heavy loads. -> On my Server machine I can do all the stuffs, so I need a solution which doesn't require any extra efforts on my remote nodes.

In reply to Sending & Executing a perl script on remote machine. by rohit_ch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.