From 24c06e22608d08da0759f4c784730513b95b8cf6 Mon Sep 17 00:00:00 2001 From: Anastasia Alexandrova Date: Tue, 1 Aug 2023 08:12:15 +0200 Subject: [PATCH] DISTPG-557 Fixed patroni config file example (#426) modified: docs/solutions/ha-setup-apt.md modified: docs/solutions/ha-setup-yum.md --- docs/solutions/ha-setup-apt.md | 3 ++- docs/solutions/ha-setup-yum.md | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/solutions/ha-setup-apt.md b/docs/solutions/ha-setup-apt.md index a32ee5b05..48d6d8637 100644 --- a/docs/solutions/ha-setup-apt.md +++ b/docs/solutions/ha-setup-apt.md @@ -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 @@ -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: diff --git a/docs/solutions/ha-setup-yum.md b/docs/solutions/ha-setup-yum.md index 10e4688de..9a8d9e1b2 100644 --- a/docs/solutions/ha-setup-yum.md +++ b/docs/solutions/ha-setup-yum.md @@ -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 @@ -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: