wiki:GEMINIGEC14VMInstructions

Version 10 (modified by Jeanne Ohren, 7 years ago) (diff)

--

Instructions for using the GEC14 Tutorial VM for GEMINI

Logging in

Login information for the VM will be provided at the beginning of the tutorial.

Once you are on the VM, you can access the credentials directly in the directory: /home/geniuser/Tutorials/GEMINI.
There is a directory for each user. The ssh directory contains the certificates and keys.

You will be assigned a username and password at the beginning of the tutorial.

SSL Key/Password Configuration

The instrumentize.py script requires password-less access to the nodes. Follow these steps to set this up.

  1. Place your GENI password in the file /home/geniuser/.ssl/password
  2. Add your ssh key to the ssh-agent by running the command (replacing geminiXX with your username):
    $ ssh-add /home/geniuser/Tutorials/GEMINI/geminiXX/ssh/geminiXX_key
    

Updating the code

You can get the latest scripts, configuration, and rspec files by changing to the GEMINI common directory and doing a git pull:

$ cd ~/Tutorials/GEMINI/common
$ git pull

Creating the slice

  • Flack: log in as the tutorial user that you chose
    (don't forget to log into the SA first: pgeni.gpolab.bbn.com). There are bookmarks for both in the Firefox toolbar.
  • OMNI: cd to the directory for your user (~/Tutorials/GEMINI/<username>)
    You can run omni commands directly from here and it will use the omni_config in that directory.
  • Protogeni test scripts: you can find them in /opt/protogeni.
    Use the -f option to specify the path to the certificate (/home/geniuser/Tutorials/GEMINI/<username>/ssh/<username>.pem)

Running instrumentize script

  • Make sure you have the most up-to-date scripts (see Updating the code above).
  • Run instrumentize.py from the directory /home/geniuser/Tutorials/GEMINI/common specifying your GENI certificate and the slice name.
$ instrumentize.py -f /home/geniuser/Tutorials/GEMINI/geminiXX/ssh/geminiXX.pem -n geminiXXslice

Accessing the portal

Before accessing the portal, add your certificate to the browser using these instructions

Using iRODS

Before using iRODS, you will need to configure /home/geniuser/.irods/.irodsEnv.

Copy the template at /home/geniuser/.irods/geminiIrodsEnv and replace gimiXX with your tutorial username.

You can then run iinit to store the password so you are not prompted each time.

Issues?

Notify gemini-l@indiana.edu if you run into any issues.