-
Epic
-
Resolution: Done
-
Normal
-
None
-
None
-
Upgrade VA databases' to 16.4
-
False
-
-
False
-
Unset
-
To Do
-
-
Description
Defines the work to be done to upgrade the VA stage and production databases to the consolidated version 16.4.
Chosen upgrade path
1. VA is currently running RDS 15.5. Can upgrade directly to 16.4 via blue green
The reason for this is that after asking to the AWS customer support —RHCLOUD-38615—, we got told that even though their "Choosing a major version for an RDS PostgreSQL upgrade" document shows that in theory we could do one less jump, the reality is that the Blue/Green RDS upgrades do not allow major version jumps when they're one more than one version apart.
App-sre IC has indicated multiple versions is supported and encouraged by AWS after upgrading a minor version first to open the range: https://redhat-internal.slack.com/archives/CCRND57FW/p1742806964278039?thread_ts=1742547198.424619&cid=CCRND57FW
Useful resources
- AWS - Log in to the console.
- AWS - Choosing a major version for an RDS PostgreSQL upgrade.
- AppInterface — Upgrade Major Version for PostgreSQL RDS instance.
Announcements to be made for the production upgrade
Ticket | Task | Email thread/Merge request | Is it done? Is it merged? |
---|---|---|---|
N/A | Announce the upgrade via email two weeks in advance | ||
Set up a Pendo preemptive alert announcing the upgrade in two weeks and schedule another one for the day of the upgrade | |||
Set up the maintenance announcement in the status page | |||
Send a preemptive Slack message to the relevant channels | |||
Send a Slack message to the relevant channels once the maintenance is taking place | |||
Send a Slack message to the relevant channels once the maintenance is over |
Work to be done by engineers for the stage upgrade
Ticket | Order | Task | MRs |
---|---|---|---|
Before anything else | Check that no replication slots are being used. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 14.13. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 15.8. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 16.4. | ||
Any time before the upgrade | Add the logical replication setting to the database's parameters. | ||
Any time before the upgrade | Enable the Blue/Green upgrade and set the correct timeouts. | ||
1 | Specify the new database settings for the major version upgrade to 14.13 | ||
2 | Wait for the database to be upgraded. | ||
3 | Specify the new database settings for the major version upgrade to 15.8 | ||
4 | Wait for the database to be upgraded. | ||
5 | Specify the new database settings for the major version upgrade to 16.4 | ||
6 | Wait for the database to be upgraded. | ||
7 | Run the post-upgrade maintenance scripts in the database. | ||
8 | Clean up the old database configuration files. |
Work to be done by engineers for the production upgrade
Ticket | Order | Task | MRs |
---|---|---|---|
Before anything else | Check that no replication slots are being used. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 14.13. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 15.18. | ||
Any time before the upgrade | Create the major version upgrade's database settings and parameters for version 16.4. | ||
Any time before the upgrade | Add the logical replication setting to the database's parameters. | ||
Any time before the upgrade | Enable the Blue/Green upgrade and set the correct timeouts. | ||
1 | Specify the new database settings for the major version upgrade to 14.13 | ||
2 | Wait for the database to be upgraded. | ||
3 | Specify the new database settings for the major version upgrade to 15.8 | ||
4 | Wait for the database to be upgraded. | ||
5 | Specify the new database settings for the major version upgrade to 16.4 | ||
6 | Wait for the database to be upgraded. | ||
7 | Run the post-upgrade maintenance scripts in the database. | ||
8 | Clean up the old database configuration files. |
- is related to
-
RHCLOUD-35581 [IoP] PostgreSQL version consolidation
-
- Closed
-