Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/jFed/GettingStarted_PartI/Procedure/DesignSetup/ObtainResources


Ignore:
Timestamp:
07/06/15 00:23:33 (9 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/jFed/GettingStarted_PartI/Procedure/DesignSetup/ObtainResources

    v1 v1  
     1
     2
     3== 3.  Obtain Resources ==
     4
     5Now that you are a member of a project, you can create a slice and reserve resources.
     6
     7
     8=== 3.1 Create a slice ===
     9
     10{{{
     11#!html
     12<table border="0">
     13   
     14      <tr>
     15
     16       <td >
     17         <ol  type='a'>
     18            <li> Go to the <i>Projects </i> tab. </li>
     19           <li> Press the <b>Create Slice</b> button for this project.</li>
     20            <li> <FONT COLOR="black">Use the slice name on your worksheet. If you don't have a worksheet, use <i>lab0&lt;your initials&gt;</i>.  You can leave the description empty and press <b>Create Slice</b></font>
     21            </li>
     22 
     23
     24          </ol>
     25       </td>
     26       <td>
     27
     28        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/createslice_3_v2.png?format=raw" alt="Create a GENI Slice"  width="400" title="Create a GENI Slice" />
     29<br />
     30         <b>Figure 3-1</b> <i>Create a new slice.</i>
     31       </td>
     32    </tr>
     33 </table>
     34}}}
     35
     36=== 3.2 (optional) Renew your slice  ===
     37Slices and the resources within them are reserved until their individual ''expiration times''.  Renewing allows you to extend the expiration time of your slice and the resources in them.
     38{{{
     39#!html
     40
     41<table id="Table_01" border="0" cellpadding="5" cellspacing="0">
     42        <tr>
     43                <td>
     44                        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width="50" height="50" alt="Warning">
     45               </td>
     46<td>Slices and the resources within them have <i>distinct</i> expiration times.  You must renew <b>both</b> the slice and the resources separately.
     47</td>
     48        </tr>
     49</table>
     50}}}
     51
     52{{{
     53#!html
     54<table border="0">
     55      <tr>
     56
     57       <td >
     58         <ol  type='a'>
     59           <li>On the <i>Slice</i> page, select the <b>Renew slice only</b> radio button.</li>
     60<li>Click on the date below.  In the calendar that pops up, select a date in the near future.</li>
     61<li>Press <b>Renew</b> to renew the slice.  Renewing the slice now allows the resources to have longer initial expiration times.</li>
     62
     63         </ol>
     64       </td>
     65        <td>
     66        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/renew_slice_v3.png?format=raw" alt="Renew slice"  width="400" title="Renew Slice" />
     67<br />
     68         <b>Figure 3-2</b> <i>Renew the slice.</i></i>
     69       </td>
     70      </tr>
     71 </table>
     72}}}
     73
     74
     75
     76=== 3.3 Launch jFed to Reserve Two Virtual Machines at One Aggregate ===
     77
     78The Portal is integrated with a tool, jFed, which allows you to draw topologies of GENI resources and then reserve them. [[br]]
     79''If you are on a Mac, you must us the Firefox (recommended) or Safari browsers.''
     80
     81
     82{{{
     83#!html
     84<table border="0">
     85   
     86      <tr>
     87       <td >
     88         <ol  type='a'>
     89            <li>On the <i>Slice</i> tab, press the <b>jFed</b> button.  jFed will open in a new window.</li>
     90          </ol>
     91       </td>
     92       <td>
     93
     94        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_1.png?format=raw" alt="Launch jFed"  width="400" title="Launch jFed" />
     95<br />
     96         <b>Figure 3-3</b> <i>Launch jFed</i>
     97       </td>
     98    </tr>
     99      <tr>
     100
     101       <td >
     102         <ol  type='a' start='2'>
     103            <li>Wait for jFed to load. jFed should look like the picture to the right.  Click on the New to start a new experiment.  </li>
     104          </ol>
     105       </td>
     106       <td>
     107
     108        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/jFed-Main.png?format=raw" alt="jFed"  width="400" title="jFed" />
     109<br />
     110         <b>Figure 3-4</b> <i>jFed after it has loaded.</i>
     111       </td>
     112    </tr>
     113    <tr>
     114       <td >
     115         <ol  type='a' start='3'>
     116            <li>Find the aggregate listed on your worksheet.  </li>
     117            <li>Click the <b>VM</b> box and drag it onto the canvas.</li>
     118            <li>
     119
     120<table id="Table_03" border="0" cellpadding="5" cellspacing="0">
     121        <tr>
     122                <td>
     123                        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/instageni-logo.png?format=raw" width="50" height="50" alt="InstaGENI">
     124               </td>
     125               <td>
     126If you are using resources at an InstaGENI aggregate:
     127<pre>
     128    Click the <b>XEN VM</b> box and drag it onto the canvas.
     129</pre>
     130</td>
     131                   
     132        </tr>
     133</table>
     134
     135
     136
     137
     138<table id="Table_03" border="0" cellpadding="5" cellspacing="0">
     139        <tr>
     140                <td>
     141                        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/exogeni-logo.png?format=raw" width="50" height="50" alt="ExoGENI">
     142               </td>
     143               <td>
     144If you are using resources at an ExoGENI aggregate do:
     145<pre>
     146    Click the <b>VM</b> box and drag it onto the canvas.
     147</pre>
     148</td>
     149                   
     150        </tr>
     151</table>
     152</li>
     153            <li>To edit the node, double click on the node box.</li>
     154            <li> From the "Select testbed" drop-down, pick the aggregate assigned to you.  <b> DO NOT forget to do this </b></li>
     155            <li>Select the node and press the "Duplicate" button.  You should now see two node boxes on the canvas.</li>
     156            <li>Now click near one of the node boxes on the canvas, then click and drag towards the other node.  Release when you reach the other node.  You should now see a line and a box representing a link connecting the two nodes.</li>
     157            <li>The canvas should now look like the picture on the right.</li>
     158
     159          </ol>
     160       </td>
     161       <td>
     162
     163        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_6.png?format=raw" alt="Two nodes connected by a link."  width="400" title="Two nodes connected by a link." />
     164<br />
     165         <b>Figure 3-5</b> <i>Two nodes connected by a link.</i>
     166       </td>
     167    </tr>
     168      <tr>
     169
     170       <td >
     171         <ol  type='a' start='11'>
     172
     173            <li>To edit the name of each node, double click on the node box.</li>
     174            <li>In the "Name" field at the top, replace "node0" with "client".</li>
     175            <li>Repeat for the node labeled, "node1".  In the "Name" field at the top, replace "node1" with "server".</li>
     176
     177         </ol>
     178       </td>
     179       <td>
     180
     181        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_6.5.png?format=raw" alt="Relabel VM"  width="400" title="Relabel VM" />
     182<br />
     183         <b>Figure 3-6</b> <i>Edit the name of the VM.  Set the Sliver Type on ExoGENI racks.</i>
     184       </td>
     185    </tr>
     186    <tr>
     187       <td >
     188         <ol  type='a' start='14'>
     189            <li>Now click on the "link" box.</li>
     190            <li>Enter an IP Address for this node of <i>10.1.1.1</i>.</li>
     191            <li>Enter a Mask of <i>255.255.255.0</i>.</li>
     192            <li>On the next line down, set that interface to the server's IP address of <i>10.1.1.2</i> and a Mask of <i>255.255.255.0</i>.</li>
     193          </ol>
     194       </td>
     195       <td>
     196
     197        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_7.png?format=raw" alt="Relabel VM"  width="400" title="Relabel VM" />
     198<br />
     199         <b>Figure 3-7</b> <i>Edit the IP Address and Mask of the VM. </i>
     200       </td>
     201    </tr>
     202
     203
     204    <tr>
     205       <td >
     206         <ol  type='a' start='18'>
     207            <li>Click the <b>Run</b> button near the top of the window.</li>
     208          </ol>
     209       </td>
     210       <td>
     211
     212        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_8.png?format=raw" alt="Two VMs connected by a link"  width="400" title="Two VMs connected by a link" />
     213<br />
     214         <b>Figure 3-8</b> <i>Two VMs connected by a link.</i>
     215       </td>
     216    </tr>
     217
     218
     219    <tr>
     220       <td >
     221         <ol  type='a' start='19'>
     222            <li>When prompted, pick experiment details, such as your slice, and then hit OK. </li>
     223          </ol>
     224       </td>
     225       <td>
     226
     227        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_9.png?format=raw" alt="Pick Experiment Details"  width="400" title="Pick Experiment Details" />
     228<br />
     229         <b>Figure 3-9</b> <i>Pick Experiment Details.</i>
     230       </td>
     231    </tr>
     232 </table>
     233}}}
     234
     235
     236=== 3.4 Check Whether Virtual Machines are Ready to be Used ===
     237{{{
     238#!html
     239<table>
     240    <tr>
     241       <td >
     242         <ol  type='a' type='a'>
     243            <li>After clicking the OK button, wait for the canvas to turn green.  (This may take awhile.)</li>
     244            <li>If the canvas doesn't eventually turn green, press the "Update Status" button.</li>
     245            <li>The canvas should now look like the picture on the right.</li>
     246          </ol>
     247       </td>
     248       <td>
     249
     250        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_10.png?format=raw" alt="Resources are ready"  width="400" title="Resources are ready" />
     251<br />
     252         <b>Figure 3-9</b> <i>Reservation complete. Nodes are ready to login.</i>
     253       </td>
     254    </tr>
     255
     256
     257 </table>
     258}}}