mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
Also remove get_last_xlog_replay_timestamp() function and the sql_utils dir, we can readded later if we need. We don't need the column last_wal_standby_timestamp in repl_status, so remove it
33 lines
662 B
Plaintext
33 lines
662 B
Plaintext
Repmgr
|
|
--------
|
|
|
|
This module is for monitor a cluster, to install follow next steps
|
|
|
|
On Primary:
|
|
|
|
1) Create tables for repmgr configuration and monitor (see repmgr.sql)
|
|
2) Edit repmgr.conf
|
|
|
|
On Standby:
|
|
|
|
1) Start replica
|
|
2) Edit repmgr.conf
|
|
|
|
|
|
|
|
Installing xlog_replay_time module
|
|
---------------------------------------
|
|
cd repmgr/sql_utils
|
|
make USE_PGXS=1
|
|
make install USE_PGXS=1
|
|
|
|
|
|
repmgr.conf
|
|
------------
|
|
|
|
The configuration file has 3 parameters
|
|
|
|
1) cluster: A string (single quoted) that identify the cluster we are on
|
|
2) node: An integer that identify our node in the cluster
|
|
3) conninfo: A string (single quoted) that teach has how to connect to this node
|