Changes between Version 12 and Version 13 of GENIExperimenter/Tutorials/StitchingTutorial/DesignSetup


Ignore:
Timestamp:
03/13/14 14:57:46 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v12 v13  
    2424To get started download the initial RSpec file and import it into Flack to make modifications as follows:
    2525
    26 '''1.''' Download the RSpec named [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/3nodes-1rack.rspec?format=raw 3nodes-1rack.rspec] to your local system
     26'''1.''' Login to the GENI Portal at https://portal.geni.net
    2727
    28 '''2.''' Login to the GENI Portal at https://portal.geni.net
     28'''2.''' Go to the [https://portal.geni.net/secure/projects.php "Projects"] panel and click on the '' "Create Slice" '' button for the tutorial project. (If you are running this tutorial on your own, you may use any existing project you belong to.)  On the resulting page named "Create New Slice" enter a slice name and click on "Create slice" button. For the purpose of this tutorial we will assume the slice is named ''!MySlice'', but you should use a unique name because each slice name must be unique within a project.
    2929
    30 '''3.''' Go to the [https://portal.geni.net/secure/projects.php "Projects"] panel and click on the '' "Create Slice" '' button for the tutorial project. (If you are running this tutorial on your own, you may use any existing project you belong to.)  On the resulting page named "Create New Slice" enter a slice name and click on "Create slice" button. For the purpose of this tutorial we will assume the slice is named ''!MySlice'', but you should use a unique name because each slice name must be unique within a project.
     30'''3.''' On the slice page select the ''"Launch Flack"'' button. (You must wait for all aggregates to show up in the !MySlice panel before you can proceed.)
    3131
    32 '''4.''' Once you are on the slice page ''(Home → Project !MyProject → Slice !MySlice)'' select the ''"Launch Flack"'' button. (You must wait for all aggregates to show up in the !MySlice panel before you can proceed.)
     32'''4.''' On the empty slice canvas, select the pull-down named ''"Import"'' and choose the ''"Import from the web"'' option. Paste this URL http://www.gpolab.bbn.com/experiment-support/StitchingTutorial/3nodes-1rack.rspec and click Ok
    3333
    34 '''5.''' Select the pull-down named ''"Import"'' and choose the ''"Import from file"'' option:
     34     [[Image(GENIExperimenter/Graphics:import-from-web.jpg)]]
    3535
    36      [[Image(GENIExperimenter/Graphics:import-from-file.jpg)]]
    3736
    38 '''6.''' Navigate to the file location and choose the 3nodes-1rack.rspec file.
    39 
    40 '''7.''' You will see a pop-up that states that no manager is associated with the resource; click ''"OK"'' and another pop-up will have you select an aggregate manager, select one of the two aggregate managers assigned to you and click the ''"Accept"'' button.  (If you are running this tutorial on your own, you may use any aggregate found on the [http://groups.geni.net/geni/wiki/GeniNetworkStitchingSites GENI Network Stitching Sites] page.
     37'''5.''' You will see a pop-up that states that no manager is associated with the resource; click ''"OK"'' and another pop-up will have you select an aggregate manager, select one of the two aggregate managers assigned to you and click the ''"Accept"'' button.  (If you are running this tutorial on your own, you may use any aggregate found on the [http://groups.geni.net/geni/wiki/GeniNetworkStitchingSites GENI Network Stitching Sites] page.
    4138
    4239     [[Image(GENIExperimenter/Graphics:import-add-aggr.jpg)]]
     
    5148To get to the above topology, we must make changes to the resources imported into Flack.  We will now modify ''"right-client"'' to become part of a different rack aggregate and then modify its link to be a stitched link.
    5249
    53 '''8.''' Click on the ''"right-client"'' VM information button [[Image(GENIExperimenter/Graphics:info.jpg)]].
     50'''6.''' Click on the ''"right-client"'' VM information button [[Image(GENIExperimenter/Graphics:info.jpg)]].
    5451
    55 '''9.''' In the ''"right-client"''  details panel look for the ''"Manager"'' pull-down. Modify the aggregate to be the second aggregate manager that was assigned to you at the beginning of the tutorial; do not use the aggregate used earlier.  Click on the ''"Apply"'' button.  (If you are running this tutorial on your own, you may use any other site aggregate found on the [http://groups.geni.net/geni/wiki/GeniNetworkStitchingSites GENI Network Stitching Sites] page.)
     52'''7.''' In the ''"right-client"''  details panel look for the ''"Manager"'' pull-down. Modify the aggregate to be the second aggregate manager that was assigned to you at the beginning of the tutorial; do not use the aggregate used earlier.  Click on the ''"Apply"'' button.  (If you are running this tutorial on your own, you may use any other site aggregate found on the [http://groups.geni.net/geni/wiki/GeniNetworkStitchingSites GENI Network Stitching Sites] page.)
    5653
    57 '''10.''' You will now see that the link from the ''"server"'' VM to ''"right-client"'' VM is now a gre-tunnel link.  Select the gre-tunnel link information button [[Image(GENIExperimenter/Graphics:info.jpg)]] to modify the link type to ''"stitched"'' and click ''"Apply"'' button.
     54'''8.''' You will now see that the link from the ''"server"'' VM to ''"right-client"'' VM is now a gre-tunnel link.  Select the gre-tunnel link information button [[Image(GENIExperimenter/Graphics:info.jpg)]] to modify the link type to ''"stitched"'' and click ''"Apply"'' button.
    5855
    5956     [[Image(GENIExperimenter/Graphics:gre-to-stitched.jpg)]]
    6057
    61 '''11.''' You should now see that the topology has changed and that between the ''"server"'' VM and the ''"right-client"'' VM the link is now named ''"stitched0"''.
     58'''9.''' You should now see that the topology has changed and that between the ''"server"'' VM and the ''"right-client"'' VM the link is now named ''"stitched0"''.
    6259 
    6360
    64 '''12.''' We will now export this topology to a file by selecting the "View" pull-down and choosing "Preview requested document(s)". You will now choose "Save to file" to export the RSpec we just modified. For the purpose of this experiment we will assume the file is saved to ''"!MyTopology.rspec"'', but you can choose any name or location, just make a note of it.
     61'''10.''' We will now export this topology to a file by selecting the "View" pull-down and choosing "Preview requested document(s)". You will now choose "Save to file" to export the RSpec we just modified. For the purpose of this experiment we will assume the file is saved to ''"!MyTopology.rspec"'', but you can choose any name or location, just make a note of it.
    6562
    6663     [[Image(GENIExperimenter/Graphics:export-to-file.jpg)]]
     
    7572The stitcher tools delivers the same features as the Omni tool, but with one major difference: stitcher will submit sliver request at all aggregate in your request RSpec. Let's now set up slivers for the request RSpec generated in the previous section:
    7673
    77 '''13.'''  Use stitcher to create a sliver, using the slice that we created in the Portal.  The request will use the RSpec that was saved to a file in the setup steps:
     74'''11.'''  Use stitcher to create a sliver, using the slice that we created in the Portal.  The request will use the RSpec that was saved to a file in the setup steps:
    7875{{{
    7976$ stitcher createsliver MySlice MyTopology.rspec