Changes between Version 6 and Version 7 of SarahEdwards/GettingStarted_PartII_ccn/Procedure/Setup


Ignore:
Timestamp:
06/11/15 20:16:46 (9 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SarahEdwards/GettingStarted_PartII_ccn/Procedure/Setup

    v6 v7  
    195195   * Script that setup up ccnx protocol routes (add-precip-routes)
    196196
    197 We automate the installation and running of the software using install and execute scripts in the RSpec.
     197We automate the installation and running of the proper software using `install` and `execute` scripts in the RSpec. These can be added by selecting the '''Add''' button under the '''Install Scripts''' and '''Execute Scripts''' fields for each node.
     198
     199Most of the nodes have an install script specified for each of the three pieces of software listed above which lots a tarball of software onto each node:
     200 * `http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-0.6.2.tar.gz`
     201 * `http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-atmos.tar.gz`
     202 * `http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-setup.tar.gz`
     203
     204Likewise, the nodes have execute scripts to configure the software on each node:
     205 * `cd /tmp/ccnx-setup && ./node-setup`
     206 * `cd /tmp/ccnx-setup && ./add-precip-routes rsrchr`
     207 * `cd /tmp/ccnx-setup && ./ccnx-setup router 4`
     208
     209{{{
     210#!html
     211<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>
     212You <i> DO NOT </i> have to specify install and execute scripts for the nodes as they have already been done for you.  You can check this by clicking on the icons for these nodes.
     213<br/><br/>
     214In general, one should be very careful when entering this information -- these commands will not
     215be executed yet, so it will be some time before you will see any relevant
     216error messages if there is a mistake here.
     217</td></tr></table>
     218}}}
     219
     220
    198221
    199222{{{
     
    238261</table>
    239262
    240 <table>
    241 <tr><td>
    242   <ol type='a' start='2'>
    243 
    244 <li>The way we will request installation of the proper software and execution
    245 of our experiment is to add <i>install</i> and <i>execute</i> services.
    246 </li>
    247 </td>
    248 <td>
    249 <img width='500' src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JacksLab1_6.png?format=raw" />
    250      <br />
    251      <b>Figure 3-3</b> <i>Specify the install and execute scripts </i>
    252 </td></tr>
    253 
    254 
    255 </table>
    256 
    257 <table>
    258 
    259 <tr>
    260 <td colspan=2>
    261 <ol  type='a' start='3'>
    262 <li>
    263 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>
    264 <pre>http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-0.6.2.tar.gz</pre>
    265 and enter
    266 <pre>/</pre>
    267 in the box under it (labeled 'Install Path:').
    268 <br>
    269 <br>
    270 Now, select "<tt>Add</tt>" under the <b>Install Scripts</b> again.  This time add: <br>
    271 <pre>http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-atmos.tar.gz</pre>
    272 and enter <br>
    273 <pre>/</pre>
    274 in the box under it (labeled 'Install Path:').
    275 <br>
    276 <br>
    277 Similarly, add a third install service:
    278 <pre>http://www.gpolab.bbn.com/experiment-support/ccnx-xen/ccnx-setup.tar.gz</pre>
    279 and enter <br>
    280 <pre>/tmp</pre>
    281 in the box under it (labeled 'Install Path:').  <strong> Note the different install directory this time. </strong>
    282 <br>
    283 <br>
    284 
    285   <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:
    286 <br>
    287 <pre>
    288 cd /tmp/ccnx-setup &&  ./node-setup
    289 cd /tmp/ccnx-setup &&  ./add-precip-routes rsrchr
    290 cd /tmp/ccnx-setup && ./ccnx-setup router 4
    291 </pre>
    292   </li>
    293 
    294 <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
    295 be executed yet, so it will be some time before you will see any relevant
    296 error messages if there is a mistake here.</td></tr></table>
    297   </li>
    298 </ol>
    299 </td>
    300 </tr>
    301 </table>
    302 
    303 <table>
    304 <tr><td>
    305   <ol type='a' start='5'>
    306   <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.
    307 
    308  
    309 </ol>
    310 </td>
    311 </tr>
    312 
    313 </table>
    314 }}}
    315 
     263}}}
    316264
    317265