README and "repmgr standby --help" updates

This commit is contained in:
Ian Barwick
2017-09-06 14:13:06 +09:00
parent a28bbd68eb
commit 66219c3097
2 changed files with 6 additions and 5 deletions

View File

@@ -774,11 +774,11 @@ can be used to reduce load on the primary and minimize bandwith usage between
sites.
`repmgr` supports cascading replication. When cloning a standby, in `repmgr.conf`
set the command-line parameter `--upstream-node-id` to the `--node-id` of the
set the command-line parameter `--upstream-node-id` to the `node_id` of the
server the standby should connect to, and `repmgr` will perform the clone using
this server and create `recovery.conf` to point to it. Note that if `--upstream-node-id`
is not explicitly provided, `repmgr` will use the primary as the server
to clone from and attach to.
is not explicitly provided, `repmgr` will set the standby's `recovery.conf` to
point to the primary node.
To demonstrate cascading replication, ensure you have a primary and standby
set up as shown above in the section "Setting up a simple replication cluster