The Most Popular Replication Manager for PostgreSQL (Postgres) - latest version 4.1.1 (2018-09-05)
ibarwick doc: update "repmgr node rejoin" documentation
Clarify various points related to --force-rewind and pg_rewind usage.
Latest commit bea4b03 Sep 14, 2018
Permalink
Failed to load latest commit information.
contrib repmgrd: various fixes for "manual" failover mode Aug 23, 2017
doc doc: update "repmgr node rejoin" documentation Sep 14, 2018
expected Remove unneeded functions Nov 20, 2017
scripts Initial BDR failover documentation Jul 27, 2017
sql Remove unneeded functions Nov 20, 2017
.gitignore Update .gitignore Nov 8, 2017
CONTRIBUTING.md Update copyright notices to 2018 Jan 2, 2018
COPYRIGHT Update copyright notices to 2018 Jan 2, 2018
CREDITS Add/update various documents Sep 11, 2017
FAQ.md doc: update FAQ location Apr 7, 2018
HISTORY repmgrd: improve reconnection handling Aug 30, 2018
LICENSE Add copyright notices Sep 8, 2017
Makefile.global.in Makefiles and placeholder code Apr 18, 2017
Makefile.in Add dummy 4.2 extension SQL file Aug 14, 2018
PACKAGES.md Add further documentation files Sep 11, 2017
README.md README: update links to https versions Nov 8, 2017
TODO.md Add TODO list Mar 30, 2018
compat.c Update copyright notices to 2018 Jan 2, 2018
compat.h Update copyright notices to 2018 Jan 2, 2018
config.h.in Remove --bdr-only configuration option Jan 25, 2018
configfile.c repmgrd: fix configuration file reloading Aug 2, 2018
configfile.h repmgrd: fix configuration file reloading Aug 2, 2018
configure Bump master branch to 4.2dev Aug 7, 2018
configure.in Bump master branch to 4.2dev Aug 7, 2018
controldata.c Refactor pg_control parsing Apr 2, 2018
controldata.h Refactor pg_control parsing Apr 2, 2018
dbutils.c get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
dbutils.h get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
dirutil.c "standby clone": cowardly refuse to clone into an active data directory Feb 8, 2018
dirutil.h "standby clone": cowardly refuse to clone into an active data directory Feb 8, 2018
errcode.h repmgr: have "cluster show" exit with a non-zero value if issues dete… Jul 5, 2018
log.c repmgr: add -q/--quiet option Jul 13, 2018
log.h repmgr: add -q/--quiet option Jul 13, 2018
repmgr--4.0--4.1.sql Update extension metadata for 4.1 release Jul 24, 2018
repmgr--4.0.sql repmgr: initialise "voting_term" in "repmgr primary register" Nov 28, 2017
repmgr--4.1--4.2.sql Add dummy 4.2 extension SQL file Aug 14, 2018
repmgr--4.1.sql Update extension metadata for 4.1 release Jul 24, 2018
repmgr--4.2.sql Add dummy 4.2 extension SQL file Aug 14, 2018
repmgr--unpackaged--4.0.sql Fix unpackaged upgrade SQL for PostgreSQL 9.3 Dec 4, 2017
repmgr-action-bdr.c get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
repmgr-action-bdr.h Update copyright notices to 2018 Jan 2, 2018
repmgr-action-cluster.c get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
repmgr-action-cluster.h Update copyright notices to 2018 Jan 2, 2018
repmgr-action-node.c repmgr: improve slot handling in "node rejoin" Aug 30, 2018
repmgr-action-node.h Update copyright notices to 2018 Jan 2, 2018
repmgr-action-primary.c Log text of failed queries at log level ERROR Aug 29, 2018
repmgr-action-primary.h Update copyright notices to 2018 Jan 2, 2018
repmgr-action-standby.c repmgr: improve slot handling in "node rejoin" Aug 30, 2018
repmgr-action-standby.h Have do_standby_follow_internal() not abort on error Jan 31, 2018
repmgr-action-witness.c get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
repmgr-action-witness.h Update copyright notices to 2018 Jan 2, 2018
repmgr-client-global.h repmgr: improve slot handling in "node rejoin" Aug 30, 2018
repmgr-client.c repmgr: improve slot handling in "node rejoin" Aug 30, 2018
repmgr-client.h repmgr: add -q/--quiet option Jul 13, 2018
repmgr.c Remove --bdr-only configuration option Jan 25, 2018
repmgr.conf.sample doc: better explain where pg_bindir won't be applied Aug 14, 2018
repmgr.control Bump master branch to 4.2dev Aug 7, 2018
repmgr.h De-overload configuration file parameter "standby_reconnect_timeout" Jun 28, 2018
repmgr_version.h.in Bump master branch to 4.2dev Aug 7, 2018
repmgrd-bdr.c get_all_node_records(): display any error encountered and return succ… Sep 13, 2018
repmgrd-bdr.h Add event "repmgrd_shutdown" Mar 6, 2018
repmgrd-physical.c repmgrd: fix comment Sep 13, 2018
repmgrd-physical.h repmgrd: don't explicitly close connections on shutdown May 1, 2018
repmgrd.c repmgrd: fix syntax Aug 30, 2018
repmgrd.h repmgrd: improve reconnection handling Aug 30, 2018
strutil.c Update copyright notices to 2018 Jan 2, 2018
strutil.h Update copyright notices to 2018 Jan 2, 2018
voting.h Update copyright notices to 2018 Jan 2, 2018

README.md

repmgr: Replication Manager for PostgreSQL

repmgr is a suite of open-source tools to manage replication and failover within a cluster of PostgreSQL servers. It enhances PostgreSQL's built-in replication capabilities with utilities to set up standby servers, monitor replication, and perform administrative tasks such as failover or switchover operations.

repmgr 4 is a complete rewrite of the existing repmgr codebase, allowing the use of all of the latest features in PostgreSQL replication.

PostgreSQL 10, 9.6 and 9.5 are fully supported. PostgreSQL 9.4 and 9.3 are supported, with some restrictions.

repmgr is distributed under the GNU GPL 3 and maintained by 2ndQuadrant.

BDR support

repmgr 4 supports monitoring of a two-node BDR 2.0 cluster on PostgreSQL 9.6 only. Note that BDR 2.0 is not publicly available; please contact 2ndQuadrant for details. repmgr 4 will support future public BDR releases.

Documentation

The main repmgr documentation is available here:

repmgr 4 documentation

The README file for repmgr 3.x is available here:

https://github.com/2ndQuadrant/repmgr/blob/REL3_3_STABLE/README.md

Files

  • CONTRIBUTING.md: details on how to contribute to repmgr
  • COPYRIGHT: Copyright information
  • HISTORY: Summary of changes in each repmgr release
  • LICENSE: GNU GPL3 details

Directories

  • contrib/: additional utilities
  • doc/: DocBook-based documentation files
  • expected/: expected regression test output
  • scripts/: example scripts
  • sql/: regression test input

Support and Assistance

2ndQuadrant provides 24x7 production support for repmgr, including configuration assistance, installation verification and training for running a robust replication cluster. For further details see:

There is a mailing list/forum to discuss contributions or issues:

The IRC channel #repmgr is registered with freenode.

Please report bugs and other issues to:

Further information is available at https://www.repmgr.org/

We'd love to hear from you about how you use repmgr. Case studies and news are always welcome. Send us an email at info@2ndQuadrant.com, or send a postcard to

repmgr
c/o 2ndQuadrant
7200 The Quorum
Oxford Business Park North
Oxford
OX4 2JZ
United Kingdom

Thanks from the repmgr core team.

  • Ian Barwick
  • Jaime Casanova
  • Abhijit Menon-Sen
  • Simon Riggs
  • Cedric Villemain

Further reading