Files
repmgr/INSTALL
postgres 362f931355 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
2010-09-14 10:25:51 -05:00

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