Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-39394

Upgrade VA databases' to 16.4

XMLWordPrintable

    • Upgrade VA databases' to 16.4
    • False
    • Hide

      None

      Show
      None
    • 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

      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.  

       

              bflorkie@redhat.com Bryan Florkiewicz
              bflorkie@redhat.com Bryan Florkiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: