Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/StitchingTutorial/Execute


Ignore:
Timestamp:
03/13/14 09:30:16 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/StitchingTutorial/Execute

    v1 v1  
     1= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial GENI Inter-Aggregate Stitching Tutorial] =
     2
     3{{{
     4#!html
     5
     6<div style="text-align:center; width:495px; margin-left:auto; margin-right:auto;">
     7<img id="Image-Maps_5201305222028436" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" />
     8<map id="_Image-Maps_5201305222028436" name="Image-Maps_5201305222028436">
     9<area shape="rect" coords="18,18,135,110" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/DesignSetup" alt="" title=""    />
     10<area shape="rect" coords="180,18,297,111" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/Execute" alt="" title=""    />
     11<area shape="rect" coords="344,17,460,110" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/Finish" alt="" title=""    />
     12<area shape="rect" coords="493,136,495,138" href="http://www.image-maps.com/index.php?aff=mapped_users_5201305222028436" alt="Image Map" title="Image Map" />
     13</map>
     14<!-- Image map text links - End - -->
     15
     16</div>
     17}}}
     18
     19= Step 4: Execute Experiment =
     20
     21To run the experiment we will use:
     22 - two terminals to login to the ''"right-client"'' and the ''"left-client"'' VMs
     23 - one browser to connect to the ''"server"'' VM
     24
     25But first we must determine which nodes have been allocated to our experiment.
     26
     27
     28'''1.''' Open first terminal, use the readyToLogin script to determine the login information, and login to ''"right-client"''. If you are following along as part of a tutorial use the aggregates assigned to you!!
     29{{{
     30$ readyToLogin -a rightAggr MySlice
     31....
     32
     33$ ssh -i right-client....
     34
     35}}}
     36
     37  Where ''"rightAggr"'' is the aggregate where you have requested the VM named ''"right-client"''.
     38
     39For the experiment in this tutorial we use:
     40{{{
     41$ readyToLogin -a wisconsin-ig MySlice
     42...
     43
     44$ ssh -i ... lnevers@xxx
     45}}}
     46
     47'''2.''' Open a second terminal, use the readyToLogin script to determine the login information, and login to ''"left-client"''. If you are following along as part of a tutorial use the aggregates assigned to you!!:
     48{{{
     49$ readyToLogin -a leftAggr MySlice
     50...
     51
     52$ ssh -i left-client....
     53
     54}}}
     55   Where ''"leftAggr"'' is the aggregate where you have requested the named ''"left-client"''.
     56
     57For the experiment in this tutorial we use:
     58{{{
     59$ readyToLogin -a stanford-ig MySlice
     60...
     61
     62client's geni_status is: ready (am_status:ready)
     63User lnevers logs in to client using:
     64        ssh -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pcvm1-12.instageni.stanford.edu
     65
     66left-server's geni_status is: ready (am_status:ready)
     67User lnevers logs in to left-server using:
     68        ssh -p 34107  -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu
     69
     70$ ssh -p 34107  -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu
     71
     72}}}
     73
     74'' '''Note:''' '' The ''"server"'' VM has been allocated with a routable IP address and been assigned a hostname that resolves to the following FQDN ''"pcvm1-12.instageni.stanford.edu"''
     75
     76'''3.''' Before we run the experiment, start a web browser and navigate to the FQDN hostname from step 3. For the experiment in this page we browse to:
     77 
     78     [[Image(LuisaSandbox/StitchingTutorial/attachments:client-web.jpg)]]
     79 
     80'''4.''' In first terminal to ''"right-client"'' install iperf and send traffic to the server over the stitcher path:
     81{{{
     82right-client$ sudo yum install iperf -y
     83right-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 10
     84}}}
     85
     86'''5.''' In the second terminal to ''"left-client"'' install iperf and send traffic to the server over the local link:
     87{{{
     88left-client$ sudo yum install iperf -y
     89left-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 10
     90}}}
     91
     92'''6.''' Now back to the browser; Refresh the web page and you should see the results from the iperf process listening on the server:
     93
     94     [[Image(LuisaSandbox/StitchingTutorial/attachments:client-web2.jpg)]]
     95
     96
     97
     98= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial Introduction] =
     99= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/Finish Finish] =