Changes between Version 55 and Version 56 of Documentation/CGettingStarted


Ignore:
Timestamp:
Jan 15, 2013, 1:08:12 AM (12 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/CGettingStarted

    v55 v56  
    2929
    3030
    31 For example,  to access the sandbox2,
     31For example,  to access the sandbox1,
    3232{{{
    33 yourhost>ssh username@console.sb2.orbit-lab.org
     33yourhost>ssh username@console.sb1.orbit-lab.org
    3434}}}
    3535
    3636When you have successfully logged in, you can start an experiment using the [wiki:/Software/bAM#AggregateManagers Orbit Management Framework (OMF)]. First time users are '''highly''' encouraged to reserve time on a sandbox instead of the main grid, and start with the built-in [wiki:/Tutorials/HelloWorld Hello World] experiment.
    3737 1. Before we begin using the nodes, it's a good idea to check their status first. This is done with the omf stat command. This will typically produce a result like:
     38
    3839   [[Image(newhowto1.jpg)]]
     40
    3941   Individual nodes are identified by their fully qualified domain name (FQDN). This establishes their "coordinates" and the "domain" to which they belong. Nodes in different domains can NOT see each other.
    40  1. The node can be in 1 of 3 states:
     42 2. The node can be in 1 of 3 states:
     43
    4144   || POWEROFF || Node is Available for use but turned off ||
    4245   || POWERON || Node is Available and is on ||
    4346   || NODE NOT AVAILABLE || Node is not Available for use||
    44  1. It is recommended that the node be in the POWEROFF state prior to any experiment process. If the node is in the POWERON state you can use the omf tell command
     47
     48 3. It is recommended that the node be in the POWEROFF state prior to any experiment process. If the node is in the POWERON state you can use the omf tell command
    4549   to get the node into the off state.
    4650   {{{
    47    username@console.sb2:~$ omf tell -a offh -t TOPOLOGY
     51   username@console.sb1:~$ omf tell -a offh -t TOPOLOGY
    4852   }}}
    49    The TOPOLOGY can take on many forms, the simplest being a comma separated list of FQDN's. There are special predefined topologies like: all, system:topo:circle, ... For more details see [wiki:/Software/bAM#AggregateManagers OMF documentation]
     53   The ''TOPOLOGY'' can take on many forms, the simplest being a comma separated list of FQDN's. There are special predefined topologies like: all, system:topo:circle, ... For more details see [wiki:/Software/bAM#AggregateManagers OMF documentation]
    5054   If the node is in the NODE NOT AVAILABLE state, you may need to wait for it to recover the POWEROFF state (it some times requires a few moments for the service to sync up). If
    5155   the node never comes out of the NODE NOT AVAILABLE state please contact an administrator.
    52  1. Prior to the experiment, users need to install an image on the hard disks of the nodes. If you have not created a custom image use the default starting image: '''baseline.ndz'''. This image is built off ubuntu 12.04, and is pre-configured with the proper modules and start up scripts to take advantage of the rest of the Orbit Services.  This is done with the omf load command
     56
     57 4. Prior to the experiment, users need to install an image on the hard disks of the nodes. If you have not created a custom image use the default starting image: '''baseline.ndz'''. This image is built on top of ubuntu 12.04, and is pre-configured with the proper modules and start up scripts to take advantage of the rest of the Orbit services.  Loading an image is done with the omf load command
    5358   {{{
    54    username@console.sb2:~$ omf load Topology ImageName
     59   username@console.sb1:~$ omf load -t TOPOLOGY -i IMAGENAME
    5560   }}}
    56    Where Topology specifies the set of nodes you wish to image, and !ImageName is the name of the image you with to load. The most common sandbox starting image command would look like
     61   Where ''TOPOLOGY'' is the set of nodes you wish to image , and !IMAGENAME is the name of the image you with to load. The most common sandbox starting image command would look like
    5762   {{{
    58    username@console.sb2:~$ omf load all baseline.ndz
     63   username@console.sb1:~$ omf load -t all -i baseline.ndz
    5964   }}}
    60    which will load all the nodes of sandbox 2 (toatling 2) with the [wiki:Documentation/SupportedImages baseline] image.
    61  1. The process start should look like:
     65   which will load all the nodes of sandbox 1 (totaling 1) with the [wiki:Documentation/SupportedImages baseline] image.
     66 5. The process start should look like:
    6267
    6368   [[Image(newhowto2.jpg)]]
    64  1. A key line to look for is ''INFO whenAll: *: 'status[@value='UP']' fires''. This line indicates that all the nodes have come up and imaging has begun:
     69 6. A key line to look for is ''INFO whenAll: *: 'status[@value='UP']' fires''. This line indicates that all the nodes have come up and imaging has begun:
    6570   
    6671   [[Image(newhowto3.jpg)]]
    6772
    68  1. The final result should look like:
     73 7. The final result should look like:
    6974
    7075   [[Image(newhowto4.jpg)]]
    7176
    72  1. At this point the nodes are imaged with the ''basline'' image and need to be turned back on before proceeding.
     77 8. At this point the nodes are imaged with the ''basline'' image and need to be turned back on before proceeding.
    7378   {{{
    7479   username@console.sb2:~$ omf-5.2 tell on all
     
    7984   }}}
    8085
    81  1. By default the driver modules for the wireless interfaces are disabled. It is up to the experimenter to decide which interface to use. For this tutorial experiment the ath_pci module will be used. So before running the tutorial experiment ssh into each node (ie. node1-1 & node 1-2) and load the driver modules.
     86 9. By default the driver modules for the wireless interfaces are disabled. It is up to the experimenter to decide which interface to use. For this tutorial experiment the ath_pci module will be used. So before running the tutorial experiment ssh into each node (ie. node1-1 & node 1-2) and load the driver modules.
    8287   {{{
    8388   username@console.sb2:~$ ssh root@node1-1
     
    95100
    96101   Now ssh into ''node1-2'' and do the same.
    97  1. To run a tutorial experiment that involves one UDP traffic sender and one receiver, run the following command at the console.
     102 10. To run a tutorial experiment that involves one UDP traffic sender and one receiver, run the following command at the console.
    98103   {{{
    99104   username@console.sb2:~$ omf-5.2 exec --tutorial -- --tutorialName tutorial-1a
     
    104109   
    105110
    106  1. Both, sender and receiver, report measurements to a database, using the OML measurement framework. The file is saved as a sqlite3 file; the file name for the experiment is shown in the last line of the tutorial's output and saved in the console under /var/lib/oml2
     111 11. Both, sender and receiver, report measurements to a database, using the OML measurement framework. The file is saved as a sqlite3 file; the file name for the experiment is shown in the last line of the tutorial's output and saved in the console under /var/lib/oml2
    107112
    108113To dump the database file for this experiment: