Changes between Version 9 and Version 10 of GENIExperimenter/Tutorials/StitchingTutorial/DesignSetup
- Timestamp:
- 03/13/14 12:33:07 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/StitchingTutorial/DesignSetup
v9 v10 22 22 [[Image(GENIExperimenter/Graphics:Stitching-tutorial-initial-topology.jpg)]] 23 23 24 To get started download the initial RSpec file and import it into the flack to make modificationas follows:24 To get started download the initial RSpec file and import it into Flack to make modifications as follows: 25 25 26 '''1.''' Download the R spec named [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/3nodes-1rack.rspec?format=raw 3nodes-1rack.rspec] to your local system26 '''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 27 27 28 28 '''2.''' Login to the GENI Portal at https://portal.geni.net 29 29 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 .) 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.''' 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. 31 31 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.''' 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.) 33 33 34 '''5.''' Select the pull-down named ''"Import"'' and choose ''"Import from file"'' option:34 '''5.''' Select the pull-down named ''"Import"'' and choose the ''"Import from file"'' option: 35 35 36 36 [[Image(GENIExperimenter/Graphics:import-from-file.jpg)]] 37 37 38 '''6.''' Navigate to the file location and choose selectthe 3nodes-1rack.rspec file.38 '''6.''' Navigate to the file location and choose the 3nodes-1rack.rspec file. 39 39 40 '''7.''' You will see a pop-up that states 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 manager assigned to you and click on''"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.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. 41 41 42 42 [[Image(GENIExperimenter/Graphics:import-add-aggr.jpg)]] 43 43 ----- 44 44 45 = Step 2: Modify RSpec to include 2 Aggregates with stitched link =45 = Step 2: Modify RSpec to include 2 Aggregates with 1 stitched link = 46 46 47 Now that you have imported the RSpec, we will modify it to include a stitched link. Modification in this section will result in the following topology:47 Now that you have imported the RSpec, we will modify it to include a stitched link. Modifications in this section will result in the following topology: 48 48 49 49 [[Image(GENIExperimenter/Graphics:Stitching-tutorial-stitching-topology.jpg)]] 50 50 51 To 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 toa stitched link.51 To 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. 52 52 53 53 '''8.''' Click on the ''"right-client"'' VM information button[[Image(GENIExperimenter/Graphics:info.jpg)]]. 54 54 55 '''9.''' In the ''"right-client"'' details panel look for the ''"Manager"'' pull-down. Modify the aggregate to the second manager manager that was assigned to you at the beginning of the tutorial, do not use the aggregate selected initially. Click on the ''"Apply"'' button. (If you are running this tutorial on your own, you may use another site aggregate found on the [http://groups.geni.net/geni/wiki/GeniNetworkStitchingSites GENI Network Stitching Sites] page.)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.) 56 56 57 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. … … 62 62 63 63 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 not of it.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. 65 65 66 66 [[Image(GENIExperimenter/Graphics:export-to-file.jpg)]] … … 73 73 = Step 3: Run stitcher tool to get resources = 74 74 75 The stitcher tools delivers the same features as the omni tool, but with one major difference, the stitcher will submit sliver request at all aggregate in your requestsRSpec. Let's now set up slivers for the request RSpec generated in the previous section:75 The 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: 76 76 77 '''13.''' Use stitcher to create a sliver and using the slice that we created in flack. The request will use the RSpec that was saved tofile in the setup steps: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: 78 78 {{{ 79 79 $ stitcher createsliver MySlice MyTopology.rspec … … 105 105 11:50:27 INFO stitcher: Saved combined reservation RSpec at 3 AMs to file MySlice-manifest-rspec-stitching-combined.xml 106 106 Stitching success: Reserved resources in slice MySlice at 3 Aggregates (including 1 intermediate aggregate(s) not in the original request), creating 1 link(s). 107 108 107 }}} 109 108