Changes between Version 84 and Version 85 of Documentation/CGettingStarted


Ignore:
Timestamp:
Sep 30, 2014, 4:10:57 AM (10 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/CGettingStarted

    v84 v85  
    55First, you will need an ORBIT account. Please check the [wiki:Documentation/BUsagePolicy usage policy] if you are eligible. Typically, in order to get an account,one would have to [http://www.orbit-lab.org/userManagement/register register for an account] and get it approved by the PI in charge of the project/institution they wish to be part of. If particular institution is not available, the appropriate PI can [http://www.orbit-lab.org/userManagement/orgReg register] for an institutional account.
    66
    7 == Five Steps ==
     7== Six Steps ==
    88A typical experiment requires the following five steps:
    99 1. Create reservation: [[BR]] Before you can access the testbed,you need to [https://www.orbit-lab.org/loginService/ControlPanel make a reservation] and get it approved by the  [wiki:Documentation/bAccountManagement/aScheduler reservation service]. First time users are '''highly''' encouraged to reserve time on a sandbox instead of the main grid, and start with this built-in "Hello World" experiment. For the rest of this tutorial we will assume that user reserved sb1 domain.
    10  2. Access the domain: [[CollapsibleStart(Login into reserved domain)]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] After you receive the confirmation email, you can access the reserved domain by ssh to the corresponding domain console.
    11 {{{
    12   ssh username@sb1.orbit-lab.org
    13 }}}
    14  3. Load the images: [[CollapsibleStart(Load an image on the nodes)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] Prior to executing the "Hello World" experiment, users need to install an image on the hard disks of the nodes. For this tutorial we will use '''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 [wiki:/Software software] / [wiki:/Hardware hardware]. The imaging process will turn the nodes back off after completing imaging. At this point the nodes disks are imaged with the ''baseline'' image and need to be turned back on before proceeding.
    15   {{{
    16   username@sb1.orbit-lab.org:~$ omf tell -a offh -t all
    17   ...
    18   username@sb1.orbit-lab.org:~$ omf load -i baseline.ndz -t all
    19   ...
    20   username@console.sb1:~$ omf tell -a on -t all
    21   }}}
    22 Give the nodes a couple of minutes to turn on / boot, then check their status with omf stat
    23  4. Run the experiment: [[CollapsibleStart(Execute experiment with omf)]][[Include(Software/cOMF/aExec)]][[CollapsibleEnd]] Execute "Hello World" experiment. This is a simple wireless experiment that establishes the !WiFi link between two nodes and transfers data for 60 seconds. Be sure to specify the fully qualified domain names (FQDNs) of the two nodes involved.  For the output below, it is assumed to be "sb1.orbit-lab.org".
     10 1.  [[CollapsibleStart(Login into reserved domain: ssh username@sb1.orbit-lab.org)]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] - after you receive the confirmation email, you can access the reserved domain by ssh to the corresponding domain console.
     11 1.  [[CollapsibleStart(Load an image on the nodes: omf load -i baseline.ndz -t all)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] - prior to executing the "Hello World" experiment, users need to install an image on the hard disks of the nodes. For this tutorial we will use '''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 [wiki:/Software software] / [wiki:/Hardware hardware]. The imaging process will turn the nodes back off after completing imaging.
     12  4. [[CollapsibleStart(Turn the nodes on: omf tell -a on -t all)]][[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] - at this point the nodes disks are imaged with the ''baseline'' image and need to be turned back on before proceeding. Give the nodes a couple of minutes to turn on / boot, then check their status with omf stat
     13 4. [[CollapsibleStart(Execute experiment with omf: omf exec test:exp:tutorial:hello-world-wireless -- --res1 node1-1.sb1.orbit-lab.org --res2 node1-2.sb1.orbit-lab.org)]][[Include(Software/cOMF/aExec)]][[CollapsibleEnd]] Execute "Hello World" experiment. This is a simple wireless experiment that establishes the !WiFi link between two nodes and transfers data for 60 seconds. Be sure to specify the fully qualified domain names (FQDNs) of the two nodes involved.  For the output below, it is assumed to be "sb1.orbit-lab.org".
    2414{{{
    2515username@console.sb1:~$ omf exec test:exp:tutorial:hello-world-wireless -- --res1 node1-1.sb1.orbit-lab.org --res2 node1-2.sb1.orbit-lab.org