Installing PGD CLI v4
TPAexec installs and configures PGD CLI on each BDR node, by default. If you wish to install PGD CLI on any non-BDR instance in the cluster, you simply attach the pgdcli role to that instance in TPAexec's configuration file before deploying. See TPAexec for more information.
You can manually install the PGD CLI on any Linux machine using
.rpm packages available from the BDR repository. The package name is
edb-pgd-cli. For example:
When the PGD CLI is configured by TPAexec, it connects automatically, but with a manual installation to a standalone EDB Postgres Distributed cluster you need to provide a connection string.
You can either use a configuration file to specify the database connection strings for your cluster (see following section) or pass the connection string directly to a command (see the sample use case).
pgd-config.yml configuration file to specify the database connection string for your cluster. The configuration file should contain the database connection string for at least one BDR node in the cluster. The cluster name is optional and not validated.
pgd-config.yml, is located in the
/etc/edb directory, by default. The PGD CLI searches for
pgd-config.yml in the following locations (precedence order - higher to lower):
If you rename the file or move it to another location, specify the new name and location using the optional
--config-file flag when entering a command. See the sample use case.
- On this page
- Installing manually