diff --git a/doc/configuration-file-optional-settings.xml b/doc/configuration-file-optional-settings.xml new file mode 100644 index 00000000..2e8cc24c --- /dev/null +++ b/doc/configuration-file-optional-settings.xml @@ -0,0 +1,124 @@ + + + Optional configuration file settings + + + repmgr.conf + optional settings + + + + + + + config_directory (string) + + config_directory configuration file parameter + + + + + If PostgreSQL configuration files are located outside the data + directory, specify the directory where the main + postgresql.conf file is located. + + + This enables explicit provision of an external configuration file + directory, which if set will be passed to pg_ctl as the + parameter. Otherwise pg_ctl will + default to using the data directory, which will cause some operations + to fail if the configuration files are not present there. + + + + This is implemented primarily for feature completeness and for + development/testing purposes. Users who have installed &repmgr; from + a package should not rely on to stop/start/restart PostgreSQL, + instead they should set the appropriate + for their operating system. For more details see + . + + + + + + + replication_user (string) + + replication_user configuration file parameter + + + + + PostgreSQL user to make replication connections with. + If not set defaults, to the user defined in . + + + + + + + + replication_type (string) + + replication_type configuration file parameter + + + + + Must be one of physical (for standard streaming replication) + or bdr. + + + + Replication type bdr can only be used with BDR 2.x + + + BDR 3.x users should use physical. + + + + + + + location (string) + + location configuration file parameter + + + + + An arbitrary string defining the location of the node; this + is used during failover to check visibility of the + current primary node. + + + For more details see . + + + + + + use_replication_slots (boolean) + + use_replication_slots configuration file parameter + + + + + Whether to use physical replication slots. + + + + When using replication slots, + max_replication_slots should be configured for + at least the number of standbys which will connect + to the primary. + + + + + + + +