From 6b3d54a5f30579154375c81230966159dbef05aa Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 19 Apr 2018 14:27:17 +0900 Subject: [PATCH] doc: update CentOS package documentation --- doc/appendix-packages.sgml | 97 ++++++++++++++++++++++++++------------ 1 file changed, 68 insertions(+), 29 deletions(-) diff --git a/doc/appendix-packages.sgml b/doc/appendix-packages.sgml index ff88faf8..c322ebcf 100644 --- a/doc/appendix-packages.sgml +++ b/doc/appendix-packages.sgml @@ -1,29 +1,58 @@ - - packages - + + packages + - &repmgr; package details - - This section provides technical details about various &repmgr; binary - packages, such as location of the installed binaries and - configuration files. - - - - CentOS, RHEL, Scientific Linux etc. + &repmgr; package details - Currently packages are provided for versions 6.x and 7.x of CentOS et al. + This section provides technical details about various &repmgr; binary + packages, such as location of the installed binaries and + configuration files. - + + CentOS Packages + + packages + CentOS packages + - 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; - 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. + 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 + provides packages (see the PostgreSQL RPM Building Project + page for details). - + + It appears Red Hat provides enterprise users with PostgreSQL RPMs with a different + filesystem layout to the community RPMs, in which case the 2ndQuadrant &repmgr; RPM packages + may not be compatible. Please contact your support vendor for assistance. + + + Note these &repmgr; RPM packages are not designed to work with SuSE/OpenSuSE. + + + + + 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. + + + + + 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). + + + CentOS 7 packages @@ -42,7 +71,7 @@ Package name example: - repmgr10-4.0.0-1.rhel7.x86_64 + repmgr10-4.0.4-1.rhel7.x86_64 @@ -52,7 +81,7 @@ Installation command: - yum install -y repmgr10 + yum install repmgr10 @@ -61,7 +90,7 @@ - In default path: + repmgr in default path: NO @@ -70,9 +99,14 @@ /etc/repmgr/10/repmgr.conf + + Data directory: + /var/lib/pgsql/10/data + + repmgrd service command: - service repmgr10 + systemctl [start|stop|restart|reload] repmgr10 @@ -82,7 +116,7 @@ repmgrd log file location: - (not specified) + (not specified by package; set in repmgr.conf) @@ -106,17 +140,17 @@ Package name example: - repmgr96-4.0.0-1.rhel6.x86_64 + repmgr96-4.0.4-1.rhel6.x86_64 Metapackage: - NO + (none) Installation command: - yum install -y repmgr96 + yum install repmgr96 @@ -125,7 +159,7 @@ - In default path: + repmgr in default path: NO @@ -134,9 +168,14 @@ /etc/repmgr/9.6/repmgr.conf + + Data directory: + /var/lib/pgsql/9.6/data + + repmgrd service command: - service repmgr-9.6 + service [start|stop|restart|reload] repmgr-9.6