diff --git a/doc/install-packages.sgml b/doc/install-packages.sgml
index 7ef235a0..264194fb 100644
--- a/doc/install-packages.sgml
+++ b/doc/install-packages.sgml
@@ -16,7 +16,7 @@
RPM packages for &repmgr; are available via Yum through
the PostgreSQL Global Development Group RPM repository
- (http://yum.postgresql.org/>).
+ (http://yum.postgresql.org/).
Follow the instructions for your distribution (RedHat, CentOS,
Fedora, etc.) and architecture as detailed there.
@@ -24,11 +24,117 @@
2ndQuadrant also provides its
own RPM packages which are made available
at the same time as each &repmgr; release, as it can take some days for
- them to become available via the main PGDG repository. See here for details:
- http://repmgr.org/yum-repository.html>
+ them to become available via the main PGDG repository. See following section for details:
+
+
+
+ 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 to be updated following
+ a fresh &repmgr; release.
+
+
+ Installation
+
+
+
+
+ Import the repository public key (optional but recommended):
+
+ rpm --import http://packages.2ndquadrant.com/repmgr/RPM-GPG-KEY-repmgr
+
+
+
+
+
+ Install the repository RPM for your distribution (this enables the 2ndQuadrant
+ repository as a source of repmgr packages):
+
+
+
+ Fedora:
+ http://packages.2ndquadrant.com/repmgr/yum-repo-rpms/repmgr-fedora-1.0-1.noarch.rpm
+
+
+
+
+ RHEL, CentOS etc:
+ http://packages.2ndquadrant.com/repmgr/yum-repo-rpms/repmgr-rhel-1.0-1.noarch.rpm
+
+
+
+
+
+ e.g.:
+
+ $ yum install http://packages.2ndquadrant.com/repmgr/yum-repo-rpms/repmgr-rhel-1.0-1.noarch.rpm
+
+
+
+
+
+ Install the repmgr version appropriate for your PostgreSQL version (e.g. repmgr96), e.g.:
+
+ $ yum install repmg96
+
+
+
+
+
+
+ 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 repository is always prioritised, install yum-plugin-priorities
+ and set the repository priorities accordingly.
+
+
+
+ Installing a specific package version
+
+
+ To install a specific package version, execute yum --showduplicates list
+ for the package in question:
+
+ [root@localhost ~]# yum --showduplicates list repmgr96
+ Loaded plugins: fastestmirror
+ Loading mirror speeds from cached hostfile
+ * base: ftp.iij.ad.jp
+ * extras: ftp.iij.ad.jp
+ * updates: ftp.iij.ad.jp
+ Available Packages
+ repmgr96.x86_64 3.2-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 3.2.1-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 3.3-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 3.3.1-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 3.3.2-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 3.3.2-1.rhel6 pgdg96
+ repmgr96.x86_64 4.0.0-1.el6 2ndquadrant-repmgr
+ repmgr96.x86_64 4.0.0-1.rhel6 pgdg96
+ then append the appropriate version number to the package name with a hyphen, e.g.:
+
+ [root@localhost ~]# yum install repmgr96-3.3.2-1.el6
+
+
+
+
@@ -38,9 +144,9 @@
Debian/Ubuntu
.deb packages for &repmgr; are available from the
- PostgreSQL Community APT repository (http://apt.postgresql.org/>).
+ PostgreSQL Community APT repository (http://apt.postgresql.org/).
Instructions can be found in the APT section of the PostgreSQL Wiki
- (https://wiki.postgresql.org/wiki/Apt>).
+ (https://wiki.postgresql.org/wiki/Apt).