From f78c169c3d0830bc2c762a6ad750761ecfed0afe Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 29 Nov 2017 14:43:28 +0900 Subject: [PATCH] docs: improve event notification documentation --- doc/event-notifications.sgml | 12 ++++++++++++ doc/repmgr-node-rejoin.sgml | 10 +++++++++- doc/repmgr-primary-register.sgml | 7 +++++++ doc/repmgr-primary-unregister.sgml | 8 ++++++++ doc/repmgr-standby-clone.sgml | 8 ++++++++ doc/repmgr-standby-follow.sgml | 7 +++++++ doc/repmgr-standby-promote.sgml | 8 ++++++++ doc/repmgr-standby-register.sgml | 9 +++++++++ doc/repmgr-standby-switchover.sgml | 9 +++++++++ doc/repmgr-standby-unregister.sgml | 8 ++++++++ doc/repmgr-witness-register.sgml | 8 ++++++++ doc/repmgr-witness-unregister.sgml | 9 +++++++++ 12 files changed, 102 insertions(+), 1 deletion(-) diff --git a/doc/event-notifications.sgml b/doc/event-notifications.sgml index 11bed7de..21e13f9c 100644 --- a/doc/event-notifications.sgml +++ b/doc/event-notifications.sgml @@ -126,6 +126,9 @@ primary_register + + primary_unregister + standby_register @@ -144,6 +147,15 @@ standby_disconnect_manual + + witness_register + + + witness_unregister + + + node_rejoin + repmgrd_start diff --git a/doc/repmgr-node-rejoin.sgml b/doc/repmgr-node-rejoin.sgml index d81531fe..443e2948 100644 --- a/doc/repmgr-node-rejoin.sgml +++ b/doc/repmgr-node-rejoin.sgml @@ -45,6 +45,13 @@ + + Event notifications + + A node_rejoin event notification will be generated. + + + Notes @@ -78,7 +85,8 @@ - pg_rewind *requires* that either wal_log_hints is enabled, or that + pg_rewind requires that either + wal_log_hints is enabled, or that data checksums were enabled when the cluster was initialized. See the pg_rewind documentation for details. diff --git a/doc/repmgr-primary-register.sgml b/doc/repmgr-primary-register.sgml index 7300f6b0..26711c41 100644 --- a/doc/repmgr-primary-register.sgml +++ b/doc/repmgr-primary-register.sgml @@ -48,4 +48,11 @@ + + Event notifications + + A primary_register event notification will be generated. + + + diff --git a/doc/repmgr-primary-unregister.sgml b/doc/repmgr-primary-unregister.sgml index ab001cbc..24728a27 100644 --- a/doc/repmgr-primary-unregister.sgml +++ b/doc/repmgr-primary-unregister.sgml @@ -31,4 +31,12 @@ repmgr primary unregister/ + + + Event notifications + + A primary_unregister event notification will be generated. + + + diff --git a/doc/repmgr-standby-clone.sgml b/doc/repmgr-standby-clone.sgml index fbc6879f..5c33a98d 100644 --- a/doc/repmgr-standby-clone.sgml +++ b/doc/repmgr-standby-clone.sgml @@ -99,5 +99,13 @@ + + + Event notifications + + A standby_clone event notification will be generated. + + + diff --git a/doc/repmgr-standby-follow.sgml b/doc/repmgr-standby-follow.sgml index adb328b1..4791614c 100644 --- a/doc/repmgr-standby-follow.sgml +++ b/doc/repmgr-standby-follow.sgml @@ -48,6 +48,13 @@ + + Event notifications + + A standby_follow event notification will be generated. + + + See also diff --git a/doc/repmgr-standby-promote.sgml b/doc/repmgr-standby-promote.sgml index 898f9690..ea4f1b5d 100644 --- a/doc/repmgr-standby-promote.sgml +++ b/doc/repmgr-standby-promote.sgml @@ -41,4 +41,12 @@ DETAIL: server "node2" (ID: 2) was successfully promoted to primary + + + Event notifications + + A standby_promote event notification will be generated. + + + diff --git a/doc/repmgr-standby-register.sgml b/doc/repmgr-standby-register.sgml index 3ef72197..e4538b48 100644 --- a/doc/repmgr-standby-register.sgml +++ b/doc/repmgr-standby-register.sgml @@ -74,4 +74,13 @@ -F/--force option does not result in an incorrectly configured cluster. + + + + Event notifications + + A standby_register event notification will be generated. + + + diff --git a/doc/repmgr-standby-switchover.sgml b/doc/repmgr-standby-switchover.sgml index 5802a626..c96ea9a6 100644 --- a/doc/repmgr-standby-switchover.sgml +++ b/doc/repmgr-standby-switchover.sgml @@ -40,6 +40,15 @@ + + Event notifications + + A standby_promote event notification will be generated on the new primary, + and a node_rejoin event notification on the former primary (new standby). + + + + See also diff --git a/doc/repmgr-standby-unregister.sgml b/doc/repmgr-standby-unregister.sgml index 72fafd94..3784d38a 100644 --- a/doc/repmgr-standby-unregister.sgml +++ b/doc/repmgr-standby-unregister.sgml @@ -42,5 +42,13 @@ repmgr standby unregister -f /etc/repmgr.conf --node-id=3 + + + Event notifications + + A standby_unregister event notification will be generated. + + + diff --git a/doc/repmgr-witness-register.sgml b/doc/repmgr-witness-register.sgml index a82d4376..21fb610f 100644 --- a/doc/repmgr-witness-register.sgml +++ b/doc/repmgr-witness-register.sgml @@ -49,4 +49,12 @@ + + + Event notifications + + A witness_register event notification will be generated. + + + diff --git a/doc/repmgr-witness-unregister.sgml b/doc/repmgr-witness-unregister.sgml index 33a37aed..cc38769f 100644 --- a/doc/repmgr-witness-unregister.sgml +++ b/doc/repmgr-witness-unregister.sgml @@ -61,4 +61,13 @@ repmgr witness register --force. + + + + Event notifications + + A witness_unregister event notification will be generated. + + +