bcgov / DITP-DevOps

Digital Identity and Trust Program Team's DevOps Documentation Repository
Apache License 2.0
2 stars 5 forks source link

Convert Mediator on Dev, Test and Prod to Askar, with testing plan #69

Closed swcurran closed 1 year ago

swcurran commented 1 year ago

Devise a plan for the conversion of an Indy SDK ACA-Py deployment to Askar.

We'll need a way to confirm that the conversion worked. For example could the Wallet Team (@cvarjao et al.) define a way to use the BC Wallet to test the conversion? We can test the scalability with the load test tool, but we need to be able to test the upgrade, and the ability of instances of BC Wallet (or other persistent agents) to still be able to use the Mediator after the upgrade.

For example, it might be a good idea to have configured versions of BC Wallet able to use the Dev/Test mediator, and use the Mobile Verifier functionality to create Wallet-to-Wallet connections between them.

Perhaps we could spin up a persistent Traction instance configured to use the mediator such that we can confirm connectivity before and after the conversion. Being able to run chat sessions is sufficient.

swcurran commented 1 year ago

We met today to discuss the migration and the following are the notes from the meeting:

The following is the high level plan, the migration steps to be run on each of Dev, Test and Prod, and the tentative timings.

High Level Plan:

Everything up to the "Dev Migration" is @WadeBarnes on his own and reporting progress.

Migration Steps:

To be executed for each of Dev, Test and Prod. All tasks are by @WadeBarnes except where @jleach does his part. All but the first step must be done as quickly as is feasible.

We think that the basic test of two agents that worked before the migration and still work after the migration is sufficient for the transition. Obviously, we will monitor the mediators after each migration and rollback if necessary after more feedback.

Planned Timing

Current plan is as follows -- but this is very much up in the air.

As @WadeBarnes progresses this week, he'll update the timings as notes on this issue.

The production service MUST go offline at some point, so our plan is to do that before 7AM on some morning next week -- ideally as soon as Monday. We'll give as much notice as possible ahead of time.

Additional Outputs

In addition to the migration, we would like the following additional outputs from the process:

esune commented 1 year ago

Relates to #66

WadeBarnes commented 1 year ago

dev and test environments have been migrated. On schedule for migrating prod on Monday unless someone says otherwise.

WadeBarnes commented 1 year ago

Load test results for test instance can be seen here; https://github.com/bcgov/DITP-DevOps/issues/68#issuecomment-1509093290

WadeBarnes commented 1 year ago

'prod' environemnt was migrated this morning.