wiki:GENIExperimenter/Tutorials/NSDI13/IntroToOmni/Execute

Version 12 (modified by nriga@bbn.com, 7 years ago) (diff)

--

Hello GENI index Hello GENI index Hello GENI index

Execute: Run your experiment

Now that resources are ready we can start running our experiment. We will first start by logging in to our reserved nodes.

Logging Into the nodes -- Omni Scripting

Depending on the Aggregate the login information are either part of the sliverstatus call, or as part of the manifest rspec, i.e. returned from the listresources call. Omni comes with a script that makes it easy to gather all this information.

  1. In the terminal run:
    readyToLogin.py -a pg-utah <slicename>
    
    The script will return the actual command that you would need to use for logging in.
  2. Login to both nodes by copy-paste the commands from the output of the script.

Ping between your hosts

The first simple experiment that we will run is to verify the IP connectivity between our hosts.

  1. From the client ping the server. From the xterm that is logged in to the client type :
      ping server -c 5
    
    Note: You can use the name that is assigned to the host to directly ping the host, you can also ping using the IP of the data interface of the node. An example output should look like :
    [[inki@r2 ~]$ ping server -c 5
    PING 10.10.2.1 (10.10.2.1) 56(84) bytes of data.
    64 bytes from 10.10.2.1: icmp_seq=1 ttl=64 time=1.95 ms
    64 bytes from 10.10.2.1: icmp_seq=2 ttl=64 time=2.27 ms
    64 bytes from 10.10.2.1: icmp_seq=3 ttl=64 time=2.04 ms
    64 bytes from 10.10.2.1: icmp_seq=4 ttl=64 time=1.95 ms
    64 bytes from 10.10.2.1: icmp_seq=5 ttl=64 time=1.72 ms
    
    --- 10.10.2.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4005ms
    rtt min/avg/max/mdev = 1.728/1.992/2.278/0.179 ms
    

View results

For this example experiment we used the install script facility to automatically install the necessary software and kick-off the experiment. In this very simple setup, we have installed and launched a web server as well as an iperf server, on the server host. On the client, we have started some processes to test both of these services. To view the results of this experiment:

Hello GENI index
  1. Back in the portal go to the `Slices` Tab
  2. The slice that you created with Omni should appear in the list.
  3. In the specific slice toolbar, press the butte Launch Flack . Flack is a graphical, interactive reservation tool for GENI. This will open a new tab where Flack will open.
  4. Once the flack page stops loading, press of the (i) button next to the name of the server host.
  5. In the new tab that will open press the Visit button.
  6. Click the webserver statistics link to look at statistics. Refresh the page a couple of times to see how the statistics change as the client requests documents.
  7. Click the iperf logs link to see the statistics from the iperf transfers.

Next: Teardown Experiment