Changes between Version 54 and Version 55 of Documentation/CGettingStarted


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

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/CGettingStarted

    v54 v55  
    3434}}}
    3535
    36 When you have successfully logged in, you can start an experiment using the [wiki:NodeHandler Omf Framework]. First time users are '''highly''' encouraged to reserve time on a sandbox instead of the main grid, and start with the built-in ''Hello World'' experiment.
    37  * 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 
     36When 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.
     37 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:
    3938   [[Image(newhowto1.jpg)]]
    40 
    41  * The node can be in 1 of 3 states:
    42 
     39   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:
    4341   || POWEROFF || Node is Available for use but turned off ||
    4442   || POWERON || Node is Available and is on ||
    4543   || NODE NOT AVAILABLE || Node is not Available for use||
    46 
    47  * NOTE: It is recommended that the node be in the POWEROFF state prior to any imaging process. If the node is in the POWERON state you can use the omf tell command
     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
    4845   to get the node into the off state.
    49 
    5046   {{{
    51    username@console.sb2:~$ omf tell offh all
     47   username@console.sb2:~$ omf tell -a offh -t TOPOLOGY
    5248   }}}
    53 
     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]
    5450   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
    5551   the node never comes out of the NODE NOT AVAILABLE state please contact an administrator.
    56 
    57  * Prior to the experiment, users need to install the baseline image on the hard disks of the nodes. This is done with the omf load command
     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
    5853   {{{
    5954   username@console.sb2:~$ omf load Topology ImageName
     
    6459   }}}
    6560   which will load all the nodes of sandbox 2 (toatling 2) with the [wiki:Documentation/SupportedImages baseline] image.
    66  * The process start should look like:
     61 1. The process start should look like:
    6762
    6863   [[Image(newhowto2.jpg)]]
    69  * 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:
     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:
    7065   
    7166   [[Image(newhowto3.jpg)]]
    7267
    73  * The final result should look like:
     68 1. The final result should look like:
    7469
    7570   [[Image(newhowto4.jpg)]]
    7671
    77  * At this point the nodes are imaged with the ''basline'' image and need to be turned back on before proceeding.
     72 1. At this point the nodes are imaged with the ''basline'' image and need to be turned back on before proceeding.
    7873   {{{
    7974   username@console.sb2:~$ omf-5.2 tell on all
     
    8479   }}}
    8580
    86  * 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.
     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.
    8782   {{{
    8883   username@console.sb2:~$ ssh root@node1-1
     
    10095
    10196   Now ssh into ''node1-2'' and do the same.
    102 
    103  * To run a tutorial experiment that involves one UDP traffic sender and one receiver, run the following command at the console.
     97 1. To run a tutorial experiment that involves one UDP traffic sender and one receiver, run the following command at the console.
    10498   {{{
    10599   username@console.sb2:~$ omf-5.2 exec --tutorial -- --tutorialName tutorial-1a
     
    110104   
    111105
    112  * 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
     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
    113107
    114108To dump the database file for this experiment: