| 26 | |
| 27 | |
| 28 | == Install {{{icommands}}} == |
| 29 | |
| 30 | The iRODS software may be downloaded [https://www.irods.org/download.html here]. |
| 31 | |
| 32 | Use the {{{irodssetup}}} script inside this package and choose to build only the {{{icommands}}}. Then make these commands available to all users as follows: |
| 33 | {{{ |
| 34 | cp iRODS/clients/icommands/bin/* /usr/local/bin/ |
| 35 | }}} |
| 36 | |
| 37 | == Install {{{iarchive}}} == |
| 38 | |
| 39 | Download the {{{iarchive}}} script, install it in /usr/local/bin, and make it executable: |
| 40 | {{{ |
| 41 | wget http://witestlab.poly.edu/repos/misc/iarchive |
| 42 | mv iarchive /usr/local/bin |
| 43 | chmod +x /usr/local/bin/iarchive |
| 44 | }}} |
| 45 | |
| 46 | If 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 | |
| 54 | The 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 | |
| 56 | The 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 |
| 59 | One or more fields in your iRODS environment file (.irodsEnv) are |
| 60 | missing; please enter them. |
| 61 | Enter the host name (DNS) of the server to connect to:emmy9.casa.umass.edu |
| 62 | Enter the port number:1247 |
| 63 | Enter your irods user name:ffund |
| 64 | Enter your irods zone:geniRenci |
| 65 | Those values will be added to your environment file (for use by |
| 66 | other i-commands) if the login succeeds. |
| 67 | |
| 68 | |
| 69 | Enter your current iRODS password: |
| 70 | }}} |
| 71 | |
| 72 | Then add a line to your {{{~/.irods/.irodsEnv}}} file indicating your default resource on the iRODS server. For example: |
| 73 | {{{ |
| 74 | irodsDefResource=iRODSUmass2 |
| 75 | }}} |
| 76 | |
| 77 | Finally, use {{{ipasswd}}} to change your password from the default password given to you by the iRODS site adminstrator. |
| 78 | |
| 79 | Once 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 | {{{ |
| 82 | export 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 | {{{ |
| 86 | iadmin mkuser x0dros#geniRenci rodsuser |
| 87 | iadmin atg nyupoly x0dros#geniRenci |
| 88 | iadmin moduser x0dros#geniRenci password <password> |
| 89 | iadmin quit |
| 90 | }}} |
| 91 | * Finally, unset the temporary irodsHost environment variable: |
| 92 | {{{ |
| 93 | unset irodsHost |
| 94 | }}} |