repmgr configurationconfigurationprerequisitesPrerequisites for configuration
Following software must be installed on both servers:
PostgreSQLrepmgr
At network level, connections between the PostgreSQL port (default: 5432)
must be possible between all nodes.
Optionally, if you want repmgr to copy PostgreSQL configuration
files which are located outside the data directory (as is the case with e.g.
Debian packages)
when cloning a standby, or use &repmgr; to perform
switchovers, passwordless SSH connections are required
between all nodes. Additionally, for copying files outide the data directory,
rsync must be installed.
&configuration-file;
&configuration-file-required-settings;
&configuration-file-log-settings;
&configuration-file-service-commands;
configurationdatabase user permissionsrepmgr database user permissions
&repmgr; will create an extension database containing objects
for administering &repmgr; metadata. The user defined in the conninfo
setting must be able to access all objects. Additionally, superuser permissions
are required to install the &repmgr; extension. The easiest way to do this
is create the &repmgr; user as a superuser, however if this is not
desirable, the &repmgr; user can be created as a normal user and a
superuser specified with --superuser when registering a &repmgr; node.