Changes between Initial Version and Version 1 of SarahEdwards/GettingStarted_PartII_ccn/Appendix


Ignore:
Timestamp:
06/12/15 13:53:31 (9 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SarahEdwards/GettingStarted_PartII_ccn/Appendix

    v1 v1  
     1= Appendix for the [wiki:GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ccn/Procedure  Understanding the AM API using Content Centric Networking] Exercise =
     2
     3
     4== 5.2 Visualizing your Content Centric Networking (CCN) application using the GENI Desktop ==
     5
     6These are instructions for the optional part of the [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Setup Understanding the AM API using a Content Centric Networking application] tutorial.  Make sure you have completed the instructions at [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute#a5.1RuntheCCNapplication] 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://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute/GEMINI/GENIDesktopButtonCropped.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>On the next screen, choose the <b>Add Global Node</b> button.</li>
     54   </ol>
     55   </td>
     56 <td>
     57   <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-AddGlobalNode.png?format=raw" width="500" />
     58 <br />
     59     <b>Figure 5-4</b> Click on <i>Add Global Node</i>.
     60   </td>
     61</tr>
     62<tr>
     63  <td>
     64   <ol type='a' start='5'>
     65      <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>
     66   </ol>
     67   </td>
     68 <td>
     69   <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-Welcome.png?format=raw" width="500" />
     70 <br />
     71     <b>Figure 5-5</b> <i>GENI Desktop Welcome</i>.
     72   </td>
     73</tr>
     74</table>
     75}}}
     76
     77=== 5.2.2 Setting up the visualization ===
     78
     79We are now ready to graph traffic on the three links of our topology. 
     80{{{
     81#!html
     82<table>
     83<tr>
     84   <td>
     85   <ol type='a'>
     86     <li> Click on the <i> Passive Graphs Lite </i> in the menu that pops up. </li>
     87   </ol>
     88   </td>
     89   <td>
     90    <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-PickGraphs.png?format=raw" width="500"  />
     91    </td>
     92 </tr>
     93<tr>
     94   <td>
     95   <ol type='a' start ='2'>
     96     <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>
     97   </ol>
     98   </td>
     99   <td>
     100    <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute/GEMINI/desktop-addGraphsCropped.png?format=raw" width="500" />
     101    </td>
     102 </tr>
     103<tr>
     104   <td>
     105   <ol type='a' start ='3'>
     106     <li> For each of the links in the experiment: (1) Click on the link to select it 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>
     107     <li> You can close the GEMINI Graphs menu.</li>
     108   </ol>
     109   </td>
     110   <td>
     111    <img style="border:1px solid black;" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-Graphs2.png?format=raw" width="500"  />
     112    </td>
     113 </tr>
     114</table>
     115}}}
     116
     117=== 5.2.3 Visualizing your Experiment ===
     118
     119a. At this point you will see three graphs showing traffic on each of the three 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.
     120
     121{{{
     122#!html
     123<table>
     124<tr>
     125   <td>
     126   <ol>
     127     <li> Go back to the ssh window you used to log into the researcher node when you did the CCN exercise.  </li>
     128     <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>dsrc1</tt>) and not from the cache at some node.  The time period must be between 1 Jan 1902 and 31 Jan 1902. </li>
     129   </ol>
     130   </td>
     131</tr>
     132</table>
     133}}}
     134
     135b. Your graphs should now show traffic on the {{{rschr-router}}} and {{{router-dsrc1}}} 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.''
     136
     137 [[Image(http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Images/GENIDesktop-CmpTraf.png?format=raw, nolink, 70%)]]
     138
     139c. 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 {{{rsrchr}}}.
     140
     141d. You can investigate the CCN application further:
     142    1. Log into the collaborator node ({{{collab}}}) to fetch data that was previously fetched by the researcher node ({{{rschr}}}).  Can you tell from where the data is fetched based on the graphs?
     143    2. From the collaborator node fetch data that was not previously fetched by the researcher.  Where did the data come from this time?
     144
     145== Cleaning up ==
     146Go back to the [wiki:GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Finish CCN exercise] to free up the resources you used in this experiment.