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

Nov 26, 2012, 10:14:15 PM (10 years ago)


  • 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)
     28== Install {{{icommands}}} ==
     30The iRODS software may be downloaded [ here].
     32Use the {{{irodssetup}}} script inside this package and choose to build only the {{{icommands}}}. Then make these commands available to all users as follows:
     34cp iRODS/clients/icommands/bin/* /usr/local/bin/
     37== Install {{{iarchive}}} ==
     39Download the {{{iarchive}}} script, install it in /usr/local/bin, and make it executable:
     42mv iarchive /usr/local/bin
     43chmod +x /usr/local/bin/iarchive
     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
     52== Set up iRODS accounts for users ==
     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.
     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:
     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
     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.
     69Enter your current iRODS password:
     72Then add a line to your {{{~/.irods/.irodsEnv}}} file indicating your default resource on the iRODS server. For example:
     77Finally, use {{{ipasswd}}} to change your password from the default password given to you by the iRODS site adminstrator.
     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:
     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>}}}:
     86iadmin mkuser x0dros#geniRenci rodsuser
     87iadmin atg nyupoly x0dros#geniRenci
     88iadmin moduser x0dros#geniRenci password <password>
     89iadmin quit
     91 * Finally, unset the temporary irodsHost environment variable:
     93unset irodsHost