Changes between Version 9 and Version 10 of ClickExampleExperiment


Ignore:
Timestamp:
06/22/12 13:13:00 (7 years ago)
Author:
Mark Berman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClickExampleExperiment

    v9 v10  
    2323 * Have a GENI credential. If you don't, check out SignMeUp.
    2424 * Configure omni (version 1.5.2 or later) on your machine. Be sufficiently comfortable with omni to verify that a '''listresources''' command works and to know when your slice is ready using '''sliverstatus'''.
    25  * Install '''dot''' on your machine. (Optional but strongly recommended - available as part of the '''graphviz''' package. Install with "apt-get install graphviz", "yum install graphviz", or download from graphviz.org.)
    26 
     25 
    2726Information on obtaining GENI credentials and omni is available at SignMeUp and [wiki:HowToUseOmni] or by contacting [mailto:help@geni.net].
    2827
     
    3635}}}
    3736
    38 Download '''click-example.tgz''' from [http://www.gpolab.bbn.com/local-sw/ this site], copy into your '''click-example''' directory, and unpack.
     37Download [attachment:click-example.rspec?format=raw the attached rspec file] and save it in your '''click-example''' directory. Be sure to use raw mode.
    3938
    4039{{{
     
    4241}}}
    4342
    44 Add your omni source directory to your PYTHONPATH:
     43If you haven't already, add your omni source and examples directories to your PATH:
     44
     45{{{
     46export PATH=$PATH:/path/to/omni/src:/path/to/omni/examples
     47}}}
     48
     49If you haven't already, add your omni source directory to your PYTHONPATH:
    4550
    4651{{{
     
    4853}}}
    4954
    50 (Optional) You'll be making heavy use of your private key to log into your ProtoGENI hosts in the steps below. If your key is encrypted, you may want to load it in a key manager so you don't have to type your passphrase many times. Alternately, you can remove the passphrase from your key using the steps below. (You don't need to do this step, however, you will be prompted for your passphrase quite a few times when running the extractor script below.)
     55(Optional) You'll be making heavy use of your private key to log into your ProtoGENI hosts in the steps below. If your key is encrypted, you may want to load it in a key manager so you don't have to type your passphrase many times. Alternately, you can remove the passphrase from your key using the steps below. (You don't need to do this step, however, you will be prompted for your passphrase quite a few times when following the steps below.)
    5156
    5257To remove passphrase (assuming your private key file is '''id_rsa'''):
     
    6368
    6469{{{
    65 /path/to/omni/src/omni.py createslice -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName
     70omni.py createslice -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName
    6671}}}
    6772
     
    6974
    7075{{{
    71 /path/to/omni/src/omni.py createsliver -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName click-example.rspec
     76omni.py createsliver -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName click-example.rspec
    7277}}}
    7378
     
    7580
    7681{{{
    77 /path/to/omni/src/omni.py sliverstatus -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName
     82omni.py sliverstatus -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName
     83}}}
     84
     85When your sliver is ready, run the '''readyToLogin''' script to get login information for your nodes. Use the same aggregate manager and slice name that you used for your '''sliverstatus''' command above.
     86{{{
     87readyToLogin.py -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName
     88}}}
     89
     90You'll get a big chunk of information, but you're interested in the '''ssh''' command information near the end.
     91
     92{{{
     93... <lots of output> ...
     94fill in example output here
    7895}}}
    7996