Skip to content

Commit

Permalink
DISTPG-557 Fixed patroni config file example (#426)
Browse files Browse the repository at this point in the history
modified:   docs/solutions/ha-setup-apt.md
	modified:   docs/solutions/ha-setup-yum.md
  • Loading branch information
nastena1606 authored Aug 1, 2023
1 parent d0bec2e commit 24c06e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/solutions/ha-setup-apt.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ crw------- 1 root root 245, 0 Sep 11 12:53 /dev/watchdog0
```yaml
scope: cluster_1
namespace: percona_lab
name: node1
restapi:
listen: 0.0.0.0:8008
Expand Down Expand Up @@ -363,7 +364,7 @@ crw------- 1 root root 245, 0 Sep 11 12:53 /dev/watchdog0
listen: 0.0.0.0:5432
connect_address: 10.104.0.1:5432
data_dir: /data/pgsql
bin_dir: /usr/pgsql-14/bin
bin_dir: /usr/pgsql-12/bin
pgpass: /tmp/pgpass
authentication:
replication:
Expand Down
6 changes: 3 additions & 3 deletions docs/solutions/ha-setup-yum.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ The `etcd` cluster is first started in one node and then the subsequent nodes ar
name: node1
restapi:
listen: 10.104.0.7:8008 # PostgreSQL node IP address
connect_address: 10.104.0.7:8008 # PostgreSQL node IP address
listen: 0.0.0.0:8008
connect_address: 10.104.0.1:8008 # PostgreSQL node IP address
etcd:
host: 10.104.0.1:2379 # ETCD node IP address
Expand Down Expand Up @@ -327,7 +327,7 @@ The `etcd` cluster is first started in one node and then the subsequent nodes ar
listen: 0.0.0.0:5432
connect_address: 10.104.0.1:5432
data_dir: /data/pgsql
bin_dir: /usr/pgsql-14/bin
bin_dir: /usr/pgsql-12/bin
pgpass: /tmp/pgpass
authentication:
replication:
Expand Down

0 comments on commit 24c06e2

Please sign in to comment.