-
Notifications
You must be signed in to change notification settings - Fork 25
Migration plan
Aurélien Bompard edited this page Sep 21, 2021
·
4 revisions
Whenever we're not in freeze
- Install Timescaledb on db-datanommer01
- Extract the datanommer source code somewhere on db-datanommer01
- Run the migration script
- While the script is running, deploy the new apps in OpenShift
- Unsubscribe the datanommer AMQP queue from everything and purge it
- Stop the new datanommer pod (with
oc scale --replicas=0
) - Run the migration script again, multiple times if necessary, until it completes in a few minutes.
Start of the downtime window
- Re-subscribe the datanommer AMQP queue to everything
- Stop the current datanommer service
- Run the migration script again
- Start the new datanommer pod
- Update the proxies to point to the new datagrepper app in Openshift
- Merge the Badges PR
- Run the ansible playbook to update Badges to use the backported
datanommer.models
file
End of the downtime window