| 280 | |
| 281 | === F.1 iRODS Environment Settings === |
| 282 | If you haven't already performed this step in A.1, you first have to configure the your local iRODS environment: |
| 283 | |
| 284 | * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example: |
| 285 | {{{ |
| 286 | # iRODS personal configuration file. |
| 287 | # |
| 288 | # This file was automatically created during iRODS installation. |
| 289 | # Created Thu Feb 16 14:06:27 2012 |
| 290 | # |
| 291 | # iRODS server host name: |
| 292 | irodsHost 'emmy9.casa.umass.edu' |
| 293 | # iRODS server port number: |
| 294 | irodsPort 1247 |
| 295 | |
| 296 | # Default storage resource name: |
| 297 | irodsDefResource 'iRODSUmass2' |
| 298 | # Home directory in iRODS: |
| 299 | irodsHome '/geniRenci/home/gimiXX' |
| 300 | # Current directory in iRODS: |
| 301 | irodsCwd '/geniRenci/home/gimiXX' |
| 302 | # Account name: |
| 303 | irodsUserName 'gimiXX' |
| 304 | # Zone: |
| 305 | irodsZone 'geniRenci' |
| 306 | }}} |
| 307 | |
| 308 | * First of all copy the iRODS configuration file to .irodsEnv with the following command (replace gimiXX with your username): |
| 309 | {{{ |
| 310 | $ cp ~/Tutorials/GIMI/gimiXX/gimiXXIrodsEnv ~/.irods/.irodsEnv |
| 311 | }}} |
| 312 | * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly): |
| 313 | {{{ |
| 314 | $ iinit |
| 315 | }}} |
| 316 | |
| 317 | * You will be prompted for a password. Please type in the password you were provided with on the paper handout!! |
| 318 | |
| 319 | ---- |
| 320 | |
| 321 | === F.2 Retrieving Data from iRODS to Local System === |
| 322 | In the following we list the steps and commands that will allow you to retrieve data from the iRODS storage to your |
| 323 | local storage: |
| 324 | |
| 325 | * List content of your home directory |
| 326 | {{{ |
| 327 | $ ils |
| 328 | }}} |
| 329 | * To change to a different directory use |
| 330 | {{{ |
| 331 | $ icd |
| 332 | }}} |
| 333 | * Retrieve file from your iRODS home directory into user workspace. |
| 334 | {{{ |
| 335 | $ iget <file_name> |
| 336 | }}} |
| 337 | |
| 338 | Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows: |
| 339 | {{{ |
| 340 | $ iget gimitesting.sq3 |
| 341 | }}} |
| 342 | * A complete overview on the iRODS commands can be found [https://www.irods.org/index.php/icommands here]. |
| 343 | |
| 344 | === F.3 Searching the Catalogue for Data === |
| 345 | {{{ |
| 346 | $ imeta qu -d SliceName like gimi28 |
| 347 | }}} |
| 348 | |
| 349 | |
| 350 | ---- |