Skip to content

Commit 2669c07

Browse files
kaur16lwesterhof
authored andcommitted
YDA-6976: add SRAM migration to release notes
1 parent 4726503 commit 2669c07

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

docs/release-notes/release-2.1.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ Version constraints:
4848
- Requires Yoda external user service to be on version 2.0.x or higher.
4949
- Requires Yoda public server to be on version 2.0.x or higher.
5050

51+
### Prerequisites for SRAM enabled instances
52+
53+
Before the first run of SRAM migration script, set the following configuration in the Ansible playbook:
54+
```yaml
55+
sram_auto_external_users_co_sync: false
56+
sram_auto_group_sync: false
57+
```
58+
59+
Refer to [SRAM Configuration](../administration/configuring-yoda.md#sram-configuration) for further information.
60+
5161
### Upgrade process
5262
5363
1. Backup/copy custom configurations made to Yoda version 2.0.4
@@ -126,3 +136,14 @@ sudo systemctl restart httpd
126136
```bash
127137
sudo touch /var/www/yoda/yoda.wsgi /var/www/yoda/yoda_debug.wsgi
128138
```
139+
140+
13. If there are SRAM groups on the system that need to be migrated to non-SRAM groups, run the migration script. Example:
141+
```yaml
142+
python3 /etc/irods/yoda-ruleset/tools/sram/sram-migration-script.py -t non-sram -l -f list-of-sram-groups.csv
143+
```
144+
145+
14. If SRAM is enabled, re-enable the SRAM syncs. Example:
146+
```yaml
147+
sram_auto_external_users_co_sync: true
148+
sram_auto_group_sync: true
149+
```

0 commit comments

Comments
 (0)