Changes between Version 54 and Version 55 of Documentation/CGettingStarted
- Timestamp:
- Jan 15, 2013, 12:57:24 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/CGettingStarted
v54 v55 34 34 }}} 35 35 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 36 When 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: 39 38 [[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: 43 41 || POWEROFF || Node is Available for use but turned off || 44 42 || POWERON || Node is Available and is on || 45 43 || 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 48 45 to get the node into the off state. 49 50 46 {{{ 51 username@console.sb2:~$ omf tell offh all47 username@console.sb2:~$ omf tell -a offh -t TOPOLOGY 52 48 }}} 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] 54 50 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 55 51 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 58 53 {{{ 59 54 username@console.sb2:~$ omf load Topology ImageName … … 64 59 }}} 65 60 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: 67 62 68 63 [[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: 70 65 71 66 [[Image(newhowto3.jpg)]] 72 67 73 *The final result should look like:68 1. The final result should look like: 74 69 75 70 [[Image(newhowto4.jpg)]] 76 71 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. 78 73 {{{ 79 74 username@console.sb2:~$ omf-5.2 tell on all … … 84 79 }}} 85 80 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. 87 82 {{{ 88 83 username@console.sb2:~$ ssh root@node1-1 … … 100 95 101 96 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. 104 98 {{{ 105 99 username@console.sb2:~$ omf-5.2 exec --tutorial -- --tutorialName tutorial-1a … … 110 104 111 105 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/oml2106 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 113 107 114 108 To dump the database file for this experiment: