Skip to content

Commit

Permalink
Added etcd to extensions list and fixed naming (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastena1606 authored Jun 12, 2024
1 parent 20d204a commit c00a7cb
Show file tree
Hide file tree
Showing 20 changed files with 81 additions and 80 deletions.
2 changes: 1 addition & 1 deletion docs/enable-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ While setting up a high availability PostgreSQL cluster with Patroni, you will n

- Patroni installed on every ``postresql`` node.

- Distributed Configuration Store (DCS). Patroni supports such DCSs as ETCD, zookeeper, Kubernetes though [ETCD](https://etcd.io/) is the most popular one. It is available within Percona Distribution for PostgreSQL for all supported operating systems.
- Distributed Configuration Store (DCS). Patroni supports such DCSs as etcd, zookeeper, Kubernetes though [etcd](https://etcd.io/) is the most popular one. It is available within Percona Distribution for PostgreSQL for all supported operating systems.

- [HAProxy](http://www.haproxy.org/).

Expand Down
8 changes: 4 additions & 4 deletions docs/how-to.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# How to

## How to configure ETCD nodes simultaneously
## How to configure etcd nodes simultaneously

!!! note

We assume you have a deeper knowledge of how ETCD works. Otherwise, refer to the configuration where you add ETCD nodes one by one.
We assume you have a deeper knowledge of how etcd works. Otherwise, refer to the configuration where you add etcd nodes one by one.

Instead of adding `etcd` nodes one by one, you can configure and start all nodes in parallel.

1. Create ETCD configuration file on every node. You can edit the sample configuration file `/etc/etcd/etcd.conf.yaml` or create your own one. Replace the node names and IP addresses with the actual names and IP addresses of your nodes:
1. Create etcd configuration file on every node. You can edit the sample configuration file `/etc/etcd/etcd.conf.yaml` or create your own one. Replace the node names and IP addresses with the actual names and IP addresses of your nodes:

=== "node1"

Expand Down Expand Up @@ -58,7 +58,7 @@ Instead of adding `etcd` nodes one by one, you can configure and start all nodes
$ sudo systemctl enable --now etcd
```

During the node start, ETCD searches for other cluster nodes defined in the configuration. If the other nodes are not yet running, the start may fail by a quorum timeout. This is expected behavior. Try starting all nodes again at the same time for the ETCD cluster to be created.
During the node start, etcd searches for other cluster nodes defined in the configuration. If the other nodes are not yet running, the start may fail by a quorum timeout. This is expected behavior. Try starting all nodes again at the same time for the etcd cluster to be created.

3. Check the etcd cluster members. Connect to one of the nodes and run the following command:

Expand Down
8 changes: 4 additions & 4 deletions docs/release-notes-v12.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |
| Debian 9 ('stretch')| `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-etcd` | 0.4.3 | A Python client for ETCD |
| | `python3-etcd` | 0.4.3 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
8 changes: 4 additions & 4 deletions docs/release-notes-v12.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |
| Debian 9 ('stretch')| `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-etcd` | 0.4.3 | A Python client for ETCD |
| | `python3-etcd` | 0.4.3 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |



Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.13.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |



Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |



Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.3 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.3 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.3 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.16.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.5 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.5 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.5 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.5 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
6 changes: 3 additions & 3 deletions docs/release-notes-v12.17.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 7 |`python3-python-etcd` | 0.4.5 | A Python client for ETCD |
| RHEL 7 |`python3-python-etcd` | 0.4.5 | A Python client for etcd |
| RHEL 8 | `etcd` | 3.3.11 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.5 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.5 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
4 changes: 2 additions & 2 deletions docs/release-notes-v12.18.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ The following is the list of extensions available in Percona Distribution for Po
Percona Distribution for PostgreSQL also includes the following packages:

* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and derivatives. This fixes compatibility issues with LLVM from upstream.
* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:
* supplemental `etcd` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems:

| Operating System | Package | Version | Description |
| ------------------- | ---------------------| --------| ------------------ |
| RHEL 8 | `etcd` | 3.5.12 | A consistent, distributed key-value store|
| | `python3-python-etcd`| 0.4.5 | A Python client for ETCD |
| | `python3-python-etcd`| 0.4.5 | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
4 changes: 2 additions & 2 deletions docs/release-notes-v12.19.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This release of Percona Distribution for PostgreSQL is based on [PostgreSQL 12.1

## Release Highlights

* Percona Distribution for PostgreSQL now includes the ETCD distributed configuration store version 3.5.x for all supported operating systems. This enhancement simplifies deploying high-availability solutions because you can install all necessary components from a single source, ensuring their seamless compatibility.
* Percona Distribution for PostgreSQL now includes the etcd distributed configuration store version 3.5.x for all supported operating systems. This enhancement simplifies deploying high-availability solutions because you can install all necessary components from a single source, ensuring their seamless compatibility.
* Percona Distribution for PostgreSQL is now available on Ubuntu 24.04 LTS Noble Numbat.
* Percona Distribution for PostgreSQL on Red Hat Enterprise Linux 8 and compatible derivatives is now fully compatible with upstream `llvm` packages and includes the latest version 16.0.6 of them.

Expand All @@ -22,7 +22,7 @@ The following is the list of extensions available in Percona Distribution for Po

| Extension | Version | Description |
| ------------------- | -------------- | ---------------------------- |
| [ETCD](https://etcd.io/)| 3.5.13 | A distributed, reliable key-value store for setting up high available Patroni clusters |
| [etcd](https://etcd.io/)| 3.5.13 | A distributed, reliable key-value store for setting up high available Patroni clusters |
|[HAProxy](http://www.haproxy.org/) | 2.8.9 | a high-availability and load-balancing solution |
| [Patroni](https://patroni.readthedocs.io/en/latest/) | 3.3.0| a HA (High Availability) solution for PostgreSQL |
| [PgAudit](https://www.pgaudit.org/) | 1.4.3 | provides detailed session or object audit logging via the standard logging facility provided by PostgreSQL |
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes-v12.7.upd3.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
</tbody>
</table>

This update of Percona Distribution for PostgreSQL, includes the RPM package for ``python3-python-etcd`` for CentOS 7. This package is a Python client for ETCD and is used by Patroni to communicate with ETCD storage. For how to set up Patroni clusters, see [Patroni documentation](https://patroni.readthedocs.io/en/latest/README.html#running-configuring).
This update of Percona Distribution for PostgreSQL, includes the RPM package for ``python3-python-etcd`` for CentOS 7. This package is a Python client for etcd and is used by Patroni to communicate with etcd storage. For how to set up Patroni clusters, see [Patroni documentation](https://patroni.readthedocs.io/en/latest/README.html#running-configuring).
8 changes: 4 additions & 4 deletions docs/release-notes-v12.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ The following is the list of extensions available in Percona Distribution for Po
|[wal2json](https://github.com/eulerto/wal2json) | 2.3 | a PostgreSQL logical decoding JSON output plugin. |


Percona Distribution for PostgreSQL also includes the ETCD packages which are used for Patroni cluster setup. These packages are available for the following operating systems:
Percona Distribution for PostgreSQL also includes the etcd packages which are used for Patroni cluster setup. These packages are available for the following operating systems:

| Operating System |Package | Description |
| ------------------- | ---------------------| ---------------------------- |
| CentOS 7 |`python3-python-etcd` | A Python client for ETCD |
| CentOS 7 |`python3-python-etcd` | A Python client for etcd |
| CentOS 8 | `etcd` | A consistent, distributed key-value store|
| | `python3-python-etcd`| A Python client for ETCD |
| | `python3-python-etcd`| A Python client for etcd |
| Debian 9 ('stretch')| `etcd` | A consistent, distributed key-value store|
| | `python3-etcd` | A Python client for ETCD |
| | `python3-etcd` | A Python client for etcd |

Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/12/libpq.html) library. It contains "a set of
library functions that allow client programs to pass queries to the PostgreSQL
Expand Down
Loading

0 comments on commit c00a7cb

Please sign in to comment.