D.1. CentOS Packages

D.1.1. CentOS repositories
D.1.2. CentOS package details

Currently, repmgr RPM packages are provided for versions 6.x and 7.x of CentOS. These should also work on matching versions of Red Hat Enterprise Linux, Scientific Linux and Oracle Enterprise Linux; together with CentOS, these are the same RedHat-based distributions for which the main community project (PGDG) provides packages (see the PostgreSQL RPM Building Project page for details).

Note these repmgr RPM packages are not designed to work with SuSE/OpenSuSE.

Note

repmgr packages are designed to be compatible with community-provided PostgreSQL packages. They may not work with vendor-specific packages such as those provided by RedHat for RHEL customers, as the filesystem layout may be different to the community RPMs. Please contact your support vendor for assistance.

D.1.1. CentOS repositories

repmgr packages are available from the public EDB repository, and also the PostgreSQL community repository. The EDB repository is updated immediately after each repmgr release.


Table D.2. PostgreSQL community repository (PGDG)


D.1.2. CentOS package details

The two tables below list relevant information, paths, commands etc. for the repmgr packages on CentOS 7 (with systemd) and CentOS 6 (no systemd). Substitute the appropriate PostgreSQL major version number for your installation.

Note

For PostgreSQL 9.6 and lower, the CentOS packages use a mixture of 9.6 and 96 in various places to designate the major version; e.g. the package name is repmgr96, but the binary directory is /var/lib/pgsql/9.6/data.

From PostgreSQL 10, the first part of the version number (e.g. 10) is the major version, so there is more consistency in file/path/package naming (package repmgr10, binary directory /var/lib/pgsql/10/data).

Table D.3. CentOS 7 packages

Package name example:repmgr11-4.4.0-1.rhel7.x86_64
Metapackage:(none)
Installation command:yum install repmgr11
Binary location:/usr/pgsql-11/bin
repmgr in default path:NO
Configuration file location:/etc/repmgr/11/repmgr.conf
Data directory:/var/lib/pgsql/11/data
repmgrd service command:systemctl [start|stop|restart|reload] repmgr11
repmgrd service file location:/usr/lib/systemd/system/repmgr11.service
repmgrd log file location:(not specified by package; set in repmgr.conf)

Table D.4. CentOS 6 packages

Package name example:repmgr96-4.0.4-1.rhel6.x86_64
Metapackage:(none)
Installation command:yum install repmgr96
Binary location:/usr/pgsql-9.6/bin
repmgr in default path:NO
Configuration file location:/etc/repmgr/9.6/repmgr.conf
Data directory:/var/lib/pgsql/9.6/data
repmgrd service command:service [start|stop|restart|reload] repmgr-9.6
repmgrd service file location:/etc/init.d/repmgr-9.6
repmgrd log file location:/var/log/repmgr/repmgrd-9.6.log