Changes between Version 28 and Version 29 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Setup


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

--

Legend:

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

    v28 v29  
    149149=== 3.1 Create a slice ===
    150150 
    151 Create a slice using `omni` and the slice name of your choice.  From now on that slice name will be referred to as <SLICE_NAME>.
    152 {{{
    153 $ omni createslice <SLICE_NAME>
     151Create a slice using `omni` and the slice name of your choice.  From now on that slice name will be referred to as SLICE_NAME.
     152{{{
     153$ omni createslice SLICE_NAME
    154154}}}
    155155 
     
    202202 
    203203 
    204  === 3.3. Modify the RSpec to automatically install and execute CCNX software ===
    205  
    206 '''Background:''' For this experiment, we need to install the following software on the nodes:
    207    * The CCNX software (ccnx-0.6.2.tar.gz)
    208    * Scripts that set up the CCNX software (ccnx-setup.tar.gz)
    209    * Scripts used to pull atmospheric precipitation data using the CCNX protocol (ccnx-atmos.tar.gz)
    210  
    211 When the nodes start up, we need the following scripts to be executed:
    212    * Script that sets up the node (node-setup)
    213    * Script that sets up the ccnx protocol (ccnx-setup)
    214    * Script that setup up ccnx protocol routes (add-precip-routes)
    215  
    216 In the following steps we automate the installation and running of the software using install and execute scripts in the RSpec. 
    217  
    218 {{{
    219 #!html
    220 <table><tr>
    221 <td colspan=2>
    222   <ol type='a'>
    223      <li>Click on the <b>collab node</b> (see figure) to manipulate details of the node configuration.
    224  
    225  
    226 <table id="Table_01" border="0" cellpadding="5" cellspacing="0">
    227         <tr>
    228                 <td>
    229                         <img src="http://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Graphics/4NotesIcon_512x512.png" width="50" height="50" alt="Note">
    230                </td>
    231 <td>
    232 When you open the node information, you should see a new pane with fields to fill in like
    233 in the figure.   
    234 </td>
    235         </tr>
    236 </table>
    237  
    238  
    239      </li>
    240  </ol>
    241 </td>
    242  
    243 <td colspan=2>
    244   <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JacksLab1_5.png?format=raw" width='500'/>
    245      <br />
    246      <b>Figure 3-2</b> <i>Edit the nodes</i>
    247 </td>
    248 </tr>
    249 </table>
    250  
    251 <table>
    252 <tr><td>
    253   <ol type='a' start='2'>
    254  
    255 <li>The way we will request installation of the proper software and execution
    256 of our experiment is to add <i>install</i> and <i>execute</i> services.
    257 </li>
    258 </td>
    259 <td>
    260 <img width='500' src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JacksLab1_6.png?format=raw" />
    261      <br />
    262      <b>Figure 3-3</b> <i>Specify the install and execute scripts </i>
    263 </td></tr>
    264  
    265  
    266 </table>
    267  
    268 <table>
    269  
    270 <tr>
    271 <td colspan=2>
    272 <ol  type='a' start='3'>
    273 <li>
    274 You will be adding three install scripts.  First, select "<tt>Add</tt>" under the <b>Install Scripts</b> sections as shown.  In the box in the <b>URL</b> field enter (cut-and-paste): <br>
    275 <pre>http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-0.6.2.tar.gz</pre>
    276 and enter
    277 <pre>/</pre>
    278 in the box under it (labeled 'Install Path:').
    279 <br>
    280 <br>
    281 Now, select "<tt>Add</tt>" under the <b>Install Scripts</b> again.  This time add: <br>
    282 <pre>http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-atmos.tar.gz</pre>
    283 and enter <br>
    284 <pre>/</pre>
    285 in the box under it (labeled 'Install Path:').
    286 <br>
    287 <br>
    288 Similarly, add a third install service: 
    289 <pre>http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-setup.tar.gz</pre>
    290 and enter <br>
    291 <pre>/tmp</pre>
    292 in the box under it (labeled 'Install Path:').  <strong> Note the different install directory this time. </strong>
    293 <br>
    294 <br>
    295  
    296   <li>In a similar manner, use the "<tt>Add</tt>" button under the <b>Execute Scripts</b> section to add three execute services on this node:
    297 <br>
    298 <pre>
    299 cd /tmp/ccnx-setup &&  ./node-setup
    300 cd /tmp/ccnx-setup &&  ./add-precip-routes rsrchr
    301 cd /tmp/ccnx-setup && ./ccnx-setup router 4
    302 </pre>
    303   </li>
    304  
    305 <table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width='50' height='50'/></td><td>Be very careful when entering this information -- these commands will not
    306 be executed yet, so it will be some time before you will see any relevant
    307 error messages if there is a mistake here.</td></tr></table>
    308    </li> 
    309                 </ol> 
    310                 </table> 
    311 
    312 <table>
    313 <tr><td>
    314   <ol type='a' start='5'>
    315   <li> You <i> DO NOT </i> have to specify install and execute scripts for the other nodes as they have already been done for you.  You can check this by clicking on the icons for these nodes. </li>
    316  
    317    
    318 </ol>
    319 </td>
    320 </tr>
    321  
    322 </table>
    323 }}}
     204=== 3.3. Modify the RSpec to automatically install and execute software ===
     205 
     206Insert comments here.
     207We do on all but one nodes. User does on the remaining node.
    324208
    325209=== 3.4. Export your RSpec ===
     
    366250From a terminal, please enter the command:
    367251{{{
    368 $ omni -a AM_NICKNAME createsliver LabOne RSPEC_FILE
    369 }}}
    370 where {{{AM_NICKNAME}}} is the nickname for your assigned aggregate manager and {{{LabOne}}} is the name of the slice you created earlier (both of these are given on your worksheet).  {{{RSPEC_FILE}}} should be replaced with the filename of the RSpec you saved in step 3.4.
     252$ omni -a AM_NICKNAME createsliver SLICE_NAME RSPEC_FILE
     253}}}
     254where {{{AM_NICKNAME}}} is the nickname for your assigned aggregate manager and {{{SLICE_NAME}}} is the name of the slice you created earlier (both of these are given on your worksheet).  {{{RSPEC_FILE}}} should be replaced with the filename of the RSpec you saved in step 3.4.
    371255 
    372256