mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Apply log should be pg_xlog_receive_location() - pg_xlog_replay_location().
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
This commit is contained in:
19
INSTALL
19
INSTALL
@@ -5,19 +5,13 @@ This module is for monitor a cluster, to install follow next steps
|
||||
|
||||
On Primary:
|
||||
|
||||
1) Install last_xlog_replay_timestamp() function
|
||||
2) Create tables for repmgr configuration and monitor (see repmgr.sql)
|
||||
3) Edit repmgr.conf
|
||||
1) Create tables for repmgr configuration and monitor (see repmgr.sql)
|
||||
2) Edit repmgr.conf
|
||||
|
||||
On Standby:
|
||||
|
||||
1) Install xlog_replay_time module
|
||||
NOTE: this should be done before the standby starts for the first time,
|
||||
the reason is that when the standby tries to replay WAL segment
|
||||
where the function was created this file should exist or it will
|
||||
be an error.
|
||||
2) Start replica
|
||||
3) Edit repmgr.conf
|
||||
1) Start replica
|
||||
2) Edit repmgr.conf
|
||||
|
||||
|
||||
|
||||
@@ -28,11 +22,6 @@ make USE_PGXS=1
|
||||
make install USE_PGXS=1
|
||||
|
||||
|
||||
Installing last_xlog_replay_timestamp() function
|
||||
-------------------------------------------------
|
||||
psql -f $PGDIR/share/contrib/xlog_replay_time.sql
|
||||
|
||||
|
||||
repmgr.conf
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user