Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ This command outputs a list of the different groups/subgroups running in your cl

Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node. Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down
10 changes: 7 additions & 3 deletions product_docs/docs/pgd/5.7/upgrades/upgrading_major_rolling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ To keep the number of planned switchovers to a minimum, when upgrading a subgrou
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down Expand Up @@ -250,7 +254,7 @@ This command halts the server on kaboom. Your cluster continues running using th

### Install PGD and utilities

Next, install the new version of Postgres (PG16) and the upgrade tool:
Next, install the new version of Postgres (PG17) and the upgrade tool:

```bash
sudo apt install edb-bdr5-pg17 edb-bdr-utilities
Expand Down Expand Up @@ -319,7 +323,7 @@ Feb 11 18:14:25 kaboom systemd[1]: Stopped Postgres 16 (TPA).

### Swap PGDATA directories for version upgrade

Next, swap the PG15 and PG16 data directories:
Next, swap the PG16 and PG17 data directories:

```bash
sudo mv /opt/postgres/data /opt/postgres/dataold
Expand Down Expand Up @@ -531,7 +535,7 @@ Stopping new PG instance

The Postgres service on the system is configured to start the old version of Postgres (PG16). You need to modify the `postgres.service` file to start the new version (PG17).

You can do this using `sed` to replace the old version number `15` with `16` throughout the file.
You can do this using `sed` to replace the old version number `16` with `17` throughout the file.

```bash
sudo sed -i -e 's/16/17/g' /etc/systemd/system/postgres.service
Expand Down
10 changes: 7 additions & 3 deletions product_docs/docs/pgd/5.8/upgrades/upgrading_major_rolling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ To keep the number of planned switchovers to a minimum, when upgrading a subgrou
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down Expand Up @@ -250,7 +254,7 @@ This command halts the server on kaboom. Your cluster continues running using th

### Install PGD and utilities

Next, install the new version of Postgres (PG16) and the upgrade tool:
Next, install the new version of Postgres (PG17) and the upgrade tool:

```bash
sudo apt install edb-bdr5-pg17 edb-bdr-utilities
Expand Down Expand Up @@ -319,7 +323,7 @@ Feb 11 18:14:25 kaboom systemd[1]: Stopped Postgres 16 (TPA).

### Swap PGDATA directories for version upgrade

Next, swap the PG15 and PG16 data directories:
Next, swap the PG16 and PG17 data directories:

```bash
sudo mv /opt/postgres/data /opt/postgres/dataold
Expand Down Expand Up @@ -531,7 +535,7 @@ Stopping new PG instance

The Postgres service on the system is configured to start the old version of Postgres (PG16). You need to modify the `postgres.service` file to start the new version (PG17).

You can do this using `sed` to replace the old version number `15` with `16` throughout the file.
You can do this using `sed` to replace the old version number `16` with `17` throughout the file.

```bash
sudo sed -i -e 's/16/17/g' /etc/systemd/system/postgres.service
Expand Down
10 changes: 7 additions & 3 deletions product_docs/docs/pgd/5.9/upgrades/upgrading_major_rolling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ To keep the number of planned switchovers to a minimum, when upgrading a subgrou
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down Expand Up @@ -273,7 +277,7 @@ This command halts the server on kaboom. Your cluster continues running using th

### Install PGD and utilities

Next, install the new version of Postgres (PG16) and the upgrade tool:
Next, install the new version of Postgres (PG17) and the upgrade tool:

```bash
sudo apt install edb-bdr5-pg17 edb-bdr-utilities
Expand Down Expand Up @@ -342,7 +346,7 @@ Feb 11 18:14:25 kaboom systemd[1]: Stopped Postgres 16 (TPA).

### Swap PGDATA directories for version upgrade

Next, swap the PG15 and PG16 data directories:
Next, swap the PG16 and PG17 data directories:

```bash
sudo mv /opt/postgres/data /opt/postgres/dataold
Expand Down Expand Up @@ -556,7 +560,7 @@ Stopping new PG instance

The Postgres service on the system is configured to start the old version of Postgres (PG16). You need to modify the `postgres.service` file to start the new version (PG17).

You can do this using `sed` to replace the old version number `15` with `16` throughout the file.
You can do this using `sed` to replace the old version number `16` with `17` throughout the file.

```bash
sudo sed -i -e 's/16/17/g' /etc/systemd/system/postgres.service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ upgrade and then unfence the node after the node upgrade is completed.
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ upgrade and then unfence the node after the node upgrade is completed.
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ upgrade and then unfence the node after the node upgrade is completed.
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ upgrade and then unfence the node after the node upgrade is completed.
Even though you verified which node is the current write leader for planning purposes, the write leader of a subgroup could change to another node at any moment for operational reasons before you upgrade that node.
Therefore, you still need to verify that a node isn't the write leader just before upgrading that node.

!!! Note
Nodes that run Postgres client tools but not a PGD data node use the Postgres client libraries. Before upgrading the PGD data nodes, upgrade those nodes to the `edb-as<xx>-server-client` (EPAS) or `postgresql-client-<xx>` (PG) package for the new major version.
!!!

You now have enough information to determine your upgrade order, one subgroup at a time, aiming to upgrade the identified write leader node last in each subgroup.

### Perform the upgrade on each node
Expand Down
Loading