| 188 | |
| 189 | = Obtain Resources: create a slice and reserve resources = |
| 190 | Introduction: [wiki:GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example Getting Started with GENI using the GENI Portal] |
| 191 | {{{ |
| 192 | #!html |
| 193 | <table id="Table_01" height="205" border="0" cellpadding="0" cellspacing="0"> |
| 194 | <tr> |
| 195 | <td> |
| 196 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/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> |
| 197 | </td> |
| 198 | <td> |
| 199 | <ul> |
| 200 | <li><b>Part I: Design/Setup</b></li> |
| 201 | <ul> |
| 202 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example/SetupAccount">Step 1: Establish Management Environment: Setup your GENI account and join a GENI Project</a></li> |
| 203 | <li><b><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example/ObtainResources">Step 2: Obtain Resources: Create a slice and reserve resources</a></b></li> |
| 204 | </ul></ul> |
| 205 | </td> |
| 206 | </tr> |
| 207 | <tr> |
| 208 | <td> |
| 209 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/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> |
| 210 | </td> |
| 211 | <td> |
| 212 | <ul> |
| 213 | <li>Part II: Execute</li> |
| 214 | <ul> |
| 215 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example/ExecuteExperiment">Execute Experiment: Login to nodes and execute a simple layer 2 experiment</a> </li> |
| 216 | </ul></ul> |
| 217 | </td> |
| 218 | </tr> |
| 219 | <tr> |
| 220 | <td> |
| 221 | <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/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> |
| 222 | </td> |
| 223 | |
| 224 | <td> |
| 225 | <ul> |
| 226 | <li>Part III: Finish</li> |
| 227 | <ul> |
| 228 | <li><a href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example/TeardownExperiment">Teardown Experiment: Delete Resources</a></li> |
| 229 | </ul></ul> |
| 230 | </td> |
| 231 | |
| 232 | </tr> |
| 233 | </table> |
| 234 | |
| 235 | }}} |
| 236 | |
| 237 | |
| 238 | |
| 239 | = Instructions = |
| 240 | |
| 241 | Now that you are a member of a project, you can create a slice and reserve resources. |
| 242 | |
| 243 | == 1. Create a slice == |
| 244 | |
| 245 | {{{ |
| 246 | #!html |
| 247 | <table border="0"> |
| 248 | |
| 249 | <tr> |
| 250 | |
| 251 | <td > |
| 252 | <ol> |
| 253 | <li> Go to the <i>Home</i> tab. </li> |
| 254 | <li> Press the <b>Create Slice</b> button for this project.</li> |
| 255 | <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> |
| 256 | </li> |
| 257 | |
| 258 | |
| 259 | </ol> |
| 260 | </td> |
| 261 | <td> |
| 262 | |
| 263 | <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" /> |
| 264 | <br /> |
| 265 | <b>Figure 1.1</b> <i>Create a new slice.</i> |
| 266 | </td> |
| 267 | </tr> |
| 268 | </table> |
| 269 | }}} |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | == 2. Reserve Virtual Machines at Two Aggregates == |
| 275 | |
| 276 | For this tutorial, we have manually reserved a VLAN (a layer 2 circuit) from a GENI rack in Utah (''Utah InstaGENI'') to a GENI rack in Massachusetts (''GPO InstaGENI''). |
| 277 | |
| 278 | Now reserve a virtual machine (VM) connected to each end of the manually configured VLAN. |
| 279 | |
| 280 | {{{ |
| 281 | #!html |
| 282 | |
| 283 | <table id="Table_01" border="0" cellpadding="5" cellspacing="0"> |
| 284 | <tr> |
| 285 | <td> |
| 286 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width="50" height="50" alt="Warning"> |
| 287 | </td> |
| 288 | <td> |
| 289 | 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. |
| 290 | </td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | }}} |
| 294 | |
| 295 | First, reserve a VM on the Utah end of the VLAN. This node will be refered to as the "client". |
| 296 | |
| 297 | {{{ |
| 298 | #!html |
| 299 | <table border="0"> |
| 300 | <tr> |
| 301 | |
| 302 | <td > |
| 303 | <ol> |
| 304 | <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 a minute or two. Do not reload the page or press the back button while waiting.</li> |
| 305 | </ol> |
| 306 | </td> |
| 307 | <td> |
| 308 | <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" /> |
| 309 | <br /> |
| 310 | <b>Figure 2.1</b> <i>Add resources at </i>Utah InstaGENI<i>.</i> |
| 311 | </td> |
| 312 | </tr> |
| 313 | </table> |
| 314 | }}} |
| 315 | |
| 316 | |
| 317 | |
| 318 | Second, reserve a virtual machine connected to the Massachusetts end of the manually configured VLAN. This node will be refered to as the "server". |
| 319 | |
| 320 | {{{ |
| 321 | #!html |
| 322 | <table border="0"> |
| 323 | <tr> |
| 324 | |
| 325 | <td > |
| 326 | <ol start='2'> |
| 327 | <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> |
| 328 | </ol> |
| 329 | </td> |
| 330 | <td> |
| 331 | <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" /> |
| 332 | <br /> |
| 333 | <b>Figure 2.2</b> <i>Add resources at </i>GPO InstaGENI<i>.</i> |
| 334 | </td> |
| 335 | </tr> |
| 336 | </table> |
| 337 | }}} |
| 338 | |
| 339 | |
| 340 | == 3. Check Whether Virtual Machines are Ready to be Used == |
| 341 | |
| 342 | It takes some time for the VMs to boot. Check to see if they are up. |
| 343 | |
| 344 | {{{ |
| 345 | #!html |
| 346 | <table border="0"> |
| 347 | |
| 348 | <tr> |
| 349 | |
| 350 | <td> |
| 351 | <ol> |
| 352 | <li><FONT COLOR="black">Return to the <i>Slice</i> page. Press the <b>Get All</b> button in the aggregate table.</font></li> |
| 353 | </ol> |
| 354 | </td> |
| 355 | <td> |
| 356 | <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" /> |
| 357 | <br /> |
| 358 | <b>Figure 3.1</b> <i>Get the status at all aggregates.</i> |
| 359 | </td> |
| 360 | </tr> |
| 361 | <tr> |
| 362 | |
| 363 | <td > |
| 364 | <ol start='2'> |
| 365 | <li>The rows for <i>GPO InstaGENI</i> and <i>Utah InstaGENI</i> should say <i>READY</i> against a green background and look as shown on the left. </li> |
| 366 | <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> |
| 367 | </ol> |
| 368 | </td> |
| 369 | <td> |
| 370 | <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" /> |
| 371 | <br /> |
| 372 | <b>Figure 3.2</b> <i>Resources at </i>Utah InstaGENI<i> and </i>GPO InstaGENI<i> are green to indicate they are ready.</i> |
| 373 | </td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | }}} |
| 377 | |
| 378 | |