= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial GENI Inter-Aggregate Stitching Tutorial] =
{{{
#!html
}}}
= Step 4: Execute Experiment =
To run the experiment we will use:
- Two terminals to login to the ''"right-client"'' and the ''"left-client"'' VMs
- One browser to connect to the ''"server"'' VM
But first we must determine which nodes have been allocated to our experiment.
'''1.''' Start 2 terminal windows and use the `readyToLogin` script to determine the login information:
__Window 1:__
{{{
$ readyToLogin -a rightAggr MySlice
....
$ ssh -i right-client....
...
}}}
__Window_2:__
{{{
$ readyToLogin -a leftAggr MySlice
...
$ ssh -i left-client....
...
}}}
For example in this tutorial we use:
{{{
$ readyToLogin -a stanford-ig MySlice
...
left-client's geni_status is: ready (am_status:ready)
User lnevers logs in to left-client using:
ssh -p 31802 -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu
server's geni_status is: ready (am_status:ready)
User lnevers logs in to server using:
ssh -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pcvm1-15.instageni.stanford.edu
$ ssh -p 31802 -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu
Last login: Thu Mar 13 07:16:54 2014 from 128.89.73.116
[lnevers@left-client ~]$
}}}
'''2.''' Start a browser and navigate to the ''"server's"''s hostname from step 2. For this example experiment the hostname allocated is pcvm1-15.instageni.stanford.edu:
[[Image(GENIExperimenter/Graphics:server-web.jpg,65%)]]
'''3.''' In the first terminal logged in to ''"right-client"'', install iperf and send traffic to the server over the ''stitched'' path by executing the 2 commands exactly as shown:
{{{
right-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 10
}}}
'''4.''' In the second terminal connected to ''"left-client"''. install iperf and send traffic to the server over the ''local'' link by executing the 2 commands exactly as shown:
{{{
left-client$ /usr/bin/iperf -c 192.168.1.2 -t 30 -P 10
}}}
'''5.''' Now back in the browser: Refresh the web page and you should see the results from the iperf server.
''Note: '' The interface capacity for all links was set to '' '''20 Mbits/sec''' '' in the RSpec used for this tutorial.
[[Image(GENIExperimenter/Graphics:server-web2.jpg)]]
The experiment is now completed; time to release resources!
= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial Introduction] =
= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/Finish Finish] =