Skip to content

Upgrading Oracle database

Eric Vaandering edited this page Dec 19, 2019 · 8 revisions

Build the latest version of the rucio-upgrade container and push to docker hub

Get it running in the right cluster with kubectl apply -f int_upgrade.yaml Login to the database or otherwise find the latest alembic version $ALEMVER Edit the resulting alembic.ini file to put the correct version_table_schema in

Run the command alembic upgrade $ALEMVER:head --sql
and save and inspect the results

Apply it with SQLPlus or another route after inspection

Remove the deployment from Kubernetes with kubectl delete deployment rucio-upgrade