From 034e50103984bd0305ff3f4497bdc52f480405c3 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 10 Oct 2017 09:32:14 +0900 Subject: [PATCH] Add section about upgrading --- doc/filelist.sgml | 1 + doc/repmgr.sgml | 1 + doc/repmgrd-degraded-monitoring.sgml | 7 ++++--- doc/upgrading-repmgr.sgml | 22 ++++++++++++++++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 doc/upgrading-repmgr.sgml diff --git a/doc/filelist.sgml b/doc/filelist.sgml index 0ac4507a..29fe40d3 100644 --- a/doc/filelist.sgml +++ b/doc/filelist.sgml @@ -44,6 +44,7 @@ + diff --git a/doc/repmgr.sgml b/doc/repmgr.sgml index 989efda0..ffa1baa0 100644 --- a/doc/repmgr.sgml +++ b/doc/repmgr.sgml @@ -74,6 +74,7 @@ &follow-new-primary; &switchover; &event-notifications; + &upgrading-repmgr; diff --git a/doc/repmgrd-degraded-monitoring.sgml b/doc/repmgrd-degraded-monitoring.sgml index adae7236..5a4f5c16 100644 --- a/doc/repmgrd-degraded-monitoring.sgml +++ b/doc/repmgrd-degraded-monitoring.sgml @@ -1,9 +1,9 @@ "degraded monitoring" mode - In certain circumstances, `repmgrd` is not able to fulfill its primary mission + In certain circumstances, repmgrd is not able to fulfill its primary mission of monitoring the nodes' upstream server. In these cases it enters "degraded - monitoring" mode, where `repmgrd` remains active but is waiting for the situation + monitoring" mode, where repmgrd remains active but is waiting for the situation to be resolved. @@ -62,7 +62,8 @@ By default, repmgrd will continue in degraded monitoring mode indefinitely. - However a timeout (in seconds) can be set with degraded_monitoring_timeout. + However a timeout (in seconds) can be set with degraded_monitoring_timeout, + after which repmgrd will terminate. diff --git a/doc/upgrading-repmgr.sgml b/doc/upgrading-repmgr.sgml new file mode 100644 index 00000000..732a0a4e --- /dev/null +++ b/doc/upgrading-repmgr.sgml @@ -0,0 +1,22 @@ + + Upgrading repmgr + + &repmgr; is updated regularly with point releases (e.g. 4.0.1 to 4.0.2) + containing bugfixes and other minor improvements. Any substantial new + functionality will be included in a feature release (e.g. 4.0.x to 4.1.x). + + + &repmgr; is implemented as a PostgreSQL extension; to upgrade it, first + install the updated package, then in the database where the &repmgr; + extension is installed, execute ALTER EXTENSION repmgr UPDATE. + + + If repmgrd is running, it may be necessary to restart + the PostgreSQL server if the upgrade contains changes to the shared object + file used by repmgrd; check the release notes for details. + + + Upgrading from repmgr 3 + + +