1 | | = GEMINI/Tutorial/GEC15/Background/VM = |
| 1 | [[PageOutline]] |
| 2 | |
| 3 | == Instructions for using the GEC15 Tutorial VM for GEMINI == |
| 4 | |
| 5 | === Logging in === |
| 6 | |
| 7 | Login information for the VM will be provided at the beginning of the tutorial. |
| 8 | |
| 9 | Once you are on the VM, you can access the credentials directly in the directory: |
| 10 | /home/geniuser/Tutorials/GEMINI.[[BR]] There is a directory for each user. The ssh |
| 11 | directory contains the certificates and keys. |
| 12 | |
| 13 | You will be assigned a username and password at the beginning of the tutorial. |
| 14 | |
| 15 | === SSL Key/Password Configuration === |
| 16 | The instrumentize.py script requires password-less access to the nodes. Follow these steps to set this up. |
| 17 | |
| 18 | 1. Place your GENI password in the file /home/geniuser/.ssl/password |
| 19 | 2. Add your ssh key to the ssh-agent by running the command (replacing geminiXX with your username): |
| 20 | {{{ |
| 21 | $ ssh-add /home/geni/Tutorials/GEMINI/geminiXX/ssh/geminiXX_key |
| 22 | }}} |
| 23 | |
| 24 | |
| 25 | === Updating the code === |
| 26 | |
| 27 | You can get the latest scripts, configuration, and rspec files by changing to the GEMINI common directory and doing a git pull: |
| 28 | |
| 29 | {{{ |
| 30 | $ cd ~/Tutorials/GEMINI/common |
| 31 | $ git pull |
| 32 | }}} |
| 33 | |
| 34 | === Creating the slice === |
| 35 | |
| 36 | - '''Flack:''' log in as the tutorial user that you chose[[BR]] |
| 37 | (don't forget to log into the SA first: pgeni.gpolab.bbn.com). There are bookmarks |
| 38 | for both in the Firefox toolbar. |
| 39 | |
| 40 | - '''OMNI:''' cd to the directory for your user (~/Tutorials/GEMINI/<username>)[[BR]] |
| 41 | You can run omni commands directly from here and it will use the omni_config in that directory. |
| 42 | |
| 43 | - '''Protogeni test scripts:''' you can find them in /opt/protogeni.[[BR]] Use the -f option to specify the path to the certificate (/home/geniuser/Tutorials/GEMINI/<username>/ssh/<username>.pem) |
| 44 | |
| 45 | === Running instrumentize script === |
| 46 | |
| 47 | - Make sure you have the most up-to-date scripts (see ''Updating the code'' above). |
| 48 | |
| 49 | - Run instrumentize.py from the directory /home/geni/Tutorials/GEMINI/common specifying your GENI certificate and the slice name. |
| 50 | |
| 51 | {{{ |
| 52 | $ instrumentize.py -f /home/geni/Tutorials/GEMINI/geminiXX/ssh/geminiXX.pem -n geminiXXslice |
| 53 | }}} |
| 54 | |
| 55 | === Accessing the portal === |
| 56 | |
| 57 | Before accessing the portal, add your certificate to the browser using these [wiki:GEMINIFirefoxCertInstall instructions] |
| 58 | |
| 59 | === Issues? === |
| 60 | |
| 61 | Notify geni-gemini-users@googlegroups.com if you run into any issues. |