Changes between Version 9 and Version 10 of ClickExampleExperiment
- Timestamp:
- 06/22/12 13:13:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClickExampleExperiment
v9 v10 23 23 * Have a GENI credential. If you don't, check out SignMeUp. 24 24 * 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 27 26 Information on obtaining GENI credentials and omni is available at SignMeUp and [wiki:HowToUseOmni] or by contacting [mailto:help@geni.net]. 28 27 … … 36 35 }}} 37 36 38 Download '''click-example.tgz''' from [http://www.gpolab.bbn.com/local-sw/ this site], copy into your '''click-example''' directory, and unpack.37 Download [attachment:click-example.rspec?format=raw the attached rspec file] and save it in your '''click-example''' directory. Be sure to use raw mode. 39 38 40 39 {{{ … … 42 41 }}} 43 42 44 Add your omni source directory to your PYTHONPATH: 43 If you haven't already, add your omni source and examples directories to your PATH: 44 45 {{{ 46 export PATH=$PATH:/path/to/omni/src:/path/to/omni/examples 47 }}} 48 49 If you haven't already, add your omni source directory to your PYTHONPATH: 45 50 46 51 {{{ … … 48 53 }}} 49 54 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 scriptbelow.)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.) 51 56 52 57 To remove passphrase (assuming your private key file is '''id_rsa'''): … … 63 68 64 69 {{{ 65 /path/to/omni/src/omni.py createslice -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName70 omni.py createslice -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName 66 71 }}} 67 72 … … 69 74 70 75 {{{ 71 /path/to/omni/src/omni.py createsliver -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName click-example.rspec76 omni.py createsliver -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName click-example.rspec 72 77 }}} 73 78 … … 75 80 76 81 {{{ 77 /path/to/omni/src/omni.py sliverstatus -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName 82 omni.py sliverstatus -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName 83 }}} 84 85 When 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 {{{ 87 readyToLogin.py -a http://www.emulab.net/protogeni/xmlrpc/am StupidSliceName 88 }}} 89 90 You'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> ... 94 fill in example output here 78 95 }}} 79 96