Changes between Version 2 and Version 3 of GENIExperimenter/Tutorials/PortalOmniExample/ObtainResources


Ignore:
Timestamp:
07/01/13 15:04:57 (6 years ago)
Author:
Gary Wong
Comment:

Add work in progress.

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/PortalOmniExample/ObtainResources

    v2 v3  
    2525<li>Part II: Execute</li>
    2626             <ul>
    27                  <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/PortalOmniExample/ExecuteExperiment">Execute Experiment: Login to nodes and execute a simple layer 2 experiment</a> </li>
     27                 <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/PortalOmniExample/ExecuteExperiment">Execute Experiment: Login to nodes and monitor the experiment execution</a> </li>
    2828             </ul></ul>
    2929                </td>
     
    5555== 1. Create a slice ==
    5656
     57If you are following on from the Flack tutorial, and the slice you created then has not yet expired, you can reuse the same slice -- skip ahead to the next step.
     58
     59Otherwise, you will need to create a new slice, which can be done through the GENI Portal, as follows:
     60
    5761{{{
    5862#!html
     
    7983}}}
    8084
     85== 2. Import a simple experiment ==
     86
    8187{{{
    8288#!html
    83 <a href="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalOmniExample/ObtainResources/example.rspec?format=raw">Sample rspec</a>
     89<p>Next, we will learn about the mechanism Flack had been using when bringing up slivers for us.  Behind the scenes, slivers are described in GENI <b>rspec</b> files, which are relatively simple XML documents precisely describing the components, configurations, and topologies.</p>
     90
     91<p>For this exercise, we will start with a
     92<a href="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalOmniExample/ObtainResources/example.rspec?format=raw">prepared rspec file</a>.  You should download this now, and save it where you can get to it with your browser.  If you have time, it is worthwhile inspecting the contents to see the style of rspec files (in this case, another simple sliver consisting of two nodes connected by a single network link).</p>
     93
     94<p>Next, you should load this topology into Flack.  ...FIXME screenshot</p>
     95}}}
     96
     97== 3. Modify the experiment to automatically install and execute network test software ==
     98
     99Click "i" on client
     100
     101+ Add Install Service
     102{{{
     103http://www.gpolab.bbn.com/experiment-support/HelloGENI/hellogeni-install.tar.gz
     104}}}
     105/local
     106
     107+ Add Execute service
     108{{{
     109sudo /local/install-script.sh
     110}}}
     111sh
     112
     113Apply
     114
     115Same on server
     116
     117== 4. Export the modified experiment ==
     118
     119View rspec
     120
     121Save to file
     122
     123== 5. Instantiate the new experiment using Omni ==
     124
     125{{{
     126omni.py -a ig-utah createsliver gtwportalslice ~/Downloads/experiments.rspec
     127/usr/local/bin/gcf/examples/readyToLogin.py -a ig-utah gtwportalslice
     128}}}
     129
     130When it is ready, it will give login info in terminal.  Log in to client,
     131look in
     132{{{
     133/tmp/iperf-logs/
    84134}}}
    85135