Changes between Version 7 and Version 8 of GIMIv1.1Tutorial/Toirods


Ignore:
Timestamp:
10/15/12 23:18:57 (7 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Toirods

    v7 v8  
    2828}}}
    2929
     30
     31In GIMI, [https://www.irods.org/ iRODS] is used as the repository for measurement data. At the moment our iRODS data system consist of three servers (RENCI, NICTA, and UMass) and a metadata catalog (located at RENCI).
     32
     33We will use part 2 of this tutorial to make the participants more familiar with iRODS and how we use it in GIMI.
     34
     35* After successful completion of part 1 of the tutorial the measurement data from the experiment has been stored in iRODS. We will now look into two options on how this data can be handled.
     36 
     37 1. iRODS command line tools in the user work space:
     38  * The GENI [http://groups.geni.net/geni/wiki/GEC14TutorialVMInstructions User Workspace] comes already with the iRODS command line tools installed.
     39  * If you have not done so far use [https://www.irods.org/index.php/iinit iinit] to create a file that contains your iRODS password in a scrambled form. This will then be used automatically by the [https://www.irods.org/index.php/icommands icommands] for authentication with the server.
     40{{{
     41$ iinit
     42}}}
     43You will be prompted for a password. Please enter the one given on the paper handout.
     44
     45  * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example:
     46{{{
     47# iRODS personal configuration file.
     48#
     49# This file was automatically created during iRODS installation.
     50#   Created Thu Feb 16 14:06:27 2012
     51#
     52# iRODS server host name:
     53irodsHost 'emmy8.casa.umass.edu'
     54# iRODS server port number:
     55irodsPort 1247
     56
     57# Default storage resource name:
     58irodsDefResource 'iRODSUmass'
     59# Home directory in iRODS:
     60irodsHome '/geniRenci/home/gimiXX'
     61# Current directory in iRODS:
     62irodsCwd '/geniRenci/home/gimiXX'
     63# Account name:
     64irodsUserName 'gimiXX'
     65# Zone:
     66irodsZone 'geniRenci'
     67}}}
     68  * Retrieve file from your iRODS home directory into user workspace.
     69{{{
     70$ iget <file_name>
     71}}}
     72
     73  Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows:
     74{{{
     75$ iget gimitesting.sq3
     76}}}
     77
     78  * Store data from user workspace into your iRODS home directory.
     79{{{
     80$ iput <file_name>
     81}}}
     82
     83 2. iRODS web interface:
     84iRODS also provides a nice and easy to use [https://www.irods.org/web/index.php web interface], which we will explore in the following.
     85  * Point the browser in your user workspace to the following link: https://www.irods.org/web/index.php
     86  * Input the following information to sign in:
     87{{{
     88Host/IP: emmy8.casa.umass.edu
     89Port: 1247
     90Username: as given on printout
     91Password: as given on printout
     92}}}
     93  * The following screenshot shows an example for the web interface: [[Image(wiki:GIMIv1.0Tutorial:irods_screen.png)]]
     94
     95 3. IRODS and OML
     96In GIMI we have enabled an option in OML2.8 that allows the execution of script. We use this functionality to automatically save measurement results in IRODS after a measurement has successfully completed.
     97
     98 4. DISCLAIMER
     99The iRODS service we are offering within the scope of GIMI does NOT guarantee 100% reliable data storage (i.e., we do NOT back up the data). If you are performing your own experiments and want to use iRODS you are absolutely welcome but be aware that we do NOT guarantee recovery from data loss.
     100
     101
    30102=== 6)  Move selected collected measurements and other artifacts from storage service to long-term archive service ===
    31103