| 1 | = Obtain Resources: create a slice and reserve resources = |
| 2 | Introduction: [wiki:GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example Getting Started with GENI using the GENI Portal] |
| 3 | {{{ |
| 4 | #!html |
| 5 | <table id="Table_01" height="205" border="0" cellpadding="0" cellspacing="0"> |
| 6 | <tr> |
| 7 | <td> |
| 8 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/SetupAccount"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design_on.png?format=raw" width="76" height="76" alt="Design/Setup"></a> |
| 9 | </td> |
| 10 | <td> |
| 11 | <ul> |
| 12 | <li><b>Part I: Design/Setup</b></li> |
| 13 | <ul> |
| 14 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/SetupAccount">Step 1: Establish Management Environment: Setup your GENI account and join a GENI Project</a></li> |
| 15 | <li><b><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/ObtainResources">Step 2: Obtain Resources: Create a slice and reserve resources</a></b></li> |
| 16 | </ul></ul> |
| 17 | </td> |
| 18 | </tr> |
| 19 | <tr> |
| 20 | <td> |
| 21 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/ExecuteExperiment"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" width="76" height="72" alt="Execute"></a> |
| 22 | </td> |
| 23 | <td> |
| 24 | <ul> |
| 25 | <li>Part II: Execute</li> |
| 26 | <ul> |
| 27 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/ExecuteExperiment">Execute Experiment: Login to nodes and execute a simple layer 2 experiment</a> </li> |
| 28 | </ul></ul> |
| 29 | </td> |
| 30 | </tr> |
| 31 | <tr> |
| 32 | <td> |
| 33 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/TeardownExperiment"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw" width="76" height="57" alt="Finish"></a> |
| 34 | </td> |
| 35 | |
| 36 | <td> |
| 37 | <ul> |
| 38 | <li>Part III: Finish</li> |
| 39 | <ul> |
| 40 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/TeardownExperiment">Teardown Experiment: Delete Resources</a></li> |
| 41 | </ul></ul> |
| 42 | </td> |
| 43 | |
| 44 | </tr> |
| 45 | </table> |
| 46 | |
| 47 | }}} |
| 48 | |
| 49 | |
| 50 | |
| 51 | = Instructions = |
| 52 | |
| 53 | Now that you are a member of a project, you can create a slice and reserve resources. |
| 54 | |
| 55 | == 1. Create a slice == |
| 56 | |
| 57 | {{{ |
| 58 | #!html |
| 59 | <table border="0"> |
| 60 | |
| 61 | <tr> |
| 62 | <td> |
| 63 | |
| 64 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/createslice_3.png?format=raw" alt="Create a GENI Slice" height="200" title="Create a GENI Slice" /> </a> |
| 65 | </td> |
| 66 | <td > |
| 67 | <ol> |
| 68 | <li> Go to the <i>Home</i> tab. </li> |
| 69 | <li> Press the <b>Create Slice</b> button for this project.</li> |
| 70 | <li> <FONT COLOR="black">As a slice name use the slice name on your worksheet (the slice name should be of the form <code>portal##</code>), you can leave the description empty and press <b>Create Slice</b></font> |
| 71 | </li> |
| 72 | |
| 73 | |
| 74 | </ol> |
| 75 | </td> |
| 76 | |
| 77 | </tr> |
| 78 | </table> |
| 79 | }}} |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | == 2. Reserve Virtual Machines at Two Aggregates == |
| 85 | |
| 86 | For this tutorial, we have manually reserved a VLAN (a layer 2 circuit) from a GENI rack in Utah to a GENI rack in Massachusetts. |
| 87 | |
| 88 | Now reserve a virtual machine (VM) connected to each end of the manually configured VLAN. |
| 89 | |
| 90 | '''WARNING: In order to pace the creation of the VMs, please only reserve your two VMs when you are given a "blinking ball" by the tutorial instructor. ''' |
| 91 | |
| 92 | First, reserve a VM on the Utah end of the VLAN. This node will be refered to as the "client". |
| 93 | |
| 94 | {{{ |
| 95 | #!html |
| 96 | <table border="0"> |
| 97 | <tr> |
| 98 | <td> |
| 99 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/addresources_utah_4.png?format=raw" alt="Create a GENI Project" height="150" title="Create a GENI Project" /> </a> |
| 100 | </td> |
| 101 | <td > |
| 102 | <ol> |
| 103 | <li> <FONT COLOR="black">Go to the <i>Slice</i> page and press the <b>Add Resources</b> button. Complete the form as shown in the picture on the left and press the <b>Reserve Resources</b> button. </font> Reserving the node at the aggregate may take awhile (in excess of 30 seconds). Do not reload the page or press the back button while waiting.</li> |
| 104 | </ol> |
| 105 | </td> |
| 106 | </tr> |
| 107 | </table> |
| 108 | }}} |
| 109 | |
| 110 | |
| 111 | |
| 112 | Second, reserve a virtual machine connected to the Massachusetts end of the manually configured VLAN. This node will be refered to as the "server". |
| 113 | |
| 114 | {{{ |
| 115 | #!html |
| 116 | <table border="0"> |
| 117 | <tr> |
| 118 | <td> |
| 119 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/addresources_gpo_4.png?format=raw" alt="Create a GENI Project" height="150" title="Create a GENI Project" /> </a> |
| 120 | </td> |
| 121 | <td > |
| 122 | <ol start='2'> |
| 123 | <li> <FONT COLOR="black">Go back to the <i>Slice</i> page and again press the <b>Add Resources</b> button. Complete the form as shown in the picture on the left and press the <b>Reserve Resources</b> button</font>. Again, this may take awhile. Do not reload the page or press the back button while waiting.</li> |
| 124 | </ol> |
| 125 | </td> |
| 126 | |
| 127 | </tr> |
| 128 | </table> |
| 129 | }}} |
| 130 | |
| 131 | |
| 132 | == 3. Check Whether Virtual Machines are Ready to be Used == |
| 133 | |
| 134 | It takes some time for the VMs to boot. Check to see if they are up. |
| 135 | |
| 136 | {{{ |
| 137 | #!html |
| 138 | <table border="0"> |
| 139 | |
| 140 | <tr> |
| 141 | |
| 142 | <td> |
| 143 | <ol> |
| 144 | <li><FONT COLOR="black">Return to the <i>Slice</i> page. Press the <b>Get All</b> button in the aggregate table.</font></li> |
| 145 | </ol> |
| 146 | </td> |
| 147 | <td> |
| 148 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/sliverstatus_all_00.png?format=raw" alt="Status at both aggregates" height="400" title="Status at both aggregates" /> </a> |
| 149 | </td> |
| 150 | </tr> |
| 151 | <tr> |
| 152 | <td> |
| 153 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/sliverstatus_all_2.png?format=raw" alt="Status at both aggregates" height="400" title="Status at both aggregates" /> </a> |
| 154 | </td> |
| 155 | <td > |
| 156 | <ol start='2'> |
| 157 | <li>The rows for <i>InstaGENI GPO</i> and <i>InstaGENI Utah</i> should say <i>READY</i> against a green background and look as shown on the left. </li> |
| 158 | <li>If one of the rows do not say <i>READY</i>, press the <b>Get Status</b> button on that row periodically until it does.</li> |
| 159 | </ol> |
| 160 | </td> |
| 161 | </tr> |
| 162 | </table> |
| 163 | }}} |
| 164 | |
| 165 | |
| 166 | |
| 167 | = [wiki:GENIExperimenter/Tutorials/NSDI13/PortalSimpleLayer2Example/ExecuteExperiment Next: Execute a Simple Layer 2 Experiment] = |