mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Document "replication_user" configuration file parameter.
This commit is contained in:
10
README.md
10
README.md
@@ -748,6 +748,16 @@ It is of course also possible to include the password value in the `conninfo`
|
|||||||
string for each node, but this is obviously a security risk and should be
|
string for each node, but this is obviously a security risk and should be
|
||||||
avoided.
|
avoided.
|
||||||
|
|
||||||
|
### Separate replication user
|
||||||
|
|
||||||
|
In some circumstances it might be desirable to create a dedicated replication-only
|
||||||
|
user (in addition to the user who manages the `repmgr` metadata. In this case,
|
||||||
|
the replication user should be set in `repmgr.conf` via the parameter
|
||||||
|
`replication_user`; `repmgr` will use this value when making replication connections
|
||||||
|
and generating `recovery.conf`. This value will also be stored in the `repmgr.nodes`
|
||||||
|
table for each node; it no longer needs to be explicitly specified when
|
||||||
|
cloning a node or executing `repmgr standby follow`.
|
||||||
|
|
||||||
|
|
||||||
Setting up cascading replication with repmgr
|
Setting up cascading replication with repmgr
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ Changed command line options
|
|||||||
|
|
||||||
### repmgr
|
### repmgr
|
||||||
|
|
||||||
- `--replication-user` is now passed when registering the master server (and
|
- `--replication-user` has been deprecated; it has been replaced by the
|
||||||
optionally when registering a standby), *not* during standby clone/follow.
|
configuration file option `replication_user`. The value (which defaults
|
||||||
The value (defaults to the user in the conninfo string) will be stored in
|
to the user in the `conninfo` string) will be stored in the repmgr metadata
|
||||||
the repmgr metadata for use by standby clone/follow..
|
for use by standby clone/follow..
|
||||||
|
|
||||||
- `--recovery-min-apply-delay` is now a configuration file parameter
|
- `--recovery-min-apply-delay` is now a configuration file parameter
|
||||||
`recovery_min_apply_delay, to ensure the setting does not get lost when
|
`recovery_min_apply_delay, to ensure the setting does not get lost when
|
||||||
|
|||||||
@@ -40,6 +40,9 @@
|
|||||||
# is not running and there's no other way of determining
|
# is not running and there's no other way of determining
|
||||||
# the data directory.
|
# the data directory.
|
||||||
|
|
||||||
|
#replication_user # User to make replication connections with, if not set defaults
|
||||||
|
# to the user defined in "conninfo".
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
# Optional configuration items
|
# Optional configuration items
|
||||||
@@ -65,6 +68,8 @@
|
|||||||
#recovery_min_apply_delay= # Ff provided, "recovery_min_apply_delay" in recovery.conf
|
#recovery_min_apply_delay= # Ff provided, "recovery_min_apply_delay" in recovery.conf
|
||||||
# will be set to this value.
|
# will be set to this value.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# Logging settings
|
# Logging settings
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user