Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute/GEMINI


Ignore:
Timestamp:
06/17/16 11:29:32 (8 years ago)
Author:
tteixeir@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute/GEMINI

    v1 v1  
     1= Appendix for the [wiki:GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Setup  Understanding the AM API using Named Data Networking] Exercise =
     2
     3
     4== 5.2 Visualizing your Named Data Networking (NDN) application using the GENI Desktop ==
     5
     6These are instructions for the optional part of the [wiki:GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Setup Understanding the AM API using a Named Data Networking application] tutorial.  Make sure you have completed the instructions at [wiki:GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute#a5 Trying out the NDN Application] before you continue.
     7
     8=== 5.2.1 Launch the GENI Desktop ===
     9
     10{{{
     11#!html
     12<table>
     13<tr>
     14   <td>
     15   <ol type='a'>
     16      <li> Find your slice in the <a href="http://portal.geni.net"> GENI Portal </a> and click on the GENI Desktop button</li>
     17    </ol>
     18    </td>
     19    <td>
     20     <img style="border:1px solid black;"
     21           src="http://192.1.242.151/images/Tools_GENI_Desktop.png?format=raw" width="500" />
     22     <br />
     23     <b>Figure 5-1</b> Click on the <i>GENI Desktop</i> button in the Slice Tools section of your Slice page.
     24     </td>
     25</tr>
     26<tr>
     27  <td>
     28   <ol type='a' start='2'>
     29      <li> Before the GENI Desktop launches, it will ask for authorization.  Follow the instructions to click on the button. </li>
     30   </ol>
     31   </td>
     32 <td>
     33   <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-Authorize.png?format=raw" width="500" />
     34 <br />
     35     <b>Figure 5-2</b> Click on the <i>Authorize the GENI Desktop</i> button.
     36   </td>
     37</tr>
     38<tr>
     39  <td>
     40   <ol type='a' start='3'>
     41      <li>It will ask for you to choose your member authority.</li>
     42   </ol>
     43   </td>
     44 <td>
     45   <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-SelAuth.png?format=raw" width="500" />
     46 <br />
     47     <b>Figure 5-3</b> Click on your member authority.
     48   </td>
     49</tr>
     50<tr>
     51  <td>
     52   <ol type='a' start='4'>
     53      <li>A pop-up will ask you to <b>Add Global Node</b>. Go ahead and add a Global Node.</li>
     54   </ol>
     55   </td>
     56</tr>
     57<tr>
     58  <td>
     59   <ol type='a' start='5'>
     60      <li>The next screen will welcome you to the GENI Desktop.  Wait until the tool is ready.  This may take several minutes to complete. It should look like the image on the right when it is done.</li>
     61   </ol>
     62   </td>
     63 <td>
     64   <img style="border:1px solid black;" src="http://192.1.242.151/images/GENI_Desktop_Welcome.png?format=raw" width="500" />
     65 <br />
     66     <b>Figure 5-4</b> <i>GENI Desktop Welcome</i>.
     67   </td>
     68</tr>
     69</table>
     70}}}
     71
     72=== 5.2.2 Setting up the visualization ===
     73
     74We are now ready to graph traffic on the four links of the topology. 
     75{{{
     76#!html
     77<table>
     78<tr>
     79   <td>
     80   <ol type='a'>
     81     <li> Click on the <i> Passive Graphs Lite </i> in the menu that pops up. </li>
     82   </ol>
     83   </td>
     84   <td>
     85    <img style="border:1px solid black;" src="http://192.1.242.151/images/Passive_Graphs.png?format=raw" width="500"  />
     86    </td>
     87 </tr>
     88<tr>
     89   <td>
     90   <ol type='a' start ='2'>
     91     <li> On the GEMINI Graphs menu that pops up, deselect all boxes and select <i>linkoctets</i>.  We will be graphing the number of bytes (a.k.a octets) on the links. </li>
     92   </ol>
     93   </td>
     94   <td>
     95    <img style="border:1px solid black;" src="http://192.1.242.151/images/Links_and_Topology.png" width="500" />
     96    </td>
     97 </tr>
     98<tr>
     99   <td>
     100   <ol type='a' start ='3'>
     101     <li>  Select all of the links in the experiment: (1) Press the SHIFT button and then click on all of the links in turn to select them and (2) Click on <i>Add Graphs with Title</i>.  For each link you will get a graph showing the number of octets going in and out of each interface on the link.   (See figure.) </li>
     102     <li> You can close the GEMINI Graphs menu.</li>
     103   </ol>
     104   </td>
     105   <td>
     106    <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-Graphs2.png?format=raw" width="500"  />
     107    </td>
     108 </tr>
     109</table>
     110}}}
     111
     112=== 5.2.3 Visualizing your Experiment ===
     113
     114a. At this point you will see four graphs showing traffic on each of the four links on your experiment.  The traffic you see on the links is broadcast traffic from the switch on the rack to which these nodes connect.  It is not related to your experiment.
     115
     116{{{
     117#!html
     118<table>
     119<tr>
     120   <td>
     121   <ol>
     122     <li> Go back to the ssh window you used to log into the researcher node (a.k.a. <tt>user</tt>) when you did the CCN exercise.  </li>
     123     <li> Use the <tt> /opt/ccnx-atmos/client.py </tt> program to fetch precipitation data for a time period you had not previously fetched.  This is to make sure the data will be fetched from the data source (<tt>data</tt>) and not from the cache at some node.  The time period must be between 1 Jan 1902 and 31 Jan 1902. </li>
     124   </ol>
     125   </td>
     126</tr>
     127</table>
     128}}}
     129
     130b. Your graphs should now show traffic on the {{{router-dsrc1}}} and {{{link0}}} links (see example below).  The graph on the left is the network being quiet, while the graph on the right shows traffic flowing. This is because the precipitation data was not cached anywhere and had to be fetched from the data source. ''Please take note that the graphs are not scaled for direct comparison and take careful note of whether the max Y values are in bytes or kilobytes.''
     131
     132 [[Image(http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-CmpTraf.png?format=raw, nolink, 50%)]]
     133
     134c. Fetch the same data again.  Notice there is no experiment traffic on the links.  This is because the data was fetched from the cache on the node {{{user}}}.
     135
     136d. You can investigate the CCN application further:
     137    1. Log into the collaborator node ({{{user-1}}}) to fetch data that was previously fetched by the researcher node ({{{user}}}).  Can you tell from where the data is fetched based on the graphs?
     138    2. From the collaborator node fetch data that was not previously fetched by the researcher.  Where did the data come from this time?
     139
     140== Cleaning up ==
     141Go back to the [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Finish CCN exercise] to free up the resources you used in this experiment.