Commit Graph

99 Commits

Author SHA1 Message Date
Ian Barwick 1c015c72a0 "cluster show": display "location" field too 2017-09-05 14:25:29 +09:00
Ian Barwick 78e6bdeebe Have repmgrd parse "standby follow --upstream-node-id=%n" 2017-09-04 13:42:50 +09:00
Ian Barwick 22f5576cc2 Fix typo 2017-09-04 09:41:00 +09:00
Ian Barwick edb74ccef9 Various fixes to "repmgr node rejoin" 2017-09-01 11:30:31 +09:00
Ian Barwick c7423ebb44 Various minor fixes 2017-08-31 23:54:52 +09:00
Ian Barwick 1517c06bb1 Document "replication_user" configuration file parameter. 2017-08-31 17:29:09 +09:00
Ian Barwick 04c9779561 Add documentation about passwords and recovery.conf 2017-08-31 15:24:09 +09:00
Ian Barwick 0e0b221507 Add configuration file setting "use_primary_conninfo_password"
If, for whatever reason, the upstream server password needs to be set
in "primary_conninfo", enable it to be extracted from $PGPASSWORD.
2017-08-31 14:57:07 +09:00
Ian Barwick 677cd9073a Document parameter "degraded_monitoring_timeout"
Also ensure it can be reloaded.
2017-08-31 14:48:51 +09:00
Ian Barwick 16d7282c9d Update README 2017-08-29 16:32:29 +09:00
Ian Barwick df827c6518 Update repmgrd documentation 2017-08-29 11:04:30 +09:00
Ian Barwick 0b9c538cb9 Update README1 2017-08-29 08:13:42 +09:00
Ian Barwick e40a14289d Update README 2017-08-28 17:33:38 +09:00
Ian Barwick 725bcf3177 Update README
Document replication slots.
2017-08-28 17:26:00 +09:00
Ian Barwick 4d5ff146e0 Update README 2017-08-28 17:07:14 +09:00
Ian Barwick b900f9996f "repmgr standby clone": add --dry-run option 2017-08-28 15:04:50 +09:00
Ian Barwick 4ba2291cdd Update README 2017-08-28 12:32:05 +09:00
Ian Barwick 3b28cfa70e Update "standby switchover" command reference 2017-08-28 11:58:10 +09:00
Ian Barwick 4b2fb7d15b Update "repmgr primary ..." --help output and command reference 2017-08-28 11:53:41 +09:00
Ian Barwick 754084c814 Update "repmgr standby --help" output 2017-08-26 10:27:22 +09:00
Ian Barwick 1ba2a2462c Update README 2017-08-25 16:48:14 +09:00
Ian Barwick 2092a55b9e Update README
Document "standby switchover" and additional repmgrd information.
2017-08-25 00:39:22 +09:00
Ian Barwick 7a00ad930a Update README 2017-08-24 22:43:55 +09:00
Ian Barwick db157ad9bc Update README 2017-08-24 17:43:01 +09:00
Ian Barwick 7d2dc0aa89 Update README 2017-08-24 16:51:22 +09:00
Ian Barwick 8a8982d7d9 Update README 2017-08-24 16:09:13 +09:00
Ian Barwick a127e8face Provisionally add view "repmgr.replication_status" 2017-08-24 12:58:36 +09:00
Ian Barwick 594e9e5007 Document upgrade process from repmgr3
Also provide unpackaged extension upgrade SQL, and a script to
assist converting repmgr.conf files.
2017-08-17 23:37:31 +09:00
Ian Barwick f3579e5fb0 Update README 2017-08-17 16:06:57 +09:00
Ian Barwick 0572996d61 Update README 2017-08-17 15:36:21 +09:00
Ian Barwick b1ba476241 Rename "archiver" check etc. to "archive-ready"
Gives a better indication of what's being checked.
2017-08-17 12:23:56 +09:00
Ian Barwick 7a9064cd1b "repmgr cluster events": show node name in output, if available
Nodes can be removed from repmgr.nodes, so we'll only have the historical
ID available via repmgr.events.
2017-08-17 10:49:54 +09:00
Ian Barwick bbd59ab9a2 Update "repmgr cluster event" documentation and --help output 2017-08-17 10:40:48 +09:00
Ian Barwick 00f983dc15 Update README 2017-08-16 13:23:46 +09:00
Ian Barwick 4c0d719cdb Add replication slot check to "repmgr node check" 2017-08-16 11:17:02 +09:00
Ian Barwick a57fb5b50c After switchover, enable sibling standbys to follow new primary 2017-08-10 00:06:16 +09:00
Ian Barwick 112ca6321a Initial switchover implementation
The repmgr3 implementation required the promotion candidate (standby)
to directly work with the demotion candidate's data directory,
directly execute server control commands etc.

Here we delegated a lot more of that work to the repmgr on the
demotion candidate, which reduces the amount of back-and-forth
over SSH and generally makes things cleaner and smoother.

In particular the repmgr on the demotion candidate will carry
out a thorough check that the node is shut down and report
the last checkpoint LSN to the promotion candidate; this
can then be used to determine whether pg_rewind needs to be
executed on the demoted primary before reintegrating it back
into the cluster (todo).

Also implement "--dry-run" for this action, which will sanity-check the
nodes as far as possible without executing the switchover.

Additionally some of the new repmgr node commands (or command options)
introduced for this can be also executed by the user to obtain
additional information about the status of each node.
2017-08-03 16:38:37 +09:00
Ian Barwick 0037d58dae Update README 2017-07-27 18:12:29 +09:00
Ian Barwick b4a655d074 Update README 2017-07-27 16:33:23 +09:00
Ian Barwick 1a45287e76 Misc updates and fixes 2017-07-20 21:15:55 +09:00
Ian Barwick b99443b0c8 Improvements to repmgr cluster show
Add documentation; show recovery status in --csv mode.
2017-07-20 10:25:13 +09:00
Ian Barwick 71a0871232 Add "repmgr bdr register" 2017-07-11 15:38:58 +09:00
Ian Barwick 7845a1fb47 Minimum supported version is currently 9.4 2017-06-25 21:46:50 +09:00
Ian Barwick 46c956e61a Use "primary" instead of "master" 2017-06-23 21:33:54 +09:00
Ian Barwick 66535e5417 repmgrd: initial startup 2017-06-22 17:23:05 +09:00
Ian Barwick 9ce981c9f8 Documentation updates 2017-06-22 15:28:31 +09:00
Ian Barwick 0ffd33820c Update README 2017-06-22 13:37:05 +09:00
Ian Barwick 226ba99804 Refactor command line option checks 2017-04-25 22:26:12 +09:00
Ian Barwick 1c99251ad1 Initial commit 2017-04-18 07:55:00 +09:00