Ian Barwick
dfb796ca8f
Check config file *before* checking command line parameters
...
Validity of command line parameters may depened on settings in the configuration
file.
2017-08-31 09:55:32 +09:00
Ian Barwick
13f2d46e92
"standby clone": exit with 0 after successful --dry-run
2017-08-30 10:00:48 +09:00
Ian Barwick
8b03859dbe
"standby clone": add early sanity check for external configuration files
...
This still requires an SSH connection, so we need to check early before
the cloning starts, and also emit useful information for --dry-run.
2017-08-29 22:11:16 +09:00
Ian Barwick
16d7282c9d
Update README
2017-08-29 16:32:29 +09:00
Ian Barwick
154c76e5e7
repmgrd: improve cascaded standby failover
...
Check primary is available.
2017-08-29 15:29:17 +09:00
Ian Barwick
6d02415d26
Ensure "log_status_interval" gets reloaded
2017-08-29 15:26:10 +09:00
Ian Barwick
9cf3508979
Log configuration parameters which change following a reload
2017-08-29 13:08:37 +09:00
Ian Barwick
e0888c1f62
repmgrd: handle SIGHUP
2017-08-29 12:55:13 +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
0b7dbb845c
Add warning for --dry-run when not effective
2017-08-28 15:10:57 +09:00
Ian Barwick
b900f9996f
"repmgr standby clone": add --dry-run option
2017-08-28 15:04:50 +09:00
Ian Barwick
e05bab8284
"standby switchover": epxlictly confirm suitability for --pg-rewind
...
If --force-rewind requested.
2017-08-28 14:50:08 +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
d85b066f45
repmgrd cluster show: add warnings with information about discrepancies
2017-08-28 11:19:32 +09:00
Ian Barwick
4a11551c2f
repmgrd: handle local node failure
2017-08-28 10:31:43 +09:00
Ian Barwick
754084c814
Update "repmgr standby --help" output
2017-08-26 10:27:22 +09:00
Ian Barwick
57215a8bd7
Add --help output for "standby clone"
2017-08-25 23:07:17 +09:00
Ian Barwick
c1ed248fb1
Handle "event_notifications" when reloading configuration
2017-08-25 23:07:07 +09:00
Ian Barwick
e280e2670e
Add code to reload configuration file
2017-08-25 22:31:42 +09:00
Ian Barwick
5208655a35
Parse "recovery_min_apply_delay" from recovery.conf
2017-08-25 21:47:14 +09:00
Ian Barwick
5ee1eb6bf7
Convert --recovery-min-apply-delay to configuration file option
...
That way it only needs to be set once, and won't get lost during
follow operations etc.
2017-08-25 21:25:15 +09:00
Ian Barwick
dc172cae20
When performing a follow operation, start/restart server as appropriate
...
Before this we were always forcing a restart, which is technically not
a problem but produces some potentially confusing log entries along the
lines:
pg_ctl: PID file "/path/to/postmaster.pid" does not exist
Is server running?
starting server anyway
2017-08-25 16:50:30 +09:00
Ian Barwick
1ba2a2462c
Update README
2017-08-25 16:48:14 +09:00
Ian Barwick
4921f389b6
Fix spurious warning when executing "repmgr node rejoin"
...
Database connection parameters required for this.
2017-08-25 16:28:25 +09:00
Ian Barwick
a449e8512e
repmgr: improve "repmgr standby switchover" log output
...
Particularly in --dry-run mode it's useful to get a confirmation that
various prerequisites are met.
2017-08-25 16:01:11 +09:00
Ian Barwick
1452238613
Update document "repmgrd-node-fencing.md"
2017-08-25 15:58:52 +09:00
Ian Barwick
3b9d201e18
Add/update document "repmgrd-node-fencing.md"
2017-08-25 12:32:55 +09:00
Ian Barwick
2092a55b9e
Update README
...
Document "standby switchover" and additional repmgrd information.
2017-08-25 00:39:22 +09:00
Ian Barwick
fcd111ac4c
Improve logging output during failover process
2017-08-24 22:44:03 +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
4f86fd681c
Update repmgr--unpackaged--4.0.sql
2017-08-24 15:41:54 +09:00
Ian Barwick
eee8d65259
Update view "replication_status"
2017-08-24 15:05:13 +09:00
Ian Barwick
a127e8face
Provisionally add view "repmgr.replication_status"
2017-08-24 12:58:36 +09:00
Ian Barwick
a659132ea4
repmgrd: write monitoring statistics
2017-08-24 11:49:44 +09:00
Ian Barwick
5dfb8a5b06
Add SQL for monitoring history table
2017-08-23 22:18:23 +09:00
Ian Barwick
8dfb7bbc7d
repmgrd: handle promotion failure properly
2017-08-23 21:44:18 +09:00
Ian Barwick
6259463007
repmgrd: various fixes for "manual" failover mode
2017-08-23 10:56:55 +09:00
Ian Barwick
ff07763242
repmgr: update --help output
...
Display database connection options.
2017-08-22 15:07:22 +09:00
Ian Barwick
ef0163bd84
"standby follow": ensure recovery.conf uses "node_name" as "application_name"
...
In repmgr4 we want to make it easier to establish which node is connected
to which.
2017-08-22 13:21:29 +09:00
Ian Barwick
44d1b96bc3
repmgrd: fix log output
2017-08-22 13:21:16 +09:00
Ian Barwick
7ca396b9cb
Add missing Barman options check
2017-08-21 14:10:08 +09:00