Compare commits

..

34 commits

Author SHA1 Message Date
Micke Nordin f4eca0b747 Merge in changes from stable 2023-11-01 16:56:45 +01:00
Micke Nordin 9d5e53c0cc Merge branch 'stable' 2023-11-01 16:55:10 +01:00
Micke Nordin 7aa4a25dbd os.distro.id is the fact name 2023-11-01 16:35:55 +01:00
Micke Nordin ed65bb0d94 Use other command in debian 2023-11-01 16:31:24 +01:00
Micke Nordin df731fdb44 Force installation of drive-utils 2023-11-01 15:25:31 +01:00
Micke Nordin 9e4879d9c8 python3.9 -> python3 2023-11-01 15:20:23 +01:00
Fredrik Kjellman 3491a1a5f7 change MDU readme document. SD-285. 2023-10-31 13:49:37 +01:00
Magnus Andersson 3cdf7d4084
Revert "4 backslashes in mappingfile-test.json.erb. Does not work."
This reverts commit 14b6535efd.
2023-10-23 15:13:11 +02:00
Magnus Andersson 14b6535efd
Test of adding 4 backslashes in mappingfile-test.json.erb to deal with json handling of backslashes. 2023-10-23 14:49:46 +02:00
Micke Nordin e06a29a8a1 Revert mapping file for prod 2023-10-23 12:35:24 +02:00
Micke Nordin 21d9a5e3d0 Remove test 2023-10-19 14:49:46 +02:00
Micke Nordin eb0bb65f4a Allow smtp servers 2023-10-18 18:06:11 +02:00
Micke Nordin bdd858f76c Allow imap servers to connect 2023-10-18 09:46:14 +02:00
Micke Nordin b72315b1a2 Merge branch 'testing' 2023-10-17 17:06:49 +02:00
Micke Nordin ec9115df06 Nextcloud: Implement logs to stdout 2023-10-17 17:01:50 +02:00
Magnus Andersson aa1d8710e1
Add fuse3 package to script serever.Dependecy to rclone mount. 2023-10-17 13:20:02 +02:00
Magnus Andersson 6211f3aaea
Add fuse3 package to script serever.Dependecy to rclone mount. 2023-10-17 13:16:31 +02:00
Micke Nordin 176338f537 Merge branch 'main' into testing 2023-10-17 10:25:55 +02:00
Micke Nordin 1e9164dcd4 Nextcloud: Implement logs to stdout 2023-10-17 10:25:33 +02:00
Magnus Andersson ec6ba465f9 backup-all-buckets: Add comment about safeguard 2023-10-13 10:47:01 +02:00
Magnus Andersson 63631b2b51 backup-all-buckets: Safeguard backup runs if a backup process on that bucket is already in progress. 2023-10-13 10:47:01 +02:00
Magnus Andersson 059bd041e6
backup-all-buckets: Add comment about safeguard 2023-10-12 09:21:57 +02:00
Magnus Andersson 5df8dba25c
backup-all-buckets: Safeguard backup runs if a backup process on that bucket is already in progress. 2023-10-12 09:03:48 +02:00
Magnus Andersson 1e7108297b listusers.sh: disabel tls verify for rclone mkdir because we use ip address with webdav. 2023-10-10 12:34:46 +02:00
Micke Nordin cdf16db309 Typo 2023-10-10 12:30:53 +02:00
Richard Freitag 5472b767c8 Update mappingfile also in production 2023-10-10 12:30:53 +02:00
Richard Freitag e990b05401 Change regex to send @.shh.se cases to external node 2023-10-10 12:30:53 +02:00
Magnus Andersson ca27f46ffe
listusers.sh: disabel tls verify for rclone mkdir because we use ip address with webdav. 2023-10-10 10:48:43 +02:00
Micke Nordin e57de0ebd0 Typo 2023-10-10 10:33:28 +02:00
Micke Nordin 28a1b95114 Merge branch 'main' into testing 2023-10-10 10:27:07 +02:00
Micke Nordin 88ee8c2b67 Use collabora enterprise image 2023-10-10 10:26:43 +02:00
Richard Freitag ade4bd42b3 Update mappingfile also in production 2023-10-09 11:10:46 +01:00
Richard Freitag 4c597442e1 Change regex to send @.shh.se cases to external node 2023-10-06 09:23:37 +01:00
Richard Freitag 829f3f01c7 Improved mappingfile that should work for all cases now 2023-10-05 12:10:21 +01:00
5 changed files with 19 additions and 19 deletions

View file

@ -33,6 +33,8 @@ define sunetdrive::db_type(
$ports = [3306, 4444, 4567, 4568] $ports = [3306, 4444, 4567, 4568]
if $location =~ /^multinode/ { if $location =~ /^multinode/ {
$from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['kube'] + $config['kube_v6'] $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['kube'] + $config['kube_v6']
} elsif $location == 'sunet-test' {
$from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['imap'] + $config['imap_v6'] + $config['smtp'] + $config['smtp_v6']
} else { } else {
$from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6
} }

View file

@ -72,7 +72,7 @@ class sunetdrive::script (
ensure => installed, ensure => installed,
provider => apt, provider => apt,
} }
package { 'python3.9': package { 'python3':
ensure => installed, ensure => installed,
provider => apt, provider => apt,
} }
@ -81,10 +81,16 @@ class sunetdrive::script (
provider => apt, provider => apt,
} }
$drive_version = '0.3.1' $drive_version = '0.3.1'
if $facts['os']['distro']['id'] == 'Debian' {
$pip_cmd = 'pip3 install --break-system-packages'
} else {
$pip_cmd = 'python3 -m pip install'
}
exec { 'drive-utils': exec { 'drive-utils':
command => "python3.9 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz", command => "${pip_cmd} https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
unless => "python3.9 -m pip list | grep drive-utils | grep ${drive_version}", unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
require => Package['python3.9'], require => Package['python3'],
} }
file { '/root/.ssh/': file { '/root/.ssh/':
ensure => directory, ensure => directory,

View file

@ -1,13 +1,5 @@
Hello and welcome to your personal space for research data storage, Welcome to your personal space for research data storage!
Researchers and PhD-students at MDU have access to a free storage space of 200 GB. Your storage space is in the “Your storage space” folder that appears a few minutes after opening SUNET Drive for the first time.
It is important that research data is managed in a secure and careful manner, so that it is protected from damage and destruction. Mälardalen University offers its researchers and doctoral students a secure and stable IT service that makes it possible to store research data. Furthermore, it enables research collaboration internally and externally since researchers can easily share their data within the project or with other individual researchers at MDU in a secure way. This technical infrastructure entails a good collaboration space for researchers, a secure handling of data, the possibility for the researcher to be able to store data in such a way that data management according to the FAIR principles can be complied with at MDU. The “Your storage space” folder has an ABG structure which means that there are folders for Arbetsmaterial (work material), Bevarande (retention) and Gallringsbart (disposable). It is possible to create subfolders within these main folders themselves.
All research data, except for military material and security-classified information, can be stored on SUNET Drive. If your data needs to undergo an export control, please refer to the check list on the internal portal.
To meet the general need for research data storage, MDU has purchased Sunet Drive's S3 research data storage service.  Each researcher will be offered a space of 200GB per person. To simplify administration, all spaces will be appropriated in advance in the same way, regardless of the research domain or total amount of research data. A user guide and a FAQ regarding SUNET Drive is available on the internal portal. If you have any questions, please contact dau@mdu.se
200 GB will not correspond to all of MDU researchers' data storage needs; therefore, the researcher will have the possibility to purchase additional data space via a digital form. The additional purchase function is done by internal billing and the purchased space is then visible at the next login in the researcher's personal space.   
If there is a need for a specific project space for research data storage and/or sharing, this is also possible. Such a space is created by an administrator after ordering project space through the same form as when purchasing additional storage space.  The project space will then be visible to project members in the personal storage space at the next login.
Can a MDU student be included in the research project? It is possible to assign a student a time-limited access/sharing opportunity to specific folders in either the project space or the researcher's personal space. Contact the Data Access Unit (DAU) to enable such a feature.
If you have any questions about the storage space, please contact dau@mdu.se.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.9 #!/usr/bin/env python3
# vim: set filetype=python: # vim: set filetype=python:
import subprocess import subprocess

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.9 #!/usr/bin/env python3
# vim: set filetype=python: # vim: set filetype=python:
import subprocess import subprocess