repmgr 2.0.3 released
What is repmgr?
repmgr is a set of open source tools that helps DBAs and System administrators manage a cluster of PostgreSQL databases.
By taking advantage of the Hot Standby capability introduced in PostgreSQL 9, repmgr greatly simplifies the process of setting up and managing database with high availability and scalability requirements.
repmgr simplifies administration and daily management, enhances productivity and reduces the overall costs of a PostgreSQL cluster by:
- monitoring the replication process;
- allowing DBAs to issue high availability operations such as switch-overs and fail-overs
repmgr is production quality software and used widely across the world with PostgreSQL. Many users rely on repmgr to maintain their replication setups and as such we take new releases seriously and mark the level of maturity as a guide for users.
The repmgr 2.x series supports PostgreSQL versions 9.0 to 9.4 and will continue to be supported. However for PostgreSQL 9.3 and later we recommend the repmgr 3.x series, which provides support for the more sophisticated replication functionality introduced in recent PostgreSQL versions, such as cascaded standbys, timeline switching and replication slots. See the repmgr.org homepage for details.
2ndQuadrant provides contract support for PostgreSQL that includes both repmgr and the autofailover feature.
Improvements
- New command line option
-c/--fast-checkpoint
to issue a fast checkpoint (via thepg_start_backup()
function when cloning a standby - New command line option
-S/--superuser
for witness database creation to specify a database superuser name other than the defaultpostgres
- New command line option
--initdb-no-pwprompt
for witness database creation to avoid being prompted for a password
Bugfixes
- Add check for wal_level = logical (9.4)
Upcoming
Features we are working on in the near future:
- timeline increase when a standby gets promoted
- A better check which standby did receive most of the data
- Respect the fact that a standby can be delayed on purpose a factor in the voting algorithm
- include support for delayed standbys
Community and development
repmgr is free and open source software and is licensed under the GPLv3.
Contributions to repmgr are welcome. See the README.rst file for information about how to contribute.