Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irods and davrods: bigger update #3 #612

Merged
merged 23 commits into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0128616
iRODS: davrods limit to TLS >= 1.2
scimerman Aug 1, 2022
89347e0
Merge branch 'develop' of https://github.com/rug-cit-hpc/league-of-ro…
scimerman Aug 1, 2022
f73b94f
Merge branch 'develop' of https://github.com/rug-cit-hpc/league-of-ro…
scimerman Aug 5, 2022
80d3b8d
irods & davrods v3: irods updated to v4.3.0, replaced certificate, up…
scimerman Aug 9, 2022
eb44e45
irods: renamed Vault variables, added davrods docker unused image pru…
scimerman Aug 9, 2022
15124ad
irods: typo
scimerman Aug 9, 2022
e570f97
irods: sql database testing fix, unified remote and local calls
scimerman Aug 10, 2022
4e27332
irods: remove unneeded backup of /etc/init.d/irods file
scimerman Aug 10, 2022
4f00427
Merge branch 'develop' into irods_and_davrods
pneerincx Aug 11, 2022
c762dbd
irods: version limitation impovement
scimerman Aug 12, 2022
e39614c
Merge branch 'irods_and_davrods' of https://github.com/scimerman/leag…
scimerman Aug 12, 2022
ee82216
Merge branch 'develop' of https://github.com/rug-cit-hpc/league-of-ro…
scimerman Aug 15, 2022
7f8ae02
Merge branch 'develop' into irods_and_davrods
pneerincx Aug 15, 2022
95a2583
Merge branch 'irods_and_davrods' of https://github.com/scimerman/leag…
scimerman Aug 16, 2022
8df9202
Merge branch 'develop' into irods_and_davrods
pneerincx Aug 16, 2022
cda481a
irods: update packages, python3, psql pgpass ...
scimerman Aug 16, 2022
3f0b32b
Merge branch 'develop' of https://github.com/rug-cit-hpc/league-of-ro…
scimerman Aug 17, 2022
9926fd6
irods: new (internal only) postgres test machine
scimerman Aug 18, 2022
8429d50
Cluster packages: changed to variable that can be overwritten
scimerman Aug 18, 2022
578613b
Merge branch 'develop' of https://github.com/rug-cit-hpc/league-of-ro…
scimerman Aug 29, 2022
3bd3b30
Merge branch 'develop' into irods_and_davrods
pneerincx Sep 1, 2022
6444e77
package version limiting, updated installation
scimerman Sep 2, 2022
84dbe57
Merge branch 'irods_and_davrods' of https://github.com/scimerman/leag…
scimerman Sep 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions files/nibbler_cluster/nemi_irods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ openssl dhparam -2 -out dhparams.pem 2048

#### DEBUGGING

Viewing irods log file in new >4.3.0 json format
```bash
$ sudo jq '[.server_timestamp,.log_message] | join(" ")' /var/log/irods/irods.log | tail -n 15

```

* irods service
to start/restart/stop irods service, use
`service irods restart`
Expand All @@ -355,8 +361,8 @@ net.ipv4.tcp_keepalive_probes = 6
```

* check logs
```
tail -50 /var/lib/irods/log/rods.Log.2021...
```bash
$ tail -50 /var/lib/irods/log/rods.Log.2021...
```

* restart service
Expand Down
46 changes: 23 additions & 23 deletions group_vars/irods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,42 @@ iptables_allow_irods:
- ANY
iptables_allow_postgresql_outbound:
- ANY

ir_server_type: 'icat' # iRODS Server Type
ir_yum_packages: '{{ ir_yum_packages_4_3_0 }}' # Picked version of packages (defined in role defaults)
ssh_host_signer_hostnames: "{{ ansible_fqdn }},{{ ansible_hostname }},{{ inventory_hostname }}\
{% for host in groups['jumphost'] %},{{ host }}+{{ ansible_hostname }}{% endfor %}\
{% for host in groups['jumphost'] %},{{ host }}+{{ inventory_hostname }}{% endfor %}"
ir_version: '-4.2.11*' # if defined (empty): version will be installed (must start with '-' and end with '*')
ir_server_type: 'icat' # iRODS Server Type
ir_client_server_policy: 'CS_NEG_REQUIRE' # communicating using SSL (CS_NEG_REQUIRE) or without (CS_NEG_REFUSE

ir_client_server_policy: 'CS_NEG_REQUIRE' # communicating using SSL (CS_NEG_REQUIRE) or without (CS_NEG_REFUSE
ir_ssl_certificate_chain_file: 'nemi_irods/localhost_and_chain_umcg-icat01.crt' # iRODS server certificate
ir_ssl_certificate_key_file: 'nemi_irods/localhost-umcg01.key' # iRODS server certificate's key
ir_ssl_dh_params_file: 'dhparams.pem' # DHparam filename
ir_ssl_dh_params_file: 'dhparams.pem' # DHparam filename

ir_zone: 'nlumcg' # default main iRODS zone name
ir_local_res: 'rootResc' # local iRODS resource
ir_vault_path: '/var/lib/irods/Vault' # default path to store files for local resource
ir_default_res: 'surfObjStore' # default resource iRODS uploads to
ir_service_account: 'irods' # linux account under which iRODS runs
ir_admin_name: 'rods' # iRODS (and zone) account
ir_service_account: 'irods' # iRODS linux account under which iRODS runs
ir_service_account_home: '/home/{{ ir_service_account }}' # iRODS service account user's home folder
ir_admin_name: 'rods' # iRODS (and zone) account
ir_admin_pwd: '{{ icatV_admin_pwd }}' # iRODS Vaulte main administrator password
ir_admin_home_path: '/{{ ir_zone }}/home/{{ ir_admin_name }}' # iRODS admin's home path
ir_db_user: '{{ ir_service_account }}' # db Username, usually same as irods_service_account
ir_db_server: '{{ icat_db_server }}' # iRODS Database Server
ir_db_name: 'ICAT' # iRODS Database Name
ir_negotiation_key: '{{ icat_negotiation_key }}'
ir_ctrl_plane_key: '{{ icat_ctrl_plane_key }}'
ir_zone_key: '{{ icat_zone_key }}'
ir_salt: '{{ icat_salt }}' # iRODS salt
ir_salt: '{{ icatV_salt }}' # iRODS Vaulted salt
ir_zone: 'nlumcg' # iRODS default main iRODS zone name
ir_zone_key: '{{ icatV_zone_key }}' # iRODS Vaulted zone key
ir_negotiation_key: '{{ icatV_negotiation_key }}' # iRODS Vaulted negotiation key
ir_ctrl_plane_key: '{{ icatV_ctrl_plane_key }}' # iRODS Vaulted control plane key
ir_local_res: 'rootResc' # iRODS local iRODS resource
ir_vault_path: '/var/lib/irods/Vault' # iRODS default path to store files for local resource
ir_default_res: 'surfObjStore' # iRODS default resource iRODS uploads to

davrods_install: true # to install davrods docker
davrods_docker_folder: 'davrods_docker' # davrods docker folder name, relative to the user home directory
davrods_install: true # to install davrods docker
davrods_docker_folder: 'davrods_docker' # davrods docker folder name, relative to the user home directory
davrods_default_resource: '{{ ir_default_res }}' # default resource to upload files via davrods

tiering_install: False # True / False
ir_local_stage_res: 'demoRescStaging' # Staging resource, before data moved to permanent resource
tiering_install: False # True / False
ir_local_stage_res: 'demoRescStaging' # Staging resource, before data moved to permanent resource
ir_local_stage_res_fol: '/tmp/irods/{{ ir_local_stage_res }}' # optional, only if it is local resource
ir_local_perm_res: 'demoRescPerm' # Permanent resource, where it will keep data indefinitely
ir_local_perm_res: 'demoRescPerm' # Permanent resource, where it will keep data indefinitely
ir_local_perm_res_fol: '/tmp/irods/{{ ir_local_perm_res }}' # optional, only if it is local resource

pgsql_server: "local" # "local" or "remote" PostgreSQL server
pgsql_server: "local" # "local" or "remote" PostgreSQL server
remote_psql_server_ca: "nemi_irods/remote_psql_server_ca.crt" # (optional) remote servers's CA certificate
...
7 changes: 7 additions & 0 deletions group_vars/nibbler_cluster/ip_addresses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ ip_addresses:
nb_internal_management_13:
address: 10.10.3.17
netmask: /32
irods-test-db:
nb_internal_management:
address: 10.10.1.114
netmask: /32
nb_internal_management_13:
address: 10.10.3.97
netmask: /32
nb-dai:
nb_internal_management:
address: 10.10.1.75
Expand Down
Loading