mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Start quickstart guide
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<sect1 id="configuration-file" xreflabel="configuration file location">
|
||||
<title>Configuration file location</title>
|
||||
<para>
|
||||
`repmgr` and `repmgrd` use a common configuration file, by default called
|
||||
`repmgr.conf` (although any name can be used if explicitly specified).
|
||||
`repmgr.conf` must contain a number of required parameters, including
|
||||
<application>repmgr</application> and <application>repmgrd</application>
|
||||
use a common configuration file, by default called
|
||||
<filename>repmgr.conf</filename> (although any name can be used if explicitly specified).
|
||||
<filename>repmgr.conf</filename> must contain a number of required parameters, including
|
||||
the database connection string for the local node and the location
|
||||
of its data directory; other values will be inferred from defaults if
|
||||
not explicitly supplied. See section `configuration file parameters`
|
||||
@@ -17,26 +18,29 @@
|
||||
<para>a configuration file specified by the `-f/--config-file` command line option</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>a location specified by the package maintainer (if `repmgr` was installed
|
||||
from a package and the package maintainer has specified the configuration
|
||||
file location)</para>
|
||||
<para>
|
||||
a location specified by the package maintainer (if <application>repmgr</application>
|
||||
as installed from a package and the package maintainer has specified the configuration
|
||||
file location)
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>`repmgr.conf` in the local directory</para>
|
||||
<para><filename>repmgr.conf</filename> in the local directory</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>`/etc/repmgr.conf`</para>
|
||||
<para><filename>/etc/repmgr.conf</filename></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>the directory reported by `pg_config --sysconfdir`</para>
|
||||
<para>the directory reported by <application>pg_config --sysconfdir</application></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Note that if a file is explicitly specified with `-f/--config-file`, an error will
|
||||
be raised if it is not found or not readable and no attempt will be made to check
|
||||
default locations; this is to prevent `repmgr` unexpectedly reading the wrong file.
|
||||
Note that if a file is explicitly specified with <application>-f/--config-file</application>,
|
||||
an error will be raised if it is not found or not readable and no attempt will be made to
|
||||
check default locations; this is to prevent <application>repmgr</application> unexpectedly
|
||||
reading the wrong file.
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
Reference in New Issue
Block a user