Changes between Version 17 and Version 18 of GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ndn/Procedure/Setup


Ignore:
Timestamp:
02/15/19 12:39:57 (5 years ago)
Author:
Hussamuddin Nasir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ndn/Procedure/Setup

    v17 v18  
    55
    66<div style="text-align:center; width:495px; margin-left:auto; margin-right:auto;">
    7 <img id="Image-Maps_5201305222028436" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" />
     7<img id="Image-Maps_5201305222028436" src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" />
    88<map id="_Image-Maps_5201305222028436" name="Image-Maps_5201305222028436">
    99<area shape="rect" coords="18,18,135,110" href="./Setup" alt="" title=""    />
     
    4646<table style="width:100%">
    4747    <tr>
    48         <td>
    49             <ol type='a'>
    50                 <li>Login to the <a href="http://portal.geni.net"> GENI Portal </a> </li>
    51                 <li> Click on the `Profile tab` link on the top of your
    52            screen. Then click on the `Configure omni` tab under
    53            `PROFILE`.</li>
    54             </ol>
    55         </td>
    56         <td align="right">
    57             <img
    58             src="https://github.com/GENI-NSF/geni-tutorials/raw/master/GRAPHICS/ConfigureOmniTab.png"
    59             width="400" /> <br/>
    60             <b>Figure 2-1</b> Click on the <i>Configure omni</i> tab under
    61             <i>Profile</i>.
    62         </td>
    63     </tr>
    64 
    65     <tr>
    66         <td>
    67             <ol type='a' start='3'>
    68                 <li> Click on the `Download your omni data` button under step 2. </li>
    69             </ol>
    70         </td>
    71         <td align="right">
    72             <img
    73             src="https://github.com/GENI-NSF/geni-tutorials/raw/master/GRAPHICS/DownloadOmniData.jpg"
    74             width="400" /> <br/>
    75             <b>Figure 2-2</b> <i>Download your omni data</i> under step 2.
    76         </td>
    77     </tr>
    78 
    79     <tr>
    80         <td>
    81             <ol type='a' start='4'>
    82             <li> If this is the first time you try to access your GENI
    83             certificate you will have to generate one. Click on the
    84             `generate a certificate` link.</li>
    85             </ol>
    86         </td>
    87         <td align="right">
    88             <img
    89             src="https://github.com/GENI-NSF/geni-tutorials/raw/master/GRAPHICS/GenerateCertLink.jpg"
    90             width="400" /> <br/>
    91             <b>Figure 2-3</b> Click on <i>Generate a certificate</i>.</i>
    92         </td>
    93     </tr>
    94     <tr>
    95         <td>
    96             <ol type='a' start='5'>
    97                 <li> Unless you really understand how SSL certificates
    98                 work, choose the simple option. Click on the `Generate
    99                 Combined Certificate and Key File` button and then click on
    100                 `Close`.  You will be taken back to the download page with
    101                 the warning.  Reload the page to enable the download
    102                 button.</li>
    103             </ol>
    104         </td>
    105         <td align="right">
    106             <img
    107             src="https://github.com/GENI-NSF/geni-tutorials/raw/master/GRAPHICS/SimpleOption.jpg"
    108             width="350"/> <br/>
    109             <b>Figure 2-4</b> Click on <i>Generate Combined Certificate and Key File</i>.
    110         </td>
    111     </tr>
    112     <tr>
    113         <td>
    114             <ol type='a' start='6'>
    115                 <li> If you are a member of more than one project, select
    116                 which project you would like to be the default one for
    117                 running experiments in GENI. You can always change the
    118                 project that is used by the `-r` command line option of
    119                 Omni.  Then click on `Download your omni data`.</li>
    120             </ol>
    121         </td>
    122         <td align="right">
    123             <img
    124             src="https://github.com/GENI-NSF/geni-tutorials/raw/master/GRAPHICS/DownloadOmniData.jpg"
    125             width="400"/>  <br/>
    126             <b>Figure 2-5</b> Click on <i>Download your omni data</i>.
    127         </td>
     48  <td>
     49      <ol type='a'>
     50    <li>Login to the <a href="http://portal.geni.net"> GENI Portal </a> </li>
     51    <li> Click on the `Profile tab` link on the top of your
     52     screen. Then click on the `Configure omni` tab under
     53     `PROFILE`.</li>
     54      </ol>
     55  </td>
     56  <td align="right">
     57      <img
     58      src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/ConfigureOmniTab.png"
     59      width="400" /> <br/>
     60      <b>Figure 2-1</b> Click on the <i>Configure omni</i> tab under
     61      <i>Profile</i>.
     62  </td>
     63    </tr>
     64
     65    <tr>
     66  <td>
     67      <ol type='a' start='3'>
     68    <li> Click on the `Download your omni data` button under step 2. </li>
     69      </ol>
     70  </td>
     71  <td align="right">
     72      <img
     73      src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/DownloadOmniData.jpg"
     74      width="400" /> <br/>
     75      <b>Figure 2-2</b> <i>Download your omni data</i> under step 2.
     76  </td>
     77    </tr>
     78
     79    <tr>
     80  <td>
     81      <ol type='a' start='4'>
     82      <li> If this is the first time you try to access your GENI
     83      certificate you will have to generate one. Click on the
     84      `generate a certificate` link.</li>
     85      </ol>
     86  </td>
     87  <td align="right">
     88      <img
     89      src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/GenerateCertLink.jpg"
     90      width="400" /> <br/>
     91      <b>Figure 2-3</b> Click on <i>Generate a certificate</i>.</i>
     92  </td>
     93    </tr>
     94    <tr>
     95  <td>
     96      <ol type='a' start='5'>
     97    <li> Unless you really understand how SSL certificates
     98    work, choose the simple option. Click on the `Generate
     99    Combined Certificate and Key File` button and then click on
     100    `Close`.  You will be taken back to the download page with
     101    the warning.  Reload the page to enable the download
     102    button.</li>
     103      </ol>
     104  </td>
     105  <td align="right">
     106      <img
     107      src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/SimpleOption.jpg"
     108      width="350"/> <br/>
     109      <b>Figure 2-4</b> Click on <i>Generate Combined Certificate and Key File</i>.
     110  </td>
     111    </tr>
     112    <tr>
     113  <td>
     114      <ol type='a' start='6'>
     115    <li> If you are a member of more than one project, select
     116    which project you would like to be the default one for
     117    running experiments in GENI. You can always change the
     118    project that is used by the `-r` command line option of
     119    Omni.  Then click on `Download your omni data`.</li>
     120      </ol>
     121  </td>
     122  <td align="right">
     123      <img
     124      src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/DownloadOmniData.jpg"
     125      width="400"/>  <br/>
     126      <b>Figure 2-5</b> Click on <i>Download your omni data</i>.
     127  </td>
    128128    </tr>
    129129</table>
     
    131131<table>
    132132    <tr>
    133         <td>
    134             <ol type='a' start='7'>
    135                 <li> The bundle will be saved at <code>~/Downloads/omni.bundle</code> </li>
    136                 <li>Open a terminal window and type:<pre
    137                 class="wiki">omni-configure</pre>The cert and key files you need will
    138                 be installed in the appropriate folders.</li>
    139             </ol>
    140         </td>
     133  <td>
     134      <ol type='a' start='7'>
     135    <li> The bundle will be saved at <code>~/Downloads/omni.bundle</code> </li>
     136    <li>Open a terminal window and type:<pre
     137    class="wiki">omni-configure</pre>The cert and key files you need will
     138    be installed in the appropriate folders.</li>
     139      </ol>
     140  </td>
    141141    </tr>
    142142</table>
     
    161161<table style="width:100%">
    162162    <tr>
    163         <td>
    164             <ol type='a'>
    165                 <li>In the Portal, launch jFed for this slice.</li>
    166                 <li>From the <b>jFed Experimenter Toolkit</b> menu (see figure), select the <b>Open URL</b> button.</li>
    167             </ol>
    168         </td>
    169         <td align="right">
    170             <img border="0"
    171             src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/IntroPage.png?format=raw"
    172             width=400 alt="Import an RSpec into jFed"  title="Import an RSpec into jFed" />  <br/>
    173             <b>Figure 3-1</b> <i>Import an RSpec into jFed.</i>
    174         </td>
    175     </tr>
    176 </table>
    177 
    178 <table style="width:100%">
    179     <tr>
    180         <td>
    181             <ol type='a' start='3'>
    182                 <li>Enter the URL for the RSpec: <br>
    183                 <tt>https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/LabOne/ndn/lab1-ndn-rspec.xml</tt><br>
    184                 then click <b>Ok</b>.<br/> </li>
    185                 <li>When jFed pops up a message asking you to pick a manager to use, select the manager listed on your worksheet from the
    186                 list. After you pick an aggregate manager, a network topology should appear
    187                 on the canvas.
    188                 <table id="Table_01" border="0" cellpadding="5" cellspacing="0">
    189                     <tr>
    190                         <td>
    191                             Because this RSpec file contains a generic description of resources and does not specify any particular aggregate manager, jFed will pop up a message asking you to specify an aggregate to use: <br/>
    192                             <i>Assign these nodes now ....</i>
    193                         </td>
    194                         <td align="right">
    195                             <img border="0"
    196                             src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/AM_window.png?format=raw"
    197                             width="400" alt="Pick Aggregate Manager"  title="Pick Aggregate Manager" /> <br />
    198                             <b>Figure 3-2</b> <i>Pick an Aggregate Manager.</i>
    199                         </td>
    200                     </tr>
    201                 </table>
    202                 </li>
    203             </ol>
    204         </td>
     163  <td>
     164      <ol type='a'>
     165    <li>In the Portal, launch jFed for this slice.</li>
     166    <li>From the <b>jFed Experimenter Toolkit</b> menu (see figure), select the <b>Open URL</b> button.</li>
     167      </ol>
     168  </td>
     169  <td align="right">
     170      <img border="0"
     171      src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/IntroPage.png?format=raw"
     172      width=400 alt="Import an RSpec into jFed"  title="Import an RSpec into jFed" />  <br/>
     173      <b>Figure 3-1</b> <i>Import an RSpec into jFed.</i>
     174  </td>
     175    </tr>
     176</table>
     177
     178<table style="width:100%">
     179    <tr>
     180  <td>
     181      <ol type='a' start='3'>
     182    <li>Enter the URL for the RSpec: <br>
     183    <tt>https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/LabOne/ndn/lab1-ndn-rspec.xml</tt><br>
     184    then click <b>Ok</b>.<br/> </li>
     185    <li>When jFed pops up a message asking you to pick a manager to use, select the manager listed on your worksheet from the
     186    list. After you pick an aggregate manager, a network topology should appear
     187    on the canvas.
     188    <table id="Table_01" border="0" cellpadding="5" cellspacing="0">
     189        <tr>
     190      <td>
     191          Because this RSpec file contains a generic description of resources and does not specify any particular aggregate manager, jFed will pop up a message asking you to specify an aggregate to use: <br/>
     192          <i>Assign these nodes now ....</i>
     193      </td>
     194      <td align="right">
     195          <img border="0"
     196          src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/AM_window.png?format=raw"
     197          width="400" alt="Pick Aggregate Manager"  title="Pick Aggregate Manager" /> <br />
     198          <b>Figure 3-2</b> <i>Pick an Aggregate Manager.</i>
     199      </td>
     200        </tr>
     201    </table>
     202    </li>
     203      </ol>
     204  </td>
    205205    </tr>
    206206</table>
     
    210210=== 3.3. View RSpec to see  Install and Execute commands === 
    211211jFed allows you to install and execute commands automatically. In the RSpec you have just added there is a tarball with the necessary files and a script that will automatically run when the nodes boot-up.[[br]]
    212 For more information about scripts, refer to [http://groups.geni.net/geni/wiki/HowTo/WriteInstallScript Write Install Script] [[br]]
     212For more information about scripts, refer to [https://groups.geni.net/geni/wiki/HowTo/WriteInstallScript Write Install Script] [[br]]
    213213To view/edit these commands, please follow the instructions below:
    214                
     214   
    215215{{{ 
    216216#!html 
     
    224224    </td>
    225225    <td align="right"> 
    226       <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/jFedViewScript.png?format=raw" width='400'/>  <br/> 
     226      <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/jFedViewScript.png?format=raw" width='400'/>  <br/> 
    227227      <b>Figure 3-3</b> Automating your configuration. 
    228228    </td>
     
    238238<table style="width:100%">
    239239    <tr>
    240         <td>
    241             <ol type='a'>
    242                 <li>From the <i>jFed Experimenter Toolkit</i> window (see figure), select the <b>RSpec Editor</b> tab.  This will bring up a window showing the
    243                 current RSpec -- please take a moment to inspect it.  The `&lt;node&gt;` and `&lt;link&gt;` elements
    244                 contain the specification for the components we will request, and if you
    245                 look closely, you will be able to see the install and execute service
    246                 elements you added earlier. </li>
    247                 <li>Use the <b>Save to file</b> button (in the upper left) to
    248                 a local copy of your RSpec with the name <tt>ccn_precip.xml</tt>.  We'll use this in the next step to
    249                 demonstrate how other client tools also use RSpec files to communicate
    250                 requests to aggregate managers.</li>
    251             </ol>
    252         </td>
    253         <td align="right">
    254             <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/SaveRSpec.png?format=raw" width='400'/>
    255                 <br/>
    256                 <b>Figure 3-4</b> View and save the final request RSpec
    257         </td>
     240  <td>
     241      <ol type='a'>
     242    <li>From the <i>jFed Experimenter Toolkit</i> window (see figure), select the <b>RSpec Editor</b> tab.  This will bring up a window showing the
     243    current RSpec -- please take a moment to inspect it.  The `&lt;node&gt;` and `&lt;link&gt;` elements
     244    contain the specification for the components we will request, and if you
     245    look closely, you will be able to see the install and execute service
     246    elements you added earlier. </li>
     247    <li>Use the <b>Save to file</b> button (in the upper left) to
     248    a local copy of your RSpec with the name <tt>ccn_precip.xml</tt>.  We'll use this in the next step to
     249    demonstrate how other client tools also use RSpec files to communicate
     250    requests to aggregate managers.</li>
     251      </ol>
     252  </td>
     253  <td align="right">
     254      <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/SaveRSpec.png?format=raw" width='400'/>
     255    <br/>
     256    <b>Figure 3-4</b> View and save the final request RSpec
     257  </td>
    258258    </tr>
    259259</table>
     
    293293----
    294294= [wiki:GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ndn/Procedure/  Introduction] =
    295 = [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ndn/Procedure/Execute Next:  Execute] =
     295= [https://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jFed/GettingStarted_PartII_ndn/Procedure/Execute Next:  Execute] =