mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Update repmgrd usage examples and help output
This commit is contained in:
@@ -545,7 +545,7 @@ You could now register the standby by typing on "node2"::
|
||||
|
||||
However, you can instead start repmgrd::
|
||||
|
||||
repmgrd -f /var/lib/pgsql/repmgr/repmgr.conf --verbose > /var/lib/pgsql/repmgr/repmgr.log 2>&1
|
||||
repmgrd -f /var/lib/pgsql/repmgr/repmgr.conf --daemonize --verbose > /var/lib/pgsql/repmgr/repmgr.log 2>&1
|
||||
|
||||
Which will automatically register your standby system. And eventually
|
||||
you need repmgrd running anyway, to save lag monitoring information.
|
||||
@@ -1015,6 +1015,8 @@ The output from this program looks like this::
|
||||
--verbose output verbose activity information
|
||||
--monitoring-history track advance or lag of the replication in every standby in repl_monitor
|
||||
-f, --config-file=PATH path to the configuration file
|
||||
-d, --daemonize detach process from foregroun
|
||||
-p, --pid-file=PATH write a PID file
|
||||
|
||||
repmgrd monitors a cluster of servers.
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ Start the repmgrd daemons
|
||||
Log in node2 and witness.
|
||||
|
||||
su - postgres
|
||||
repmgrd -f /etc/repmgr/repmgr.conf > /var/log/postgresql/repmgr.log 2>&1
|
||||
repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1
|
||||
|
||||
**Note:** The Master does not need a repmgrd daemon.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user