-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate postgresql database instance to new Aurora database instances #4297
Comments
Following is the outline of our check list of the migration/switch tasks: STEP 1: STEP 2: STEP 3: roles are per postgresql/aurora instance, only need to create once STEP 4: STEP 5: STEP 7: BEFORE restore dblogin sourcedb <sourcedb_name>, USERIDALIAS <user_id_alias>, DOMAIN <domain_name> #################### #################### STEP 8: nohup pg_restore /u07/pg-bkup/<dev/stage/prod>/<dev/stage/prod> -h <aurora-dev/stage/prod-hostname>> -d -U --role -j 5 -v -c #################### STEP 9: STEP 10: STEP 11: STEP 12: STEP 13: After changed and uploaded these variables, go to CircleCI and rebuild the last successful build. NOTE: When we push api from Circle it builds all 3 parts of api (api/celery-beat/celery-worker) STEP 14: STEP 15: STEP 16: STEP 17: STEP 18: STEP 19: |
Databases migration completed by database team. |
Summary
After initial tests had been successfully performed by database team on the data loading (#4287), this work will serve dual purposes: help testing API and also make sure all data loading process works without issues. New monitoring scripts will be set up to the new aurora database to set the stage ready for the final switch.
We plan to do the actual migration/switch tasks on Friday 5/1/2020. The work are scheduled to be completed on Sunday 5/3/2020.
Completion criteria
The text was updated successfully, but these errors were encountered: