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

10/15/12 23:18:57 (7 years ago)



  • GIMIv1.1Tutorial/Toirods

    v7 v8  
     31In GIMI, [ 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).
     33We will use part 2 of this tutorial to make the participants more familiar with iRODS and how we use it in GIMI.
     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.
     37 1. iRODS command line tools in the user work space:
     38  * The GENI [ User Workspace] comes already with the iRODS command line tools installed.
     39  * If you have not done so far use [ iinit] to create a file that contains your iRODS password in a scrambled form. This will then be used automatically by the [ icommands] for authentication with the server.
     41$ iinit
     43You will be prompted for a password. Please enter the one given on the paper handout.
     45  * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example:
     47# iRODS personal configuration file.
     49# This file was automatically created during iRODS installation.
     50#   Created Thu Feb 16 14:06:27 2012
     52# iRODS server host name:
     53irodsHost ''
     54# iRODS server port number:
     55irodsPort 1247
     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'
     68  * Retrieve file from your iRODS home directory into user workspace.
     70$ iget <file_name>
     73  Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows:
     75$ iget gimitesting.sq3
     78  * Store data from user workspace into your iRODS home directory.
     80$ iput <file_name>
     83 2. iRODS web interface:
     84iRODS also provides a nice and easy to use [ web interface], which we will explore in the following.
     85  * Point the browser in your user workspace to the following link:
     86  * Input the following information to sign in:
     89Port: 1247
     90Username: as given on printout
     91Password: as given on printout
     93  * The following screenshot shows an example for the web interface: [[Image(wiki:GIMIv1.0Tutorial:irods_screen.png)]]
     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.
     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.
    30102=== 6)  Move selected collected measurements and other artifacts from storage service to long-term archive service ===