Skip to content
Snippets Groups Projects
dice.md 5.04 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jan Siwiec's avatar
    Jan Siwiec committed
    # What Is DICE Project?
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    DICE (Developing Innovation and Creativity in Education) is an international project co-funded by the Erasmus+ Programme of the European Union.
    
    Its main goals are related to fostering innovation and creativity in education.
    
    This project attempts to be a leading initiative that supports educational community to make progress in the field of innovation and creativity through effective, authentic, practical, sustainable actions.
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    This project has been funded with support from the European Commission.
    For more information, see [http://www.diceproject.eu/][b].
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    **IT4Innovations participates in DICE. DICE uses the iRods software**
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    The integrated Rule-Oriented Data System (iRODS) is an open source data management software used by research organizations and government agencies worldwide. iRODS is released as a production-level distribution aimed at deployment in mission critical environments. It virtualizes data storage resources, so users can take control of their data, regardless of where and on what device the data is stored. As data volumes grow and data services become more complex, iRODS is serving an increasingly important role in data management, see [https://irods.org/][c].
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ## How to Put Your Data to Our Server
    
    
    **Prerequisities:**
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    We have to be sure about your identity, this will be done throught this steps:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    - sign to MyAccessId [https://ds.myaccessid.org/][g] , after that, please create account at B2Access [https://b2access.eudat.eu/][d]
    - after successfull login to B2Access, please sign in to our AAI at : [https://aai.it4i.cz/realms/IT4i_AAI/account/#/][f] throught your B2Access account
    - fill this request for eudat [https://www.eudat.eu/contact-support-request?Service=B2SAFE][h]
    
    - finally, contact our support@it4i.cz by crypted mail, we will create account at our iRods server and send you crypted mail.
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ![](img/aai2.jpg)
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ### You Need a Client to Connect to iRods Server
    
    
    - there are many iRods clients, but we recommend theese:
    - Cyberduck - for windows / mac, GUI
    - iCommands - for linux, cli
    - Fuse - for linux, cli
    
    #### Cyberduck
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    - download at [https://cyberduck.io/download/][i]
    
    - download connection profile for IT4I irods server [irods.cyberduckprofile][1]
    - left doubleclick at this profile file opens connection
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    ![](img/irods-cyberduck.jpg)
    
    #### Fuse
    
    - Instalation without openid:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    ```console
    lup005@ubuntu20:~$ wget https://github.com/cyverse/irodsfs/releases/download/v0.7.3/irodsfs_amd64_linux_v0.7.3.tar
    lup005@ubuntu20:~$ tar -xvf irodsfs_amd64_linux_v0.7.3.tar
    lup005@ubuntu20:~$ mkdir IRODS
    ```
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    ```console
    lup005@ubuntu20:~$ vim config.yml
    
    host: irods1.it4i.cz
    port: 1247
    client_user: test
    zone: IT4I
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    password: TestUser123/
    
    
    path_mappings:
      - irods_path: /IT4I/home/test
        mapping_path: /
        resource_type: dir
    ```
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    How to start - mount your collection:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    ```console
    lup005@ubuntu20:~$ ./irodsfs -config ~/config.yml ~/IRODS
    
    time="2022-07-13 14:42:18.088338" level=info msg="Logging to /tmp/irodsfs_cb7brah44s3cedmmstp0.log" function=processArguments package=main
    Username: test
    verification:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    -rwx------ 1 lup005 lup005 1073741824 Nov  4  2021 test1G.txt
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    How to stop - unmout your collection:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    ```console
    lup005@ubuntu20:~$ umount ~/IRODS
    ```
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    - this is linux client only, basic knowledge of command line is neccessary
    - we tested it on centos7
    - for ubuntu20 - there is [http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client][j]
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ```console
    
    wget https://packages.irods.org/irods-signing-key.asc
    wget -qO - https://packages.irods.org/renci-irods.yum.repo | sudo tee /etc/yum.repos.d/renci-irods.yum.repo
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    sudo yum install epel-release -y
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    sudo yum install irods-icommands
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    mkdir ~/.irods/
    
    ```
    
    Copy&paste + edit irods_user_name
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    ```console
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    [root@icommands ~]# cat .irods/irods_environment.json
    
    {
        "irods_host": "irods.it4i.cz",
        "irods_port": 1247,
        "irods_zone_name": "IT4I",
        "irods_user_name": "b2access_username",
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
        "irods_authentication_scheme": "PAM",
    
        "irods_ssl_verify_server": "cert"
    }
    ```
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    ```console
    
    [root@icommand .irods]# pwd
    /root/.irods
    [root@icommand .irods]# ls -la
    total 16
    drwx------. 2 root root 136 Sep 29 08:53 .
    dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
    -rw-r--r--. 1 root root 253 Sep 29 08:14 irods_environment.json
    ```
    
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
     **How to Start:**
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    **step 1:**
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    ```console
    
    [root@icommand .irods]# iinit
    ```
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    **step 2:**
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    ```console
    [root@irods-client .irods]# iinit
    Enter your current PAM password:
    [root@irods-client .irods]# ils
    /IT4I/home/dvo0012:
      file.jpg
      file2.png
      file3.test
      file4.txt
      file5.xlsx
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ```
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    For more commands, use the `ihelp` command.
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    [b]: http://www.diceproject.eu/
    [c]: https://irods.org/
    [d]: https://b2access.eudat.eu/
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    [f]: https://aai.it4i.cz/realms/IT4i_AAI/account/#/
    [g]: https://ds.myaccessid.org/
    [h]: https://www.eudat.eu/contact-support-request?Service=B2SAFE
    [i]: https://cyberduck.io/download/
    
    Ondrej Dvorak's avatar
    Ondrej Dvorak committed
    [j]: http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client