lijinchao / pdsh

Automatically exported from code.google.com/p/pdsh
GNU General Public License v2.0
0 stars 0 forks source link

exec module for pdcp #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I need to use exec module for pdcp (yep, we have some hack using instead usual 
scp). How to add it into pdcp modules?

I'm using exec find with pdsh but now I would love to have parallel copying 
with our hack solution :)

jirib

Original issue reported on code.google.com by ji...@devio.us on 23 Nov 2011 at 10:26

GoogleCodeExporter commented 8 years ago
Theoretically it should be possible, but like you probably
found, there is no way to pass the exec args into pdcp. Let
me look at this and see how much work it would be to implement.

Original comment by mark.gro...@gmail.com on 23 Nov 2011 at 2:58

GoogleCodeExporter commented 8 years ago
Thinking about this problem further, I'm not sure an exec-style
approach would work for pdcp. The way pdcp works is to execute
a copy of itself in "server" mode on the remote hosts. It can
use ssh or rsh to execute that remote server, but the remote
command and args are set.

Perhaps if you explain how you want to use the exec interface for
pdcp, that would aid in figuring out a method to get what you want.

(And sorry it took so long to get to this one)

Original comment by mark.gro...@gmail.com on 20 Dec 2011 at 2:24