Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Commits
66c0500e
Commit
66c0500e
authored
2 years ago
by
Ondrej Dvorak
Committed by
Jan Siwiec
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Dice patch pam
parent
8434ad25
No related branches found
Branches containing commit
No related tags found
1 merge request
!385
Dice patch pam
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs.it4i/dice.md
+138
-47
138 additions, 47 deletions
docs.it4i/dice.md
docs.it4i/irods1.it4i.cz.crt
+85
-0
85 additions, 0 deletions
docs.it4i/irods1.it4i.cz.crt
with
223 additions
and
47 deletions
docs.it4i/dice.md
+
138
−
47
View file @
66c0500e
...
...
@@ -27,12 +27,57 @@ We have to be sure about your identity, this will be done throught this steps:


### You Need a Client to Connect to iRods Server
### ***IT4I User (You Have IT4I Account With Access to Cluster Already)***
-
iRods clients are provided as a module
-
config file (for client) will be loaded with module too
***How to mount your collection***
```
console
ssh some_user@login.karolina.it4i.cz
ml iRODS
```
now you can choose between Fuse client or iCommands
***iCommands***
```
console
iinit
Enter your current PAM password:
```
```
console
ils
/IT4I/home/some_user:
test.1
test.2
test.3
test.4
```
-
upload
`iput`
, download
`iget`
-
for more help, type
`ihelp`
***Fuse***
```
console
./irodsfs -config ~/config.yml ~/IRODS
cd ~/IRODS
```
you can work with fuse as an ordinary directory
### ***Users Without IT4I Account (No Access to Cluster)***
-
we suppose, you will upload your data from your local pc/vm
#### You Need a Client to Connect to iRods Server
-
there are many iRods clients, but we recommend theese:
-
Cyberduck - for windows / mac, GUI . Password from aai.it4i.cz (keycloak) works
-
Fuse (irodsfs lite) - for linux, cli
-
iCommands - for linux, cli . Password from aai.it4i.cz (keycloak) works
-
Fuse (irodsfs lite) - for linux, cli . Only local password created by support@it4i.cz works for now, we working on it.
#### Cyberduck
...
...
@@ -42,6 +87,80 @@ We have to be sure about your identity, this will be done throught this steps:

#### Irodsfs Lite
-
work with your irods collection like ordinary directory
-
this is linux client only, basic knowledge of commandline is neccessary
```
console
cd ~
wget https://docs.it4i.cz/irods1.it4i.cz.crt [k]
wget https://github.com/cyverse/irodsfs/releases/download/v0.7.6/irodsfs_amd64_linux_v0.7.6.tar
tar -xvf ~/irodsfs_amd64_linux_v0.7.6.tar
mkdir ~/IRODS
```
settings:
```
console
vim ~/config.yml
```
```
console
host: irods1.it4i.cz
port: 1247
proxy_user: some_user
client_user: some_user
zone: IT4I
authscheme: "pam"
ssl_ca_cert_file: "~/irods1.it4i.cz.crt"
ssl_encryption_key_size: 32
ssl_encryption_algorithm: "AES-256-CBC"
ssl_encryption_salt_size: 8
ssl_encryption_hash_rounds: 16
path_mappings:
- irods_path: /IT4I/home/some_user
mapping_path: /
resource_type: dir
```
***How to start - mount your collection:***
```
console
./irodsfs -config ~/config.yml ~/IRODS
time="2022-07-29 09:51:11.720831" level=info msg="Logging to /tmp/irodsfs_cbhp2rucso0ef0s7dtl0.log" function=processArguments package=main
Password:
time="2022-07-29 09:51:17.691988" level=info msg="Found FUSE Device. Starting iRODS FUSE Lite." function=parentMain package=main
time="2022-07-29 09:51:17.692683" level=info msg="Running the process in the background mode" function=parentRun package=main
time="2022-07-29 09:51:17.693381" level=info msg="Process id = 74772" function=parentRun package=main
time="2022-07-29 09:51:17.693421" level=info msg="Sending configuration data" function=parentRun package=main
time="2022-07-29 09:51:17.693772" level=info msg="Successfully sent configuration data to background process" function=parentRun package=main
time="2022-07-29 09:51:18.008166" level=info msg="Successfully started background process" function=parentRun package=main
```
***How to put your data to iRODS***
```
console
cp test1G.txt ~/IRODS
```
It works as ordinary filesystem
```
console
ls -la ~/IRODS
total 0
-rwx------ 1 some_user some_user 1073741824 Nov 4 2021 test1G.txt
```
***How to stop - unmout your collection:***
```
console
fusermount -u ~/IRODS
```
#### iCommands
-
this is linux client only, basic knowledge of commandline is neccessary
...
...
@@ -54,12 +173,13 @@ wget -qO - https://packages.irods.org/renci-irods.yum.repo | sudo tee /etc/yum.r
sudo yum install epel-release -y
sudo yum install irods-icommands
mkdir ~/.irods/
wget https://docs.it4i.cz/irods1.it4i.cz.crt [k]
```
Copy&paste + edit irods_user_name
```
console
$
cat
.irods/irods_environment.json
$
vim ~/
.irods/irods_environment.json
{
"irods_host": "irods1.it4i.cz",
"irods_port": 1247,
...
...
@@ -67,7 +187,7 @@ $ cat .irods/irods_environment.json
"irods_zone_name": "IT4I",
"irods_authentication_scheme": "PAM",
"irods_ssl_verify_server": "cert",
"irods_ssl_ca_certificate_file": "
/etc/ssl/certs
/irods1.it4i.cz.crt",
"irods_ssl_ca_certificate_file": "
~
/irods1.it4i.cz.crt",
"irods_encryption_algorithm": "AES-256-CBC",
"irods_encryption_key_size": 32,
"irods_encryption_num_hash_rounds": 16,
...
...
@@ -77,13 +197,13 @@ $ cat .irods/irods_environment.json
```
console
$
pwd
/
root
/.irods
/
some_user
/.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
drwx------. 2
some_user some_user
136 Sep 29 08:53 .
dr-xr-x---. 6
some_user some_user
206 Sep 29 08:53 ..
-rw-r--r--. 1
some_user some_user
253 Sep 29 08:14 irods_environment.json
```
**How to Start:**
...
...
@@ -97,56 +217,26 @@ Enter your current PAM password:
$
ils
/IT4I/home/some_user:
file.jpg
file2.png
file3.test
file4.txt
file5.xlsx
```
#### Irodsfs Lite
-
work with your irods collection like ordinary directory
***how to put your data to IRODS***
```
console
wget https://github.com/cyverse/irodsfs/releases/download/v0.7.3/irodsfs_amd64_linux_v0.7.3.tar
tar -xvf irodsfs_amd64_linux_v0.7.3.tar
mkdir /mount/irods
$
iput cesnet.crt
```
settings:
```
console
vim config.yml
host: irods1.it4i.cz
port: 1247
proxy_user: some_user
client_user: some_user
zone: IT4I
path_mappings:
- irods_path: /IT4I/home/some_user
mapping_path: /
resource_type: dir
```
How to start - mount your collection:
```
console
./irodsfs -config ~/config.yml ~/mount/irods
time="2022-07-13 14:42:18.088338" level=info msg="Logging to /tmp/irodsfs_cb7brah44s3cedmmstp0.log" function=processArguments package=main
Password: #
#type your password here
ls -la /mount/irods/
total 0
-rwx------ 1 some_user some_user 1073741824 Nov 4 2021 test1G.txt
$
ils
/IT4I/home/some_user:
cesnet.crt
```
How to
stop - unmout your collection:
***
How to
download data***
```
console
fusermount -u /mount/irods
$
iget cesnet.crt
ls -la ~
-rw-r--r--. 1 some_user some_user 1464 Jul 20 13:44 cesnet.crt
```
For more commands, use the
`ihelp`
command.
...
...
@@ -161,3 +251,4 @@ For more commands, use the `ihelp` command.
[
h
]:
https://www.eudat.eu/contact-support-request?Service=B2SAFE
[
i
]:
https://cyberduck.io/download/
[
j
]:
http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client
[
k
]:
https://docs.it4i.cz/irods1.it4i.cz.crt
This diff is collapsed.
Click to expand it.
docs.it4i/irods1.it4i.cz.crt
0 → 100644
+
85
−
0
View file @
66c0500e
-----BEGIN CERTIFICATE-----
MIIHezCCBWOgAwIBAgIQWi8LC+shJ7H9XiWIJYC/JDANBgkqhkiG9w0BAQwFADBE
MQswCQYDVQQGEwJOTDEZMBcGA1UEChMQR0VBTlQgVmVyZW5pZ2luZzEaMBgGA1UE
AxMRR0VBTlQgT1YgUlNBIENBIDQwHhcNMjEwOTI0MDAwMDAwWhcNMjIwOTI0MjM1
OTU5WjCBiTEL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dF+d6LCGSjdlLZ1bXwMSdBkYfoEL120Q9lFaUldKVTr
Jt5QTZQfnCgJPmlE55KVObhbK37If/x4MyJiM2FHf3My9i0HPZ8oKJGPvNNSlqtO
PnA/CDd+22T2wPeKDAMFPmIzyGt+G4XAW/nP1pIdd9wB2uHGnS+71vY/NGdIdgre
E5YVezyKONQIrpQjXDpprm0xeEQfJGOg9f09ZTcsFQGdXewdY3TMRxhiEUCEYwY=
-----END CERTIFICATE-----
# subject: C=NL, O=GEANT Vereniging, CN=GEANT OV RSA CA 4
# issuer: C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification Authority
# SHA256 Fingerprint: 37:83:4f:a5:ea:40:fb:f7:b6:11:96:95:59:62:e1:ca:05:58:87:24:35:e4:20:66:53:d3:f6:20:dd:8e:98:8e
-----BEGIN CERTIFICATE-----
MIIG5TCCBM2gAwIBAgIRANpDvROb0li7TdYcrMTz2+AwDQYJKoZIhvcNAQEMBQAw
gYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpOZXcgSmVyc2V5MRQwEgYDVQQHEwtK
ZXJzZXkgQ2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMS4wLAYD
VQQDEyVVU0VSVHJ1c3QgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTIw
MDIxODAwMDAwMFoXDTMzMDUwMTIzNTk1OVowRDELMAkGA1UEBhMCTkwxGTAXBgNV
BAoTEEdFQU5UIFZlcmVuaWdpbmcxGjAYBgNVBAMTEUdFQU5UIE9WIFJTQSBDQSA0
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEApYhi1aEiPsg9ZKRMAw9Q
r8Mthsr6R20VSfFeh7TgwtLQi6RSRLOh4or4EMG/1th8lijv7xnBMVZkTysFiPmT
PiLOfvz+QwO1NwjvgY+Jrs7fSoVA/TQkXzcxu4Tl3WHi+qJmKLJVu/JOuHud6mOp
LWkIbh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DovL29jc3AudXNlcnRydXN0LmNvbTANBgkqhkiG9w0B
AQwFAAOCAgEAUtlC3e0xj/1BMfPhdQhUXeLjb0xp8UE28kzWE5xDzGKbfGgnrT2R
lw5gLIx+/cNVrad//+MrpTppMlxq59AsXYZW3xRasrvkjGfNR3vt/1RAl8iI31lG
hIg6dfIX5N4esLkrQeN8HiyHKH6khm4966IkVVtnxz5CgUPqEYn4eQ+4eeESrWBh
AqXaiv7HRvpsdwLYekAhnrlGpioZ/CJIT2PTTxf+GHM6cuUnNqdUzfvrQgA8kt1/
ASXx2od/M+c8nlJqrGz29lrJveJOSEMX0c/ts02WhsfMhkYa6XujUZLmvR1Eq08r
48/EZ4l+t5L4wt0DV8VaPbsEBF1EOFpz/YS2H6mSwcFaNJbnYqqJHIvm3PLJHkFm
EoLXRVrQXdCT+3wgBfgU6heCV5CYBz/YkrdWES7tiiT8sVUDqXmVlTsbiRNiyLs2
bmEWWFUl76jViIJog5fongEqN3jLIGTG/mXrJT1UyymIcobnIGrbwwRVz/mpFQo0
vBYIi1k2ThVh0Dx88BbF9YiP84dd8Fkn5wbE6FxXYJ287qfRTgmhePecPc73Yrzt
apdRcsKVGkOpaTIJP/l+lAHRLZxk/dUtyN95G++bOSQqnOCpVPabUGl2E/OEyFrp
Ipwgu2L/WJclvd6g+ZA/iWkLSMcpnFb+uX6QBqvD6+RNxul1FaB5iHY=
-----END CERTIFICATE-----
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment