wiki:GENIExperimenter/Tutorials/StitchingTutorial/Execute

Version 1 (modified by lnevers@bbn.com, 8 years ago) (diff)

--

GENI Inter-Aggregate Stitching Tutorial

Image Map

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. 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!!

$ readyToLogin -a rightAggr MySlice
....

$ ssh -i right-client....

Where "rightAggr" is the aggregate where you have requested the VM named "right-client".

For the experiment in this tutorial we use:

$ readyToLogin -a wisconsin-ig MySlice
...

$ ssh -i ... lnevers@xxx

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!!:

$ readyToLogin -a leftAggr MySlice
...

$ ssh -i left-client....

Where "leftAggr" is the aggregate where you have requested the named "left-client".

For the experiment in this tutorial we use:

$ readyToLogin -a stanford-ig MySlice
...

client's geni_status is: ready (am_status:ready) 
User lnevers logs in to client using:
	ssh -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pcvm1-12.instageni.stanford.edu

left-server's geni_status is: ready (am_status:ready) 
User lnevers logs in to left-server using:
	ssh -p 34107  -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu

$ ssh -p 34107  -i /Users/lnevers/.ssh/geni_cert_portal_key lnevers@pc1.instageni.stanford.edu

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"

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:

No image "client-web.jpg" attached to LuisaSandbox/StitchingTutorial/attachments

4. In first terminal to "right-client" install iperf and send traffic to the server over the stitcher path:

right-client$ sudo yum install iperf -y
right-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 10

5. In the second terminal to "left-client" install iperf and send traffic to the server over the local link:

left-client$ sudo yum install iperf -y
left-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 10

6. Now back to the browser; Refresh the web page and you should see the results from the iperf process listening on the server:

No image "client-web2.jpg" attached to LuisaSandbox/StitchingTutorial/attachments

Introduction

Finish