close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of dSite/gGIMISetup


Ignore:
Timestamp:
Nov 26, 2012, 10:14:15 PM (11 years ago)
Author:
ffund01
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dSite/gGIMISetup

    v2 v3  
    2020This document primarily describes how to provide tools for users to archive an experiment to iRODS. This consists of three parts:
    2121 * Installing {{{icommands}}}
    22  * Installing the extra {{{iarchive script}}}
     22 * Installing the extra {{{iarchive}}} script
    2323 * Setting up iRODS accounts for users
     24 * Extending the OMF experiment controller (optional)
    2425 * Installing the iRODS web frontend (optional)
     26
     27
     28== Install {{{icommands}}} ==
     29
     30The iRODS software may be downloaded [https://www.irods.org/download.html here].
     31
     32Use the {{{irodssetup}}} script inside this package and choose to build only the {{{icommands}}}. Then make these commands available to all users as follows:
     33{{{
     34cp iRODS/clients/icommands/bin/* /usr/local/bin/
     35}}}
     36
     37== Install {{{iarchive}}} ==
     38
     39Download the {{{iarchive}}} script, install it in /usr/local/bin, and make it executable:
     40{{{
     41wget http://witestlab.poly.edu/repos/misc/iarchive
     42mv iarchive /usr/local/bin
     43chmod +x /usr/local/bin/iarchive
     44}}}
     45
     46If necessary, edit the script and replace the {{{ICMD_PATH}}}, {{{OML_DIR}}}, and {{{EC_LOG_DIR}}} with the relevant values for your system:
     47 * {{{ICMD_PATH}}} is the location where the {{{icommands}}} are installed
     48 * {{{OML_DIR}}} is the location where the OML server stores sq3 files (future version of this script will also accept a URL of an OMF results service)
     49 * {{{EC_LOG_DIR}}} is the location where the OMF experiment controller stores experiment log files
     50
     51
     52== Set up iRODS accounts for users ==
     53
     54The administrator for the iRODS server you are using must create an account that is in the {{{rodsadmin}}} group. With this account, you can now create new users using the {{{iadmin}}} commands.
     55
     56The first time you use this account, you must initialize it using {{{iinit}}} and the values provided by the administrator of the iRODS site you are using. For example:
     57{{{
     58$ iinit
     59One or more fields in your iRODS environment file (.irodsEnv) are
     60missing; please enter them.
     61Enter the host name (DNS) of the server to connect to:emmy9.casa.umass.edu
     62Enter the port number:1247
     63Enter your irods user name:ffund
     64Enter your irods zone:geniRenci
     65Those values will be added to your environment file (for use by
     66other i-commands) if the login succeeds.
     67
     68
     69Enter your current iRODS password:
     70}}}
     71
     72Then add a line to your {{{~/.irods/.irodsEnv}}} file indicating your default resource on the iRODS server. For example:
     73{{{
     74irodsDefResource=iRODSUmass2
     75}}}
     76
     77Finally, use {{{ipasswd}}} to change your password from the default password given to you by the iRODS site adminstrator.
     78
     79Once your account is initialized, use these steps to create new user:
     80 * Temporarily set your irodsHost environment variable to the address of the iCAT server (not necessarily the iRODS server). For example:
     81{{{
     82export irodsHost=geni-gimi.renci.org
     83}}}
     84 * Use {{{iadmin}}} to create a new user, enroll that use in your site "group", and create an initial password for the user. In this example, we create a user {{{x0dros}}} in the {{{nyupoly}}} group and give him the initial password {{{<password>}}}:
     85{{{
     86iadmin mkuser x0dros#geniRenci rodsuser
     87iadmin atg nyupoly x0dros#geniRenci
     88iadmin moduser x0dros#geniRenci password <password>
     89iadmin quit
     90}}}
     91 * Finally, unset the temporary irodsHost environment variable:
     92{{{
     93unset irodsHost
     94}}}