Commit Graph

26 Commits

Author SHA1 Message Date
Ian Barwick
74c44a7178 doc: document "repmgr node service"
This was originally intended for internal use, but it's mentioned
several times in the documentation and is useful for diagnostic
purposes.
2018-11-28 12:58:07 +09:00
Ian Barwick
2491b8ae52 Add functionality to "pause" repmgrd
In some circumstances, e.g. while performing a switchover, it is essential
that repmgrd does not take any kind of failover action, as this will put
the cluster into an incorrect state.

Previously it was necessary to stop repmgrd on all nodes (or at least
those nodes which repmgrd would consider as promotion candidates), however
this is a cumbersome and potentially risk-prone operation, particularly if the
replication cluster contains more than a couple of servers.

To prevent this issue from occurring, this patch introduces the ability
to "pause" repmgrd on all nodes wth a single command ("repmgr daemon pause")
which notifies repmgrd not to take any failover action until the node
is "unpaused" ("repmgr daemon unpause").

"repmgr daemon status" provides an overview of each node and whether repmgrd
is running, and if so whether it is paused.

"repmgr standby switchover" has been modified to automatically pause repmgrd
while carrying out the switchover.

See documentation for further details.
2018-09-27 16:42:10 +09:00
Ian Barwick
8b059bc9b0 Change default for "log_level" to INFO
Default was previously NOTICE (as in repmgr 3.x) but documentation
implied it was INFO, and many of the the documentation examples assume
it is.

This produces some quite informative log output, without creating excessive
log file volume. In particular it's useful to get a better idea of what
repmgrd is actually doing.

Also add documentation section for the log configuration parameters.

GitHub #470, containing change suggested in GitHub #467.
2018-07-12 14:50:48 +09:00
Ian Barwick
cfa7155784 doc: update links to configuration file sections 2018-07-12 11:43:04 +09:00
Ian Barwick
09b8a86605 doc: improve configuration documentation
With special attention to setting service commands, and extra special
mention of "pg_ctlcluster" for Debian/Ubuntu users.
2018-04-20 10:15:18 +09:00
Ian Barwick
9951a8e106 doc: add appendix with details about packages
work-in-progress
2018-01-02 17:23:24 +09:00
Ian Barwick
5b4c92392c docs: expand witness documentation 2017-11-17 11:00:43 +09:00
Ian Barwick
3164bfa043 docs: add initial witness server documentation 2017-11-17 08:51:21 +09:00
Ian Barwick
e07a3c7976 docs: add witness command reference files to file list 2017-11-15 13:48:06 +09:00
Ian Barwick
6b76704817 Initial conversion of existing BDR repmgr documentation 2017-10-26 16:29:40 +09:00
Ian Barwick
7bf3c78f57 Add 4.0 release notes 2017-10-19 13:58:41 +09:00
Ian Barwick
91354a71cc Add FAQ to documentation 2017-10-17 15:46:36 +09:00
Ian Barwick
034e501039 Add section about upgrading 2017-10-10 09:32:14 +09:00
Ian Barwick
08878831fe Add more repmgrd documentation 2017-10-05 15:59:39 +09:00
Ian Barwick
87ea7850ca More updates 2017-10-05 15:21:22 +09:00
Ian Barwick
fee4569887 Further repmgrd documentation 2017-10-05 14:32:57 +09:00
Ian Barwick
a4e79d33af Initial repmgrd documentation 2017-10-05 13:40:13 +09:00
Ian Barwick
d156de533d Split up command reference 2017-10-05 11:48:21 +09:00
Ian Barwick
e18d6ea81f Add switchover section 2017-10-05 10:30:29 +09:00
Ian Barwick
9697e2ccfc Add standby promotion documentation 2017-10-05 10:30:29 +09:00
Ian Barwick
e7bb3e9d50 Add section on promoting standby 2017-10-05 10:30:29 +09:00
Ian Barwick
8013634b79 Expand documentation 2017-10-05 10:30:29 +09:00
Ian Barwick
8d609249fd Start quickstart guide 2017-10-05 10:30:29 +09:00
Ian Barwick
aaf5af7591 Initial configuration stuff 2017-10-05 10:30:29 +09:00
Ian Barwick
2a48edb625 Add installation instructions 2017-10-05 10:30:29 +09:00
Ian Barwick
0c64b90427 More doc boilerplate 2017-10-05 10:29:25 +09:00