Changes between Version 19 and Version 20 of GENIExperimenter/Tutorials/HelloOmni


Ignore:
Timestamp:
11/15/12 12:12:12 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/HelloOmni

    v19 v20  
    107107  omni.py listresources -a pg-utah --available -o
    108108  }}}
    109   5. '''Reserve resources'''. To be able to reserve resources you will need to craft a [wiki:http://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs request rspec]. For this example we have created the rspec and made it available for you to use. Type:
     109  5. '''Reserve resources'''. To be able to reserve resources you will need to craft a [wiki:GENIExperimenter/RSpecs request rspec]. For this example we have created the rspec and made it available for you to use. Type:
    110110  {{{
    111111    omni.py createsliver -a pg-utah <slicename> http://www.gpolab.bbn.com/experiment-support/HelloOmni/hello-omni.rspec
    112112  }}}
    113  
    114 == 4b. Reserve resources, a.k.a create a sliver ==
    115   i. To be able to reserve resources you will need to craft a request rspec.
    116   For this example we have created the rspecs for you, use the rspec URL given
    117   in your paper slip. Type :
    118   {{{
    119   omni.py createsliver -a pg-utah <slicename> <rspec_url>
    120   }}}
    121   For example
    122   {{{
    123   omni.py createsliver -a pg-utah iomni30 http://www.gpolab.bbn.com/experiment-support/gec15/omni-intro/rspecs/iomni-30.rspec
    124   }}}
    125   '''Tip:''' If you are copying the above line make sure to substitute the slicename and the actual rspec name with the ones that are specified in your paper slip.
    126   i. Look at your reserved resources. Type:
    127   {{{
    128   omni.py listresources -a pg-utah <slicename>
    129   }}}
    130   i. Extend the lifetime of your sliver:
    131   {{{
    132 omni.py renewsliver -a pg-utah <slicename> 20121025
    133   }}}
    134   i. Check the status of your resources. Type:
    135   {{{
     113  6. '''See the reserved resources'''. You can use the `listresources` command, to see what resources are reserved at an Aggregate.
     114  {{{
     115   omni.py listresources -a pg-utah <slicename>
     116  }}}
     117  7. '''Optional- Extend the lifetime of your reservation'''.  The lifetime of your reservation can never exceed the lifetime of your slice and is usually set to a default value. For the purpose of this exercise you don't need to renew your reservation. But if you wanted to do this this is what the command would look like:
     118   {{{
     119omni.py renewsliver -a pg-utah <slicename> <YYYYMMDD>
     120  }}}
     121  8. '''Check the status of your resources'''. Type:
     122   {{{
    136123  omni.py sliverstatus -a pg-utah <slicename>
    137124  }}}
    138   The `sliverstatus` command reports the status of your overall GENI slice. When
    139   the status is ready we are ready to continue to the next step.
    140 
    141 = 5. Run your experiment =
    142 Now that resources are ready we can start running our experiment. We will first
    143 start by logging in to our reserved nodes.
    144 
    145 == 5a. Logging Into the nodes -- Omni Scripting ==
    146 Depending on the Aggregate the login information are either part of the
    147 `sliverstatus` call, or as part of the manifest rspec, i.e. returned from the
     125  The `sliverstatus` command reports the status of your overall GENI slice. When the status is ready we are ready to continue to the next step.
     126
     127= 3. Run your experiment =
     128Now that resources are ready we can start running our experiment. We will first start by logging in to our reserved nodes.
     129
     130  1. '''Login to your nodes - Omni Scripting'''. Depending on the Aggregate the login information are either part of the `sliverstatus` call, or as part of the manifest rspec, i.e. returned from the
    148131`listresources` call. Omni comes with a script that makes it easy to gather all
    149 this information.
    150   i. In the terminal run:
     132this information.  In the terminal run:
    151133  {{{
    152134readyToLogin.py -a pg-utah <slicename>