Gunnlaugur Thor Briem
465f1a73a5
Fix inconsistent repmgr.conf path in failover cfg
...
The examples of `promote_command` and `follow_command` reference the
`repmgr.conf` file under a different path from the rest of the README.
This makes them consistent with the rest of the README.
2016-09-28 23:14:49 +09:00
Ian Barwick
c4f84bd777
Update README
...
Document new `--copy-external-config-files` option.
2016-09-28 16:40:13 +09:00
Ian Barwick
b9f52e74eb
repmgr: add --help output and documentation for --wait-sync
2016-09-28 14:22:26 +09:00
Ian Barwick
fa10fd8493
repmgr: add option --wait-sync for standby register
...
Causes repmgr to wait for the updated node record to propagate
to the standby before exiting. This can be used to ensure that
actions which depend on the standby's node record being synchronised
(such as starting repmgrd) are not carried out prematurely.
Addresses GitHub #103
2016-09-28 14:08:42 +09:00
Ian Barwick
52328b8f33
repmgr: update README
2016-09-27 10:27:27 +09:00
Ian Barwick
114c1bddcb
repmgr: only require 'wal_keep_segments' to be set in certain corner cases
...
Now that repmgr uses pg_basebackup's `--xlog-method=stream` setting by
default, and enables provision of `restore_command`, there's no reason
to require `wal_keep_segments` to be set in the default use-case.
`repmgr standby clone` will now only fail with an error if `wal_keep_segments`
is zero and one of the following cases applies:
* `--rsync-only` clone with no `restore_command` set
* clone with pg_basebackup and `--xlog-method=fetch`
* -w/--wal-keep-segments specified on the command line
If, for whatever reason, it's necessary to perform a standby clone
with `wal_keep_segments=0` in one of the above cases, specifying
`-w/--wal-keep-segments=0` on the command line will effectively
override the check.
GitHub #204
2016-09-21 16:42:14 +09:00
Ian Barwick
e043d5c9a9
Clarify requirements for passwordless SSH access
...
This is already effectively optional; in 3.2 we will ensure it becomes
fully optional (mainly by deprecating --ignore-external-config-files
and replacing it with --copy-external-config-files).
2016-09-21 08:43:45 +09:00
Ian Barwick
2c55accbdd
README: clarify supported versions
2016-09-19 20:59:35 +09:00
Abhijit Menon-Sen
4d36712901
Another typo fix
2016-09-17 14:15:50 +05:30
Abhijit Menon-Sen
7c3c30ae4a
More typo fixes from Andreas
2016-09-17 14:02:26 +05:30
Abhijit Menon-Sen
7e6491a6d6
Fix typo, thanks to Andreas Kretschmer
2016-09-16 21:05:09 +05:30
Ian Barwick
1d05345aa3
Add error code ERR_BARMAN
...
Indicates unrecoverable error condition when accessing the barman server
2016-08-31 11:41:55 +09:00
Ian Barwick
a55c224510
README: add note about cloned standby configuration.
2016-08-25 09:33:52 +09:00
Ian Barwick
5baec14a1e
Add repmgr.conf setting 'barman_config'
...
Enables provision of a non-default Barman configuration file.
2016-08-18 15:06:06 +09:00
Ian Barwick
fe469fe188
Merge pull request #191 from gciolli/feature-barman-support
...
Add Barman support to repmgr standby clone
2016-08-18 15:04:46 +09:00
Ian Barwick
fb6109b3e6
Update README.md
...
Note default usage of `pg_basebackup --xlog-method=stream`.
2016-08-15 10:16:22 +09:00
Renaud Fortier
7fc340a8e2
Update README.md
...
I think this will improve the readme.
2016-08-12 10:28:31 -04:00
Ian Barwick
84ab37c600
Improve handling of failover events when failover is set to manual
...
- prevent repmgrd from repeatedly executing the failover code
- add event notification 'standby_disconnect_manual'
- update documentation
This addresses GitHub #221 .
2016-08-09 12:09:09 +09:00
Gianni Ciolli
a4ee10ca22
Rewording sentence in README
2016-08-04 14:40:24 +02:00
Gianni Ciolli
b660eb7988
Rename from pg_restore_command to restore_command
...
This follows the recent upstream change.
2016-08-04 14:40:23 +02:00
Gianni Ciolli
6a4546a7b3
Updated README to reflect the new barman-wal-restore.py script
2016-08-04 14:40:23 +02:00
Gianni Ciolli
2f529e20c1
Barman support, draft #1
...
TODO: we need to check what happens with configuration files placed in
non-standard locations.
2016-08-04 14:40:23 +02:00
Ian Barwick
d9bda915bb
Update documentation and --help output for witness register
...
This completes the implementation of GitHub #186
2016-08-04 10:36:26 +09:00
Ian Barwick
c42437a4f2
standby/witness unregister - enable even if node isn't running
...
If the `--node` option is provided with the id of the node to unregister,
the action can be executed on any node.
This addresses GitHub #211 .
2016-08-02 17:09:27 +09:00
Ian Barwick
371d80ff35
Document repmgr cluster show --csv
2016-08-01 16:10:10 +09:00
Ian Barwick
e0a61afb7d
Suppress connection error display in repmgr cluster show
...
This prevents connection error messages being mixed in
with `repmgr cluster show` output. Error message output can
still be enabled with the --verbose flag.
Fixes GitHub #215
2016-08-01 14:57:40 +09:00
Ian Barwick
bbc88ce05c
Miscellaneous code cleanup and typo fixes
2016-07-28 16:32:07 +09:00
Ian Barwick
61e907cf70
Update README
...
Default log level is NOTICE, not INFO.
2016-07-27 12:11:00 +09:00
Ian Barwick
34e574ac66
Update README
...
Add caveats for pg_rewind with 9.4 and 9.3 in particular, also fix typo.
2016-07-21 08:58:44 +09:00
Ian Barwick
eba0f1d7ae
Update README with note about using screen et al
2016-07-18 11:01:42 +09:00
Ian Barwick
db32565b36
Add notes about setting pg_bindir for Debian/Ubuntu-based distributions.
...
repmgr doesn't know about pg_ctlcluster.
Per GitHub query #196 .
2016-07-15 16:00:31 +09:00
Ian Barwick
340899f082
Update README
...
Add note about 2ndQuadrant RPM repository.
2016-07-13 09:55:01 +09:00
Ian Barwick
eebaef59a3
Remove unused error code ERR_BAD_PASSWORD
2016-07-12 09:36:50 +09:00
Ian Barwick
ddaaa28449
README: update error code list
2016-07-12 09:35:52 +09:00
Ian Barwick
e81bf869ec
Update README with details about conninfo parameter handling
...
From 3.1.4 `repmgr` will behave like other PostgreSQL utilities
when handling database connection parameters, in particular
accepting a conninfo string and honouring libpq connection defaults.
2016-07-12 09:27:22 +09:00
Ian Barwick
013b4b4b8a
Update README/TODO about following non-master server
2016-07-01 12:15:37 +09:00
Ian Barwick
a6294b7da0
Update README.md
...
Add note about logging configuration and settings in `pg_ctl_options`
for switchover operations.
2016-07-01 10:47:20 +09:00
Ian Barwick
968c2f1954
Add notes about connect_timeout conninfo parameter.
...
Per suggestion in GitHub #148
2016-06-27 13:57:40 +09:00
Ian Barwick
bd76d0eb92
Update postgresql.org links to https
2016-06-27 12:32:10 +09:00
Ian Barwick
209de699ce
README.md: improve documentation of repl_status view
2016-05-16 13:51:40 +09:00
Martin
925d82f7a4
Add to the documentation the need to have archive_mode and
...
archive_command set in postgresql.conf
Fixes #154
2016-04-05 21:37:14 -03:00
Nikolay Shaplov
daafd70383
Better use /24 network mask in this example
2016-03-28 18:56:50 +03:00
Ian Barwick
4cafd443e1
README: Add note about 'repmgr_funcs'
2016-02-25 16:36:19 +09:00
Ian Barwick
d9961bbb17
Minor fixes to README.md
2016-02-23 14:25:26 +09:00
Martin
2fe3b3c2a3
Fix a few paragraphs from the README.md.
2016-02-22 09:20:11 -03:00
Ian Barwick
49420c437f
README.md: update witness server section
2016-02-09 15:58:51 +09:00
Ian Barwick
fbad18085e
README.md: formatting and spelling fixes
2016-01-29 17:09:12 +09:00
Ian Barwick
ca08b1c3bb
REAMDE.md: formatting
2016-01-29 16:55:47 +09:00
Ian Barwick
3d95fab0ac
README.md: minor corrections
2016-01-29 16:47:12 +09:00
Ian Barwick
98c4eb002a
README: add replication slot example
2016-01-28 11:43:42 +09:00