Upgrading#
While PGD and Postgres are closely related, they’re separate products with separate upgrade paths. This section covers how to upgrade both PGD and Postgres.
Upgrading PGD#
EDB Postgres Distributed is a flexible platform. This means that your upgrade path depends largely on how you installed PGD.
** Upgrading PGD clusters manually ** — If you manually installed and configured your PGD cluster, you can move a cluster between versions, both minor and major.
** Supported PGD upgrade paths ** — Several supported upgrade paths are available.
** PGD compatibility ** — If you’re upgrading from PGD 3.x or 4.x to PGD 5.x or later, you need to understand the compatibility changes between versions.
** Upgrading application schemas ** — How to apply DDL changes across a live cluster one node at a time, using rolling application schema upgrades and conflict resolver configuration.
Upgrading Postgres or Postgres and PGD major versions#
**
- In-place Postgres major version upgrades ** — How to use
pgd node upgradeto manually upgrade the Postgres version or Postgres and PGD major version on one or more nodes.
** Performing a Postgres major version rolling upgrade on a PGD cluster ** — How to perform a major version upgrade of Postgres on a cluster.
- Upgrading PGD clusters manually
- Supported PGD upgrade paths
- Compatibility changes
- Upgrading application schemas
- In-place Postgres or Postgres and PGD major version upgrades
- Performing a Postgres major version rolling upgrade on a PGD cluster
- Upgrading Postgres major versions
- Worked example: Upgrade PGD 4 to PGD 6
- Overview
- Confirm the harp-proxy leader
- Fence the node
- Stop the Postgres service
- Stop HARP manager
- Remove and install packages
- Start the Postgres service
- Start HARP manager
- Unfence the node
- Repeat steps for all nodes
- Confirm cluster version
- Confirm SCRAM hashes
- Enable routing
- Switch to Connection Manager
- Stop harp manager and proxy services.
- Worked example: Upgrade PGD 5 to PGD 6
- Prerequisites
- Pre-upgrade steps
- Post-upgrade steps