Skip to content

Commit

Permalink
PG-1283 Fixed typos in yum install instructions for HA (#718)
Browse files Browse the repository at this point in the history
modified:   docs/solutions/ha-setup-yum.md
  • Loading branch information
nastena1606 authored Jan 13, 2025
1 parent 5e8254e commit 5f0d50a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/solutions/ha-setup-apt.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Run the following commands on `node1`, `node2` and `node3`:

```{.bash data-prompt="$"}
$ sudo systemctl stop {etcd,patroni,postgresql}
$ systemctl disable {etcd,patroni,postgresql}
$ sudo systemctl disable {etcd,patroni,postgresql}
```

5. Even though Patroni can use an existing Postgres installation, remove the data directory to force it to initialize a new Postgres cluster instance.
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 @@ -118,7 +118,7 @@ Run the following commands on `node1`, `node2` and `node3`:
* Install Percona Distribution for PostgreSQL package

```{.bash data-prompt="$"}
$ sudo apt install percona-postgresql{{pgversion}}-server
$ sudo yum install percona-postgresql{{pgversion}}-server
```

!!! important
Expand All @@ -142,8 +142,8 @@ Run the following commands on `node1`, `node2` and `node3`:
4. Stop and disable all installed services:
```{.bash data-prompt="$"}
$ sudo systemctl stop {etcd,patroni,postgresql}
$ systemctl disable {etcd,patroni,postgresql}
$ sudo systemctl stop {etcd,patroni,postgresql-{{pgversion}}}
$ sudo systemctl disable {etcd,patroni,postgresql-{{pgversion}}}
```
## Configure etcd distributed store
Expand Down

0 comments on commit 5f0d50a

Please sign in to comment.