murugu has asked for the wisdom of the Perl Monks concerning the following question:
Im currently developing a script in which i need to run some commands in a remote machine. We are using ssh to connect to the remote machine.
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.
I dont know whether any module comes along with core distribution can do this. If so please let me know.
So as a workaround we are using expect for this purpose. But i want to do it using perl.
I peeked throught the module IPC::Session. It seems that its an independent module (i.e)it is not depending on any libraries other than the libraries which comes along with the core.
Is it possible for me to create a executable for the perl script which im developing along with the module IPC::Session, so that porting that executable to any machine in the cluster will do what i need(connect and execute commands in remote machine).
By the way Im using perl 5.6.1 under RH Linux. Please guide me with your suggestions.
Million thanks in advance.
Updated the heading
Regards,
Murugesan Kandasamy
use perl for(;;);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connecting Remote machines using perl.
by tirwhan (Abbot) on Dec 19, 2005 at 10:28 UTC | |
|
Re: Connecting Remote machines using perl.
by salva (Canon) on Dec 19, 2005 at 09:54 UTC | |
|
Re: Connecting Remote machines using perl.
by marto (Cardinal) on Dec 19, 2005 at 09:29 UTC | |
|
Re: Connecting Remote machines using perl.
by Perl Mouse (Chaplain) on Dec 19, 2005 at 10:50 UTC | |
by eweaver (Sexton) on Dec 19, 2005 at 16:12 UTC | |
|
Re: Connecting Remote machines using perl.
by CountOrlok (Friar) on Dec 19, 2005 at 15:33 UTC |