| 1 | [[PageOutline]] |
| 2 | |
| 3 | = GIMI Instrumentation and Measurement Tool: Tutorial Instructions = |
| 4 | |
| 5 | == Prerequisites == |
| 6 | |
| 7 | 1. To prepare for the tutorial, each participant should install [https://www.virtualbox.org/ VirtualBox] and the GENI User Workspace image on their computer. Instruction for this step can be found here: [http://groups.geni.net/geni/wiki/GEC14TutorialVMInstructions User Workspace] |
| 8 | |
| 9 | 2. You should have attended the [http://groups.geni.net/geni/wiki/ORCAExoGENITutorial ExoGENI tutorial] given right before the GIMI tutorial. (Ideally, you would also have attended the [http://groups.geni.net/geni/wiki/GEC14Agenda/OMFTutorial OMF/OML tutorial] given at GEC14. |
| 10 | |
| 11 | 3. Besides OMF/OML and ExoGENI, this tutorial will make also use of [https://www.irods.org/ iRODS] and [http://ireel.npc.nicta.com.au/ IREEL] and the interested participant can find further information at the links given for both tools. |
| 12 | |
| 13 | 4. Account information for all tools will be handed out on paper to the participants at the beginning of the tutorial. |
| 14 | |
| 15 | == Common Errors == |
| 16 | * Be careful cutting and pasting |
| 17 | * '''Doesn’t work from Trac''' |
| 18 | * Sometimes even txt file inserts hidden characters |
| 19 | * Some lines require edits; don’t cut and paste the newline |
| 20 | |
| 21 | * Make terminal windows big |
| 22 | * Sometimes terminal gets corrupted when pasting a line that runs to the next line (especially when backspacing) |
| 23 | |
| 24 | == Getting Ready == |
| 25 | * Bring up tutorial VM and log in. |
| 26 | * Open Firefox web browser |
| 27 | * Open a terminal window |
| 28 | * The software required for this tutorial is already installed in the tutorial VM. |
| 29 | * Download GIMI tutorial specific configuration files by issuing the following command in a user workspace terminal: |
| 30 | {{{ |
| 31 | $ cd ~/Tutorials/GIMI/common/ |
| 32 | $ git pull |
| 33 | }}} |
| 34 | * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example: |
| 35 | {{{ |
| 36 | # iRODS personal configuration file. |
| 37 | # |
| 38 | # This file was automatically created during iRODS installation. |
| 39 | # Created Thu Feb 16 14:06:27 2012 |
| 40 | # |
| 41 | # iRODS server host name: |
| 42 | irodsHost 'emmy8.casa.umass.edu' |
| 43 | # iRODS server port number: |
| 44 | irodsPort 1247 |
| 45 | |
| 46 | # Default storage resource name: |
| 47 | irodsDefResource 'iRODSUmass' |
| 48 | # Home directory in iRODS: |
| 49 | irodsHome '/geniRenci/home/gimiXX' |
| 50 | # Current directory in iRODS: |
| 51 | irodsCwd '/geniRenci/home/gimiXX' |
| 52 | # Account name: |
| 53 | irodsUserName 'gimiXX' |
| 54 | # Zone: |
| 55 | irodsZone 'geniRenci' |
| 56 | }}} |
| 57 | |
| 58 | * First of all copy the template iRODS configuration file to .irodsEnv with the following command: |
| 59 | {{{ |
| 60 | $ cp ~/.irods/gimiIrodsEnv ~/.irods/.irodsEnv |
| 61 | }}} |
| 62 | * Open ~/.irods/.irodsEnv with your favorite text editor (we recommend ''nano'') and change gimiXX to your assigned username (e.g., gimi04). |
| 63 | * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly): |
| 64 | {{{ |
| 65 | $ iinit |
| 66 | }}} |
| 67 | |
| 68 | * You will be prompted for a password. Please type in the password you were provided with on the paper handout!! |
| 69 | * The image below shows the topology and the interfaces and the routing that has been set up for the measurement: |
| 70 | [[Image(wiki:GIMIv1.0Tutorial:Slide12.png)]] |