[Ssh-sftp-perl-users] Query about using NET::SSH::Perl
Brought to you by:
dbrobins
From: lalitha v. <lal...@ya...> - 2006-07-26 20:09:33
|
Hi I am a newbie to working with perl modules for load/job scheduling across clusters. I am trying to use Net::SSH::Perl to check whether I am able to connect to one of the nodes in our cluster before sending a job to it. I am using it in tandem with the CPAN module , Schedule::Load. Hence for the node with the most resources available,(provided by Schedule::Load), I wish to check whether the node is still accepting incoming SSH connections using Net::SSH.I am trying to schedule upto 40,000 different jobs on a cluster of 35 nodes. Due to system settings and certain nodes being more occupied than the other, when Schedule::Node presistently returns a certain node as the "best node" for running a job, I sometimes find that the node does not accept incoming ssh connections (possibly due to the large number of ssh connections already open). I would appreciate if you could let me know whether any of Net::SSH's functions return an error message which tell me whether the node is PRESENTLY accepting incoming ssh connections or is throwing a msg "Connection closed by remote host" Thanks Viswanath __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |