mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
autofailover_quick_setup.rst: Restructure notes about witness server information
Avoid repeating "it needs", and explain that the superuser password it needs is for the witness database (and not a sudo password, or a superuser on the production database).
This commit is contained in:
@@ -192,8 +192,15 @@ Initialize the witness server::
|
|||||||
su - postgres
|
su - postgres
|
||||||
repmgr -d repmgr -U repmgr -h 192.168.1.10 -D $WITNESS_PGDATA -f /etc/repmgr/repmgr.conf witness create
|
repmgr -d repmgr -U repmgr -h 192.168.1.10 -D $WITNESS_PGDATA -f /etc/repmgr/repmgr.conf witness create
|
||||||
|
|
||||||
It needs information to connect to the master to copy the configuration of the cluster, also it needs to know where it should initialize it's own $PGDATA.
|
The witness server needs the following information from the command
|
||||||
As part of the procees it also ask for the superuser password so it can connect when needed.
|
line:
|
||||||
|
|
||||||
|
* Connection details for the current master, to copy the cluster
|
||||||
|
configuration.
|
||||||
|
* A location for initializing its own $PGDATA.
|
||||||
|
|
||||||
|
It will also ask for the superuser password on the witness database so
|
||||||
|
it can reconnect when needed.
|
||||||
|
|
||||||
Start the repmgrd daemons
|
Start the repmgrd daemons
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user