| 1 | = [http://groups.geni.net/geni/wiki/GEC17Agenda/GettingStartedWithGENI_II/Procedure Getting Started With GENI - Part 2 Exercise 2] = |
| 2 | {{{ |
| 3 | #!html |
| 4 | |
| 5 | |
| 6 | <div style="text-align:center; width:495px; margin-left:auto; margin-right:auto;"> |
| 7 | <img id="Image-Maps_5201305222028436" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" /> |
| 8 | <map id="_Image-Maps_5201305222028436" name="Image-Maps_5201305222028436"> |
| 9 | <area shape="rect" coords="18,18,135,110" href="./DesignSetup" alt="" title="" /> |
| 10 | <area shape="rect" coords="180,18,297,111" href="./Execute" alt="" title="" /> |
| 11 | <area shape="rect" coords="344,17,460,110" href="./Finish" alt="" title="" /> |
| 12 | <area shape="rect" coords="493,136,495,138" href="http://www.image-maps.com/index.php?aff=mapped_users_5201305222028436" alt="Image Map" title="Image Map" /> |
| 13 | </map> |
| 14 | <!-- Image map text links - End - --> |
| 15 | |
| 16 | </div> |
| 17 | }}} |
| 18 | |
| 19 | |
| 20 | |
| 21 | == 1. Design the Experiment == |
| 22 | |
| 23 | {{{ |
| 24 | #!html |
| 25 | <table border="0"> |
| 26 | <tr> |
| 27 | <td > |
| 28 | <ol><li>In today's experiment you will use resources at the aggregate listed on your worksheet.</li> |
| 29 | </ol> |
| 30 | </td> |
| 31 | </tr> |
| 32 | </table> |
| 33 | }}} |
| 34 | |
| 35 | |
| 36 | == 3. Obtain Resources == |
| 37 | |
| 38 | You can use Flack or Omni to create your slice and allocate resources. The instructions here assume you are using Flack. |
| 39 | |
| 40 | === 3.1 Find your slice === |
| 41 | |
| 42 | On your portal home page, find the project (GEC17). Click on the project name and find the slice you created earlier in this tutorial. |
| 43 | |
| 44 | |
| 45 | |
| 46 | === 3.3 Reserve Two Virtual Machines at One Aggregate === |
| 47 | The Portal is integrated with a tool, Flack, which allows you to draw topologies of GENI resources and then reserve them. |
| 48 | |
| 49 | |
| 50 | {{{ |
| 51 | #!html |
| 52 | <table border="0"> |
| 53 | |
| 54 | <tr> |
| 55 | <td > |
| 56 | <ol> |
| 57 | <li>On the <i>Slice</i> tab, press the <b>Flack</b> button. Flack will open in a new tab.</li> |
| 58 | </ol> |
| 59 | </td> |
| 60 | <td> |
| 61 | |
| 62 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/launch_flack_v1.png?format=raw" alt="Launch Flack" height="250" title="Launch Flack" /> |
| 63 | <br /> |
| 64 | <b>Figure 3-3</b> <i>Launch Flack</i> |
| 65 | </td> |
| 66 | </tr> |
| 67 | <tr> |
| 68 | |
| 69 | <td > |
| 70 | <ol start='2'> |
| 71 | <li>Wait for Flack to load. You should see: your username, the slice name, and a list of aggregates. Flack should look like the picture to the right.</li> |
| 72 | </ol> |
| 73 | </td> |
| 74 | <td> |
| 75 | |
| 76 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/Flack_login_v1.png?format=raw" alt="Flack" height="350" title="Flack" /> |
| 77 | <br /> |
| 78 | <b>Figure 3-4</b> <i>Flack after it has loaded.</i> |
| 79 | </td> |
| 80 | </tr> |
| 81 | <tr> |
| 82 | <td > |
| 83 | <ol start='3'> |
| 84 | <li>Find the aggregate listed on your worksheet. </li> |
| 85 | <li>Click the <b>VM</b> box next to that aggregate and drag it onto the canvas.</li> |
| 86 | <li>Repeat the above step. You should now see two VM boxes on the canvas.</li> |
| 87 | <li>Now click near one of the VM boxes on the canvas, then click and drag towards the other VM. Release when you reach the other VM. You should now see a line and a box representing a link connecting the two VMs.</li> |
| 88 | <li>The canvas should now look like the picture on the right.</li> |
| 89 | <li>To edit the name of each VM, click the <b>i</b> in the circle.</li> |
| 90 | </ol> |
| 91 | </td> |
| 92 | <td> |
| 93 | |
| 94 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_highlight_v2.png?format=raw" alt="Two VMs connected by a link." height="350" title="Two VMs connected by a link." /> |
| 95 | <br /> |
| 96 | <b>Figure 3-5</b> <i>Two VMs connected by a link.</i> |
| 97 | </td> |
| 98 | </tr> |
| 99 | <tr> |
| 100 | |
| 101 | <td > |
| 102 | <ol start='9'> |
| 103 | |
| 104 | |
| 105 | <li>In the field at the top, replace "VM" with "client".</li> |
| 106 | <li>If you are using an ExoGENI rack, set the "Sliver Type" to "EC2Small". |
| 107 | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
| 108 | <tr> |
| 109 | <td> |
| 110 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/exogeni-logo.png?format=raw" width="50" height="50" alt="ExoGENI"> |
| 111 | </td> |
| 112 | <td>ExoGENI allows you to reserve machines of various sizes. We will use small ones for this tutorial to conserve resources.</td> |
| 113 | |
| 114 | </tr> |
| 115 | </table> |
| 116 | </li> |
| 117 | |
| 118 | </ol> |
| 119 | </td> |
| 120 | <td> |
| 121 | |
| 122 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/label_client_EG_highlight_v2.png?format=raw" alt="Relabel VM" height="350" title="Relabel VM" /> |
| 123 | <br /> |
| 124 | <b>Figure 3-6</b> <i>Edit the name of the VM. Set the Sliver Type on ExoGENI racks.</i> |
| 125 | </td> |
| 126 | </tr> |
| 127 | <tr> |
| 128 | <td > |
| 129 | <ol start='11'> |
| 130 | <li>Now click on the "Interfaces and Links" (middle tab with the "link" symbol").</li> |
| 131 | <li>Enter the Desired IP Address for this node.</li> |
| 132 | <li>Enter the Desired Mask of <i>255.255.255.0</i>.</li> |
| 133 | <li>Then Press "Apply" at the bottom of the screen.</li> |
| 134 | <li>Repeat the above six steps for the second VM, labeling it "server" and setting the server's Desired IP Address.</li> |
| 135 | </ol> |
| 136 | </td> |
| 137 | <td> |
| 138 | |
| 139 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/label_client_IP_highlight_v3.png?format=raw" alt="Relabel VM" height="350" title="Relabel VM" /> |
| 140 | <br /> |
| 141 | <b>Figure 3-7</b> <i>Edit the IP Address and Mask of the VM. </i> |
| 142 | </td> |
| 143 | </tr> |
| 144 | |
| 145 | |
| 146 | <tr> |
| 147 | <td > |
| 148 | <ol start='16'> |
| 149 | <li>Click the Submit button near the bottom of the page. When prompted, confirm you want to actually reserve resources. </li> |
| 150 | </ol> |
| 151 | </td> |
| 152 | <td> |
| 153 | |
| 154 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_labeled_highlight_v1.png?format=raw" alt="Two VMs connected by a link" height="350" title="Two VMs connected by a link" /> |
| 155 | <br /> |
| 156 | <b>Figure 3-8</b> <i>Two VMs connected by a link.</i> |
| 157 | </td> |
| 158 | </tr> |
| 159 | </table> |
| 160 | }}} |
| 161 | |
| 162 | |
| 163 | === 3.4 Check Whether Virtual Machines are Ready to be Used === |
| 164 | {{{ |
| 165 | #!html |
| 166 | <table> |
| 167 | <tr> |
| 168 | <td > |
| 169 | <ol> |
| 170 | <li>After clicking the Submit button, wait for the canvas to turn green. (This may take awhile.)</li> |
| 171 | <li>The canvas should now look like the picture on the right.</li> |
| 172 | </ol> |
| 173 | </td> |
| 174 | <td> |
| 175 | |
| 176 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_ready.png?format=raw" alt="Resources are ready" height="350" title="Resources are ready" /> |
| 177 | <br /> |
| 178 | <b>Figure 3-9</b> <i>Two VMs connected by a link are reserved and ready to login.</i> |
| 179 | </td> |
| 180 | </tr> |
| 181 | |
| 182 | |
| 183 | </table> |
| 184 | }}} |
| 185 | |
| 186 | |
| 187 | ---- |
| 188 | = [wiki:GEC17Agenda/GettingStartedWithGENI_I/Procedure Introduction] = |
| 189 | = [wiki:GEC17Agenda/GettingStartedWithGENI_I/Procedure/Execute Next: Execute] = |