Update README

This commit is contained in:
Ian Barwick
2017-09-22 15:27:17 +09:00
parent 95cc403efb
commit fcae08f5a8

View File

@@ -805,12 +805,12 @@ meaning replication changes "cascade" down through a hierarchy of servers. This
can be used to reduce load on the primary and minimize bandwidth usage between can be used to reduce load on the primary and minimize bandwidth usage between
sites. sites.
`repmgr` supports cascading replication. When cloning a standby, in `repmgr.conf` `repmgr` supports cascading replication. When cloning a standby, set the
set the command-line parameter `--upstream-node-id` to the `node_id` of 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 server the standby should connect to, and `repmgr` will create `recovery.conf`
this server and create `recovery.conf` to point to it. Note that if `--upstream-node-id` pointing to this server. Note that if `--upstream-node-id` is not explicitly
is not explicitly provided, `repmgr` will set the standby's `recovery.conf` to provided, `repmgr` will set the standby's `recovery.conf` to point to the primary
point to the primary node. node.
To demonstrate cascading replication, ensure you have a primary and standby 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 set up as shown above in the section "Setting up a simple replication cluster