Commit Graph

705 Commits

Author SHA1 Message Date
Ian Barwick c757985640 primary -> master
For consistency
2015-03-19 11:26:47 +09:00
Ian Barwick 172a3d90cf Terminate rather than destroy 2015-03-19 09:55:20 +09:00
Ian Barwick 86d24759a0 In configuration check, check that 'archive_command' is not empty 2015-03-18 16:07:34 +09:00
Ian Barwick 7bd54b5a70 3.0rc3 2015-03-17 23:16:18 +09:00
Ian Barwick 3e04c8e720 Event logging and notifications 2015-03-17 20:10:00 +09:00
Ian Barwick 7f98bb7aec Create event record for rempgrd termination
Also fix a few incorrect exit codes.
2015-03-17 19:08:59 +09:00
Ian Barwick 9e2736be4c Remove superfluous configuration check
Also add note about configuration parsing failure and event logging.
2015-03-17 18:41:17 +09:00
Ian Barwick 4b3966d6a7 Update HISTORY 2015-03-17 16:07:04 +09:00
Ian Barwick 5a1036cea2 Update and rework repmgr.conf.sample 2015-03-17 14:13:46 +09:00
Ian Barwick e21448831d Standardize configuration error messages for 'failover' parameter.
Better to fail with an error than assume a default value if an
unrecognized value is detected.
2015-03-17 08:19:29 +09:00
Ian Barwick 155f5075cb Improve configuration error and warning messages 2015-03-17 08:14:27 +09:00
Ian Barwick 9cfd6680b3 Remove superfluous comment 2015-03-17 08:01:09 +09:00
Ian Barwick 874616f149 Add %n/node id format option for 'event_notification_command' 2015-03-16 18:04:50 +09:00
Ian Barwick 61ce18ebbe Add configuration parameter 'event_notifications' 2015-03-16 17:31:26 +09:00
Ian Barwick 922dfd88e5 Add configuration option 'event_notification_command'
Command to be executed each time an event is logged.

Following formatting sequences will be interpolated:

      %e - event type
      %d - description
      %s - success (1 or 0)
      %t - timestamp
2015-03-16 13:41:13 +09:00
Ian Barwick b41235b896 Tweak code comments 2015-03-16 09:31:08 +09:00
Ian Barwick 0307c51d4b Add initial event logging code 2015-03-16 07:44:54 +09:00
Abhijit Menon-Sen 886a9fd036 A couple of items for later 2015-03-13 16:15:53 +05:30
Abhijit Menon-Sen 94d0d119f6 Fix typo 2015-03-13 16:15:53 +05:30
Ian Barwick 96c8cd4148 Update code comments 2015-03-13 16:43:12 +09:00
Ian Barwick 619f95d85c Update code comments 2015-03-13 12:49:06 +09:00
Ian Barwick 97ae6dbf57 Remove superfluous configuration check
This is already done in parse_config()
2015-03-13 12:04:08 +09:00
Ian Barwick 2929ed9be0 Make parameters 'conninfo' and 'node_name' mandatory
There's no reason why they need to be absent; if absent they're
likely to cause confusion.
2015-03-13 11:57:34 +09:00
Ian Barwick 33037dd7fb Explicitly specify problematic parameter names in error messages. 2015-03-13 11:47:28 +09:00
Ian Barwick 36db199882 Retrieve node's active status too 2015-03-13 11:31:01 +09:00
Ian Barwick 728b71c700 Clarify error message
"Node information" is too vague.
2015-03-13 08:26:11 +09:00
Abhijit Menon-Sen 97c9525479 Note what to do with the names 2015-03-12 20:34:08 +05:30
Abhijit Menon-Sen bf957ac173 Note 9.4 above wal_keep_segments 2015-03-12 20:33:07 +05:30
Abhijit Menon-Sen e358c20b84 Oops, it's .rst not .md; also typeset filenames properly 2015-03-12 20:21:17 +05:30
Abhijit Menon-Sen aaf219a694 Even more clear 2015-03-12 20:15:23 +05:30
Abhijit Menon-Sen c69e4e93f2 Be very clear about conninfo's host= 2015-03-12 20:14:27 +05:30
Abhijit Menon-Sen 8a4f4bbd83 Shorten the title; we don't need to say cluster 2015-03-12 20:11:29 +05:30
Abhijit Menon-Sen 36a9e17bd3 More feedback is good 2015-03-12 20:09:03 +05:30
Abhijit Menon-Sen 95ac7e889b Tweak and add a reference to .sample 2015-03-12 20:07:46 +05:30
Abhijit Menon-Sen 0a5457efb2 Rewrite the repmgr configuration section 2015-03-12 20:04:31 +05:30
Abhijit Menon-Sen aa67a4b7e9 Add missing newline 2015-03-12 19:46:40 +05:30
Abhijit Menon-Sen f8a0e45f5b Rewrite the server configuration section 2015-03-12 19:39:10 +05:30
Abhijit Menon-Sen 6b8f96b590 Split out packaging notes too 2015-03-12 18:34:55 +05:30
Abhijit Menon-Sen e01807ea20 Split out SSH configuration bits from the old README 2015-03-12 18:22:53 +05:30
Abhijit Menon-Sen 080bb81aeb A last little tweak 2015-03-12 18:07:58 +05:30
Abhijit Menon-Sen d8fe1ebf47 Minor .md tweaking 2015-03-12 18:01:15 +05:30
Abhijit Menon-Sen 9b7cb5b0c0 Rewrite installation and move things around a bit 2015-03-12 17:58:27 +05:30
Abhijit Menon-Sen 2c69119eff Don't say 'standbies', especially when we don't actually do anything 2015-03-12 17:49:27 +05:30
Abhijit Menon-Sen cc1e285d90 Rewrite requirements 2015-03-12 17:37:05 +05:30
Abhijit Menon-Sen 4ee84f4f05 Rewrite the introduction and overview 2015-03-12 16:54:33 +05:30
Abhijit Menon-Sen ad83f8f12e Fix typo 2015-03-12 14:14:30 +05:30
Ian Barwick ce254ccde3 Add instructions for upgrading from repmgr2 to repmgr3 2015-03-12 14:15:00 +09:00
Ian Barwick c833dd65f9 rempgr -> repmgr
The rampager strikes again.
2015-03-12 11:42:50 +09:00
Ian Barwick 7e615c5e0d Add witness server information 2015-03-12 11:42:28 +09:00
Ian Barwick a0a2f87d32 Fix format and typos 2015-03-12 10:50:02 +09:00