[Planetlab-users] how to transmit file in a batch manner

=?GB2312?B?tN7QocH6?= sunshine870 at gmail.com
Sun Jan 15 09:56:09 EST 2012


Dear Christos,

Thank you very much for your detailed instruction! I will try it right now.

Best wishes,
Xiaolong

2012/1/15 Christos Ploutarchou <cplout01 at cs.ucy.ac.cy>

> 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
>
>
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/users/attachments/20120115/c2b643b7/attachment-0001.html


More information about the Users mailing list