2ndQuadrant repmgr yum repository

Beginning with repmgr 3.1.3, 2ndQuadrant provides a dedicated yum repository for repmgr releases. This repository complements the main PGDG community repository, but enables repmgr users to access the latest repmgr packages before they are available via the PGDG repository, which can take several days.

Supported distributions and architectures

This repository currently supports following distributions on x86_64 architecture:

Note that RHEL packages will work on CentOS and other RHEL derivatives.

Installation

  1. Import the repository public key (optional but recommended):

    rpm --import http://packages.2ndquadrant.com/repmgr/RPM-GPG-KEY-repmgr

  2. Ensure you have the correct PGDG yum repository installed for your OS and desired PostgreSQL version; see: PostgreSQL RPM Building Project - Repository Packages
  3. Install the repository RPM for your distribution (this enables the 2ndQuadrant repository as a source of repmgr packages)

    e.g.:

    $ yum install http://packages.2ndquadrant.com/repmgr/yum-repo-rpms/repmgr-rhel-1.0-1.noarch.rpm

  4. Install the repmgr version appropriate for your PostgreSQL version (e.g. repmgr95), e.g.:

    $ yum install repmgr95

Compatibility with PGDG Repositories

The 2ndQuadrant repmgr yum repository uses exactly the same package definitions as the main PGDG repository and is effectively a selective mirror for repmgr packages only.

Normally yum should prioritize the repository with the most recent repmgr version. Once the PGDG repository has been updated, it doesn't matter which repository the packages are installed from.

To ensure the 2ndQuadrant is always prioritised, install `yum-plugin-priorities` and set the repository priorities accordingly.