Changes between Version 1 and Version 2 of GEC17Agenda/GettingStartedWithGENI_II/Exercise2/Procedure/DesignSetup


Ignore:
Timestamp:
07/19/13 14:55:21 (11 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC17Agenda/GettingStartedWithGENI_II/Exercise2/Procedure/DesignSetup

    v1 v2  
    3838You can use Flack or Omni to create your slice and allocate resources.  The instructions here assume you are using Flack.
    3939
    40 === 3.1 Find your slice ===
    41 
    4240On your portal home page, find the project (GEC17).  Click on the project name and find the slice you created earlier in this tutorial.
    4341
    4442
     43=== 3.3 Reserve Two Virtual Machines at One Aggregate ===
     44We will use the same topology used in the previous exercises: Two nodes connected by a link.
    4545
    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.
     46'''If you are using an ExoGENI Rack:''' The RSpec you will need is at http://protogeni.net/gec17tut2eg.rspec.
    4847
     48'''If you are using an InstaGENI Rack:'''  The RSpec you will need is at http://protogeni.net/gec17tut2.rspec.
    4949
    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>
     50You can import this RSpec into Flack or use it with Omni.  Please use the same aggregate (rack) you used for your other exercises. 
    6151
    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>
     52Wait until the Flack canvas turns green.  If you are using Omni, wait until readyToLogin.py tells you your resources are ready and gives you ssh commands you can use to log into your nodes.
    6853
    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 }}}
     54'''ExoGENI Only:'''  When the Flack canvas turns green you will notice the nodes do have have ssh information available.  You will have to refresh your slice by clicking on the green "refresh" button to the right of the "Submit" button.  Click "yes" when you get the pop-up asking if you really want to refresh the slice.  After the slice is refreshed, you should see ssh information (ip address and port number) next to the node icons.
    18555
    18656
    18757----
    188 = [wiki:GEC17Agenda/GettingStartedWithGENI_I/Procedure Introduction] =
     58= [wiki:GEC17Agenda/GettingStartedWithGENI_II/Exercise2/Procedure Introduction] =
    18959= [wiki:GEC17Agenda/GettingStartedWithGENI_I/Procedure/Execute Next:  Execute] =