show-proxies#

Shows all proxies in the EDB Postgres Distributed cluster and their summary.

Synopsis#

Shows all proxies in the EDB Postgres Distributed cluster and their summary.

We recommend giving all the proxies attached to the same group the same proxy option values.

pgd show-proxies [flags]

Examples#

Example 1 (multi-group cluster, with 2 proxies attached to each data group)

$ pgd show-proxies

Proxy    Group   Listen Addresses Listen Port
-----    -----   ---------------- -----------
proxy-a1 group_a [0.0.0.0]        6432
proxy-a2 group_a [0.0.0.0]        6432
proxy-b1 group_b [0.0.0.0]        6432
proxy-b2 group_b [0.0.0.0]        6432

Options#

-h, --help   help for show-proxies

Options inherited from parent commands#

-f, --config-file string   config file; ignored if
                           --dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
    --dsn string           database connection string
                           e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
-L, --log-level string     logging level: debug, info, warn, error (default "error")
-o, --output string        output format: json, yaml