diff --git a/docs/solutions/ha-setup-apt.md b/docs/solutions/ha-setup-apt.md index fefc8439d..c10b9346e 100644 --- a/docs/solutions/ha-setup-apt.md +++ b/docs/solutions/ha-setup-apt.md @@ -172,7 +172,7 @@ The `etcd` cluster is first started in one node and then the subsequent nodes ar ETCD_LISTEN_PEER_URLS="http://${NODE_IP}:2380" ETCD_LISTEN_CLIENT_URLS="http://${NODE_IP}:2379,http://localhost:2379" ETCD_ADVERTISE_CLIENT_URLS="http://${NODE_IP}:2379" - " | sudo tee -a /pg_ha/config/etcd.conf + " | sudo tee -a /etc/default/etcd ``` 4. Start the `etcd` service to apply the changes on `node1`. @@ -227,7 +227,7 @@ The `etcd` cluster is first started in one node and then the subsequent nodes ar ETCD_LISTEN_PEER_URLS="http://${NODE_IP}:2380" ETCD_LISTEN_CLIENT_URLS="http://${NODE_IP}:2379,http://localhost:2379" ETCD_ADVERTISE_CLIENT_URLS="http://${NODE_IP}:2379" - " | sudo tee -a /pg_ha/config/etcd.conf + " | sudo tee -a /etc/default/etcd ``` 3. Start the `etcd` service to apply the changes on `node2`: @@ -260,7 +260,7 @@ The `etcd` cluster is first started in one node and then the subsequent nodes ar ETCD_LISTEN_PEER_URLS="http://${NODE_IP}:2380" ETCD_LISTEN_CLIENT_URLS="http://${NODE_IP}:2379,http://localhost:2379" ETCD_ADVERTISE_CLIENT_URLS="http://${NODE_IP}:2379" - " | sudo tee -a /pg_ha/config/etcd.conf + " | sudo tee -a /etc/default/etcd ``` 4. Start the `etcd` service on `node3`: @@ -314,7 +314,7 @@ Run the following commands on all nodes. You can do this in parallel: ```bash NAMESPACE="percona_lab" - SCOPE="cluster_1 + SCOPE="cluster_1" ``` 2. Create the `/etc/patroni/patroni.yml` configuration file. Add the following configuration for `node1`: @@ -588,4 +588,4 @@ This way, a client application doesn’t know what node in the underlying cluste ## Next steps -[Configure pgBackRest](pgbackrest.md){.md-button} \ No newline at end of file +[Configure pgBackRest](pgbackrest.md){.md-button}