Closed SORMAS-JanBoehme closed 1 year ago
I would actually leave central infra sync in place, doesn't make sense to allow the GAs to mess up their infra data again :D
NLI and I tested today the deactivation of S2S. The test protocol and the logs are attached.
From my point of view (the 'UI view') we can replace the first step as follows:
AND if an instance wants to re-activate S2S we have to inform the instance, that yet shared requests with ownership will only be retroactively synced if the target system makes changes on the person/case/contact.
AND if an instance wants to deactivate S2S they have to deal with the point that they cannot see anymore the whole sharebox or share directory. So they cannot track if the case/contact was shared with/by another instance or not. Would be nice if we had an Export-function on the share directory to prevent this.
@JonasCir please check the logs and give feedback whether everything is OK there. Test Deactivate S2S.pdf
Logs for steps while S2S was de-activated: release-sormas-x-25102022-application.log release-sormas-x-25102022-syslog.log test-rki-25102022-application.log test-rki-25102022-syslogs.log
Logs for steps while S2S was re-activated: 2_release-sormas-x-25102022-application.log 2_release-sormas-x-25102022-syslog.log 2_test-rki-25102022-application.log 2_test-rki-25102022-syslog.log
@SahaLinaPrueger Just reach out to me when you are available. The attached logs are unfortunately empty if I download them.
Logs for steps while S2S was de-activated: release-sormas-x-25102022-application.log release-sormas-x-25102022-syslog.log test-rki-25102022-application.log test-rki-25102022-syslogs.log
Logs for steps while S2S was re-activated:: 2_release-sormas-x-25102022-application.log 2_release-sormas-x-25102022-syslog.log 2_test-rki-25102022-application.log 2_test-rki-25102022-syslog.log
sormas.properties
:
sormas2sormas.*, central.oidc.urlcentral.*
I would strongly discourage this.shred
the instance's key materialAs discussed with @JonasCir we want to repeat the deactivation and look how database behave if automatically deletion is involved and how the deactivated system behave for two days.
@nliakm This is my current list. Feel free to comment or add stuff in case I missed something. Currently, writing ansible roles etc. is out of scope, I really just want to focus on the "business steps" we need to do, operation is a different topic.
Going to move this to review in the Kanban now, if the next test run passes, I'm going to close this...
@JonasCir We need to document this somewhere
I can put it into the document I am currently writing
I just added this to a section in #https://github.com/hzi-braunschweig/SORMAS-Project/issues/11399
Problem Description
As discussed earlier in our video chat we need to evaluate what the implications are when deactivating S2S on an instance where it has been running for some time.
The steps to deactivate S2S in my opinion are:
Proposed Solution
Wait/Merge with work from #11399
Possible Alternatives
Additional Information
The open questions to be answered are:
FYI: @JonasCir @SahaLinaPrueger