95 | | |
96 | | [[BR]] |
97 | | [[BR]] |
98 | | |
99 | | In Section F we went through the exercise of retrieving data from iRODS to a local computer. In this Section, we will introduce |
| 95 | === E.1 iRODS Environment Settings === |
| 96 | If you haven't already performed this step in A.1, you first have to configure the your local iRODS environment: |
| 97 | |
| 98 | * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example: |
| 99 | {{{ |
| 100 | # iRODS personal configuration file. |
| 101 | # |
| 102 | # This file was automatically created during iRODS installation. |
| 103 | # Created Thu Feb 16 14:06:27 2012 |
| 104 | # |
| 105 | # iRODS server host name: |
| 106 | irodsHost 'emmy9.casa.umass.edu' |
| 107 | # iRODS server port number: |
| 108 | irodsPort 1247 |
| 109 | |
| 110 | # Default storage resource name: |
| 111 | irodsDefResource 'iRODSUmass2' |
| 112 | # Home directory in iRODS: |
| 113 | irodsHome '/geniRenci/home/gimiXX' |
| 114 | # Current directory in iRODS: |
| 115 | irodsCwd '/geniRenci/home/gimiXX' |
| 116 | # Account name: |
| 117 | irodsUserName 'gimiXX' |
| 118 | # Zone: |
| 119 | irodsZone 'geniRenci' |
| 120 | }}} |
| 121 | |
| 122 | * First of all copy the iRODS configuration file to .irodsEnv with the following command (replace gimiXX with your username): |
| 123 | {{{ |
| 124 | $ cp ~/Tutorials/GIMI/gimiXX/gimiXXIrodsEnv ~/.irods/.irodsEnv |
| 125 | }}} |
| 126 | * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly): |
| 127 | {{{ |
| 128 | $ iinit |
| 129 | }}} |
| 130 | |
| 131 | * You will be prompted for a password. Please type in the password you were provided with on the paper handout!! |
| 132 | |
| 133 | ---- |
| 134 | |
| 135 | === E.2 Retrieving Data from iRODS to Local System === |
| 136 | In the following we list the steps and commands that will allow you to retrieve data from the iRODS storage to your |
| 137 | local storage: |
| 138 | |
| 139 | * List content of your home directory |
| 140 | {{{ |
| 141 | $ ils |
| 142 | }}} |
| 143 | * To change to a different directory use |
| 144 | {{{ |
| 145 | $ icd |
| 146 | }}} |
| 147 | * Retrieve file from your iRODS home directory into user workspace. |
| 148 | {{{ |
| 149 | $ iget <file_name> |
| 150 | }}} |
| 151 | |
| 152 | Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows: |
| 153 | {{{ |
| 154 | $ iget gimitesting.sq3 |
| 155 | }}} |
| 156 | * A complete overview on the iRODS commands can be found [https://www.irods.org/index.php/icommands here]. |
| 157 | |
| 158 | === E.3 Searching the Catalogue for Data === |
| 159 | {{{ |
| 160 | $ imeta qu -d SliceName like gimi28 |
| 161 | }}} |
| 162 | |
| 163 | |
| 164 | |
| 165 | [[BR]] |
| 166 | [[BR]] |
| 167 | |
| 168 | In Section E we went through the exercise of retrieving data from iRODS to a local computer. In this Section, we will introduce |
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 | | ---- |
351 | | === H.1 Delete Slice === |
352 | | |
353 | | In Flukes select the ''Manifest View'' tab enter your slice name (gimiXX) and select ''Delete slice''. |
354 | | |
355 | | ---- |
356 | | |
357 | | [[BR]] |
358 | | [[BR]] |
| 344 | |
| 345 | === G.1 Delete Slice === |
| 346 | |
| 347 | In Flack, click on the 'Delete' button and select 'Delete at used Managers' as shown below: [[BR]] |
| 348 | |
| 349 | [[Image Flack4.png]] |
| 350 | |
| 351 | ---- |
| 352 | |
| 353 | [[BR]] |
| 354 | [[BR]] |