[Planetlab-users] how to transmit file in a batch manner
Christos Ploutarchou
cplout01 at cs.ucy.ac.cy
Sun Jan 15 08:20:11 EST 2012
you can use a script of the form (having the nodes to upload into
a separate file (ex. hosts)
HOSTFILE='hosts'
if [ -f $HOSTFILE ]
then
printf "Host file found, preparing to transfer\n"
while read server
do
scp -i ~/.ssh/id_rsa -r fileToUpload (or folder) sliceName@
$server:DestinationFolder
done < $HOSTFILE
else
printf "File \"$SOURCEFILE\" not found\n"
exit 0
fi
exit 0
On Sun, Jan 15, 2012 at 2:29 PM, Kaustubh Gadkari <
kaustubh.gadkari at gmail.com> wrote:
>
>
> On Sun, Jan 15, 2012 at 4:25 AM, 崔小龙 <sunshine870 at gmail.com> wrote:
>
>> Hi, dear all!
>>
>> When I try to deploy my application on planetlab, I find it difficult to
>> transmit my file to hundreds of nodes. Is there any method or tool that can
>> do this in a batch manner?
>>
>>
> Try using pscp/pssh.
>
> Kaustubh
>
>
>> Any idea or instruction will be greatly appreciated!
>>
>> Sincerely yours,
>> Xiaolong
>>
>> _______________________________________________
>> Users mailing list: Users at lists.planet-lab.org
>> https://lists.planet-lab.org/mailman/listinfo/users
>>
>
>
>
> --
> Kaustubh Gadkari
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users
>
--
Christos Ploutarchou
University of Cyprus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/users/attachments/20120115/e127ca7c/attachment.html
More information about the Users
mailing list