From 9a94878c73235bf5079b8f59fbd7f88bc2ca1678 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 13 Sep 2017 09:45:08 +0900 Subject: [PATCH] Update configuration file settings --- doc/configuration-file-settings.sgml | 87 +++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/doc/configuration-file-settings.sgml b/doc/configuration-file-settings.sgml index bf0ddafa..4cad9524 100644 --- a/doc/configuration-file-settings.sgml +++ b/doc/configuration-file-settings.sgml @@ -1,8 +1,89 @@ - Configuration file settings - + Configuration file settings + + Each repmgr.conf file must contain the following parameters: + + + + + node_id (int) + + node_id configuration file parameter + + + + + A unique integer greater than zero which identifies the node. + + + + + + node_name (string) + + node_name configuration file parameter + + + + + An arbitrary (but unique) string; we recommend using the server's hostname + or another identifier unambiguously associated with the server to avoid + confusion. Avoid choosing names which reflect the node's current role, + e.g. primary or standby1 + as roles can change and it will be confusing if e.g. the current primary is + called standby1. + + + + + + conninfo (string) + + conninfo configuration file parameter + + + + + Database connection information as a conninfo string. + All servers in the cluster must be able to connect to + the local node using this string. + + + For details on conninfo strings, see section + Connection Strings in the PosgreSQL documentation. + + + If repmgrd is in use, consider explicitly setting + connect_timeout in the conninfo + string to determine the length of time which elapses before a network + connection attempt is abandoned; for details see + the PostgreSQL documentation. + + + + + + data_directory (data_directory) + + data_directory configuration file parameter + + + + + The node's data directory. This is needed by repmgr + when performing operations when the PostgreSQL instance + is not running and there's no other way of determining + the data directory. + + + + + + + - For a full list of annotated configuration items, see the file repmgr.conf.sample.