189 | | = Obtain Resources: create a slice and reserve resources = |
190 | | |
191 | | Now that you are a member of a project, you can create a slice and reserve resources. |
192 | | |
193 | | == 1. Create a slice == |
194 | | |
195 | | {{{ |
196 | | #!html |
197 | | <table border="0"> |
198 | | |
199 | | <tr> |
200 | | |
201 | | <td > |
202 | | <ol> |
203 | | <li> Go to the <i>Home</i> tab. </li> |
204 | | <li> Press the <b>Create Slice</b> button for this project.</li> |
205 | | <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> |
206 | | </li> |
207 | | |
208 | | |
209 | | </ol> |
210 | | </td> |
211 | | <td> |
212 | | |
213 | | <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" /> |
214 | | <br /> |
215 | | <b>Figure 1.1</b> <i>Create a new slice.</i> |
216 | | </td> |
217 | | </tr> |
218 | | </table> |
219 | | }}} |
220 | | |
221 | | |
222 | | |
223 | | |
224 | | == 2. Reserve Virtual Machines at Two Aggregates == |
225 | | |
226 | | 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''). |
227 | | |
228 | | Now reserve a virtual machine (VM) connected to each end of the manually configured VLAN. |
229 | | |
230 | | {{{ |
231 | | #!html |
232 | | |
233 | | <table id="Table_01" border="0" cellpadding="5" cellspacing="0"> |
234 | | <tr> |
235 | | <td> |
236 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width="50" height="50" alt="Warning"> |
237 | | </td> |
238 | | <td> |
239 | | 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. |
240 | | </td> |
241 | | </tr> |
242 | | </table> |
243 | | }}} |
244 | | |
245 | | First, reserve a VM on the Utah end of the VLAN. This node will be refered to as the "client". |
246 | | |
247 | | {{{ |
248 | | #!html |
249 | | <table border="0"> |
250 | | <tr> |
251 | | |
252 | | <td > |
253 | | <ol> |
254 | | <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> |
255 | | </ol> |
256 | | </td> |
257 | | <td> |
258 | | <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" /> |
259 | | <br /> |
260 | | <b>Figure 2.1</b> <i>Add resources at </i>Utah InstaGENI<i>.</i> |
261 | | </td> |
262 | | </tr> |
263 | | </table> |
264 | | }}} |
265 | | |
266 | | |
267 | | |
268 | | Second, reserve a virtual machine connected to the Massachusetts end of the manually configured VLAN. This node will be refered to as the "server". |
269 | | |
270 | | {{{ |
271 | | #!html |
272 | | <table border="0"> |
273 | | <tr> |
274 | | |
275 | | <td > |
276 | | <ol start='2'> |
277 | | <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> |
278 | | </ol> |
279 | | </td> |
280 | | <td> |
281 | | <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" /> |
282 | | <br /> |
283 | | <b>Figure 2.2</b> <i>Add resources at </i>GPO InstaGENI<i>.</i> |
284 | | </td> |
285 | | </tr> |
286 | | </table> |
287 | | }}} |
288 | | |
289 | | |
290 | | == 3. Check Whether Virtual Machines are Ready to be Used == |
291 | | |
292 | | It takes some time for the VMs to boot. Check to see if they are up. |
293 | | |
294 | | {{{ |
295 | | #!html |
296 | | <table border="0"> |
297 | | |
298 | | <tr> |
299 | | |
300 | | <td> |
301 | | <ol> |
302 | | <li><FONT COLOR="black">Return to the <i>Slice</i> page. Press the <b>Get All</b> button in the aggregate table.</font></li> |
303 | | </ol> |
304 | | </td> |
305 | | <td> |
306 | | <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" /> |
307 | | <br /> |
308 | | <b>Figure 3.1</b> <i>Get the status at all aggregates.</i> |
309 | | </td> |
310 | | </tr> |
311 | | <tr> |
312 | | |
313 | | <td > |
314 | | <ol start='2'> |
315 | | <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> |
316 | | <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> |
317 | | </ol> |
318 | | </td> |
319 | | <td> |
320 | | <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" /> |
321 | | <br /> |
322 | | <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> |
323 | | </td> |
324 | | </tr> |
325 | | </table> |
326 | | }}} |
327 | | |
328 | | |