Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation part for postgres passwordless access #3033

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions docs/home/howto/DATABASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,23 @@ https://repmgr.org/docs/5.2/repmgr-standby-register.html
For some reason you may want to switchover database nodes (promote standby to primary and demote existing primary to
standby).

1. Configure passwordless SSH communication for postgres user between database nodes.

2. Test and run initial login between nodes to authenticate host (if host authentication is enabled).
1. Test and run initial login between nodes to authenticate host (if host authentication is enabled).

Execute commands listed below on actual standby node

3. Confirm that standby you want to promote is registered in repmgr cluster:
2. Confirm that standby you want to promote is registered in repmgr cluster:

```bash
repmgr cluster show
```

4. Run switchover:
3. Run switchover:

```bash
repmgr standby switchover
```

5. Run command from step 3 and check status. For more details or troubleshooting, see repmgr manual:
4. Run command from step 3 and check status. For more details or troubleshooting, see repmgr manual:
https://repmgr.org/docs/5.2/repmgr-standby-switchover.html

## How to set up PgBouncer, PgPool and PostgreSQL parameters
Expand Down