Changes between Version 28 and Version 29 of Tutorials/a0Basic/Tutorial2


Ignore:
Timestamp:
May 13, 2010, 6:19:53 PM (14 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/a0Basic/Tutorial2

    v28 v29  
    209209 }}}
    210210
    211  * Install a disk image which includes ''nodeAgent4'' on the nodes of this testbed. For example, you can use the latest ''baseline.ndz'' disk image. This disk image installation is done using the ''orbit load'' command above. Detailed instructions on how to perform such disk image installation on the nodes on a testbed can be found [wiki:Tutorial/HowToImage here].
    212 
    213 
    214 Once the nodes have been imaged, you can run the "Hello World" experiment with the ''orbit exec'' command as follows:
    215 
    216 {{{
    217 orbit exec --tutorial
    218 }}}
    219 Normally an experiment is described in a script file, e.g. "my_experiment.rb", which is run by using the command "orbit exec my_experiment". However in this particular case, the tutorial script is already stored in a repository known by the ''orbit exec'' application. Thus the "--tutorial" option instructs the ''orbit exec'' application to fetch that script and execute it.
     211 * Install a disk image which includes ''nodeAgent4'' on the nodes of this testbed. For example, you can use the latest ''baseline.ndz'' disk image. This disk image installation is done using the ''omf load'' command above. Detailed instructions on how to perform such disk image installation on the nodes on a testbed can be found [wiki:Tutorial/HowToImage here].
     212
     213
     214Once the nodes have been imaged, you can run the "Hello World" experiment with the ''omf exec'' command as follows:
     215
     216{{{
     217omf exec --tutorial
     218}}}
     219Normally an experiment is described in a script file, e.g. "my_experiment.rb", which is run by using the command "omf exec my_experiment". However in this particular case, the tutorial script is already stored in a repository known by the ''omf exec'' application. Thus the "--tutorial" option instructs the ''omf exec'' application to fetch that script and execute it.
    220220
    221221After running the above command, your console output should look like this:
    222222
    223223{{{
    224 console.sb1:~# orbit exec --tutorial
     224console.sb1:~# omf exec --tutorial
    225225DEBUG Experiment: Domain: sb1
    226226 INFO init: NodeHandler Version 4.2.0 (1272)