Skip to content

Commit

Permalink
PG-804 Added an additional step to start Patroni from tarball (#619)
Browse files Browse the repository at this point in the history
modified:   docs/enable-extensions.md
	modified:   docs/solutions/ha-setup-apt.md
	modified:   docs/solutions/high-availability.md
	modified:   docs/tarball.md
  • Loading branch information
nastena1606 authored Jul 10, 2024
1 parent b184d27 commit 03aeb3e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/enable-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ While setting up a high availability PostgreSQL cluster with Patroni, you will n

See the configuration guidelines for [Debian and Ubuntu](solutions/ha-setup-apt.md) and [RHEL and CentOS](solutions/ha-setup-yum.md).

!!! important

!!! admonition "See also"
To configure high-availability with [the software installed from the tarballs](tarball.md), install the Python client for `etcd` to resolve dependency issues. Use the following command:

- [Patroni documentation :octicons-link-external-16:](https://patroni.readthedocs.io/en/latest/SETTINGS.html#settings)
```{.bash data-prompt="$"}
$ /opt/percona-python3/bin/pip3 install python-etcd
```


- Percona Blog:

- [PostgreSQL HA with Patroni: Your Turn to Test Failure Scenarios :octicons-link-external-16:](https://www.percona.com/blog/2021/06/11/postgresql-ha-with-patroni-your-turn-to-test-failure-scenarios/)
## pgBadger

Enable the following options in `postgresql.conf` configuration file before starting the service:
Expand Down
2 changes: 1 addition & 1 deletion docs/solutions/ha-setup-apt.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ It's not necessary to have name resolution, but it makes the whole setup more re

### Install the software

Run the following commands on node1`, `node2` and `node3`:
Run the following commands on `node1`, `node2` and `node3`:

1. Install Percona Distribution for PostgreSQL

Expand Down
9 changes: 9 additions & 0 deletions docs/solutions/high-availability.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ There are several methods to achieve high availability in PostgreSQL. This solut
* Distributed consensus for every action and configuration.
* Integration with Linux watchdog for avoiding split-brain syndrome.


!!! admonition "See also"

- [Patroni documentation :octicons-link-external-16:](https://patroni.readthedocs.io/en/latest/SETTINGS.html#settings)

- Percona Blog:

- [PostgreSQL HA with Patroni: Your Turn to Test Failure Scenarios :octicons-link-external-16:](https://www.percona.com/blog/2021/06/11/postgresql-ha-with-patroni-your-turn-to-test-failure-scenarios/)

## Architecture layout

The following diagram shows the architecture of a three-node PostgreSQL cluster with a single-leader node.
Expand Down
7 changes: 5 additions & 2 deletions docs/tarball.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,13 @@ The steps below install the tarballs for OpenSSL 3.x. Use another tarball if you
### Start the components
After you unpacked the tarball and added the location of the components' binaries to the $PATH variable, the components are available for use. You can invoke a component by running its command-line tool. For example, to check HAProxy version, type:
After you unpacked the tarball and added the location of the components' binaries to the `$PATH` variable, the components are available for use. You can invoke a component by running its command-line tool.

For example, to check HAProxy version, type:

```{.bash data-prompt="$"}
$ haproxy version
```

Some components require additional setup. Check the [Enabling extensions](enable-extensions.md) page for details.
Some components require additional setup. Check the [Enabling extensions](enable-extensions.md) page for details.

0 comments on commit 03aeb3e

Please sign in to comment.