Skip to content
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

Postgresql migration epic #2735

Closed
34 of 36 tasks
acozine opened this issue Feb 8, 2022 · 5 comments
Closed
34 of 36 tasks

Postgresql migration epic #2735

acozine opened this issue Feb 8, 2022 · 5 comments
Labels
Epic Operations pulls issues into the Operations ZenHub board

Comments

@acozine
Copy link
Contributor

acozine commented Feb 8, 2022

Component parts:

  • all projects should run on new postgresql servers (migrate from lib-postgres3 and lib-postgres-prod1 to the new replicated servers, lib-postgres-prod3 and its replicated box lib-postgres-prod2)
  • all projects should upgrade from psql 10 to psql 13 (does this involve code changes?)

Check off when the project has been migrated to the new servers and to psql 13 if necessary. Projects that run on postgres:

  • ansible-tower
  • approvals [lib-postgres3, pgsql 10]
  • approvals-staging [lib-postgres3, pgsql 10]
  • bibdata [lib-postgres-prod, pgsql 13]
  • cicognara [lib-postgres3, pgsql 10]
  • cicognara-staging [lib-postgres3, pgsql 10]
  • dpul [lib-postgres3, pgsql 10]
  • dpul-staging [lib-postgres3, pgsql 10]
  • dss [lib-postgres3, pgsql 10]
  • dss-staging [lib-postgres3, pgsql 10]
  • figgy [lib-postgres3, pgsql 10]
  • figgy-staging [lib-postgres3, pgsql 10]
  • geaccirc [lib-postgres3, pgsql 10]
  • gscatalog/geoserver (investigate)
  • lae [lib-postgres3, pgsql 10]
  • lae-staging [lib-postgres3, pgsql 10]
  • libjobs [lib-postgres3, pgsql 10]
  • lib-jobs-staging [lib-postgres-staging1, pgsql 13]
  • libstatistics [lib-postgres3, pgsql 10]
  • libstatistics-staging [lib-postgres-staging1, pgsql 13]
  • lockers and study spaces [lib-postgres3, pgsql 10]
  • lockers and study spaces staging [lib-postgres3, pgsql 10]
  • mudd [lib-postgres3, pgsql 10]
  • mudd-staging [lib-postgres3, pgsql 10]
  • ojs [lib-postgres-prod1, pgsql 13]
  • ojs-staging [lib-postgres-staging1, pgsql 13]
  • openmonograph
  • openmonograph-staging
  • ouranos-staging [lib-postgres3, pgsql 10]
  • pulfalight [lib-postgres3, pgsql 10]
  • pulfalight-staging [lib-postgres3, pgsql 10]
  • pulmap [lib-postgres3, pgsql 10]
  • pulmap-staging [lib-postgres3, pgsql 10]
  • researchdata

Related postgres tickets include #2210 #1522 #2305 #2405 #2444 #2464.
Edit: make the list a checklist.

@acozine acozine added the Epic label Feb 8, 2022
@jrgriffiniii
Copy link
Contributor

pdc_discovery may not need to be migrated, but this must be verified.

@acozine
Copy link
Contributor Author

acozine commented Mar 15, 2022

We prioritized migrating services that were connecting to postgres on lib-postgres-prod1, which we will retire. All services have migrated EXCEPT the CDH services as of today. Once that goal is met, we will migrate the rest of the services, project by project.

Some projects have staging running on postgresql 13 while production is still running on postgresql 10. These will require extra testing before we migrate and upgrade production.

@acozine
Copy link
Contributor Author

acozine commented Jan 22, 2025

The Ansible Tower database was moved to its own database server running Rocky Linux, see #5606.
The cicognara project was migrated to a static site, see #5570.
So the only remaining item is gscatalog/geoserver.

@acozine
Copy link
Contributor Author

acozine commented Jan 22, 2025

We migrated gscatalog/geoserver to a lambda on AWS.

@acozine
Copy link
Contributor Author

acozine commented Jan 22, 2025

Remaining work is documented in #4383.

@acozine acozine closed this as completed Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Operations pulls issues into the Operations ZenHub board
Projects
None yet
Development

No branches or pull requests

2 participants