CDLUC3 / ezid

CDLUC3 ezid
MIT License
11 stars 4 forks source link

Verify upgrade procedure and document the exact steps for the upgrade to python 3 for all environments #147

Closed datadavev closed 2 years ago

datadavev commented 3 years ago

Need to prepare detailed steps for the process of upgrading an environment to use the python 3 implementation

datadavev commented 2 years ago

Procedure for upgrading the production python 2 version of EZID to python 3.

See this spreadsheet for the production upgrade list: https://docs.google.com/spreadsheets/d/1HDVxR_0aaqDGi_oNstUzelNIsXS_qJw1GJRRgZkchJY/edit?usp=sharing

The upgrade procedure involves significant database migration that is not reversible, except to restore the database as it existed prior to migration. Hence a complete copy of the application and database must be made before migration to ensure a viable recovery path.

Pre-Upgrade (prepare for upgrade)

Upgrade (upgrade database and application)

Herein: Old host = production 01, new host = production 02

Zoom Call start

Start Zoom call

Post-Upgrade part 2 (verify operation)

Post-verification

Rollback Procedure

If migration fails during downtime (no changes to production data):