show-proxies v5

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 Addrs Listen Port Read Listen Addrs Read Listen Port
  -----    -----   ------------ ----------- ----------------- ----------------
  proxy-a1 group_a [0.0.0.0]    6432        [0.0.0.0]         6433
  proxy-a2 group_a [0.0.0.0]    6432        [0.0.0.0]         6433
  proxy-b1 group_b [0.0.0.0]    6432        [0.0.0.0]         6433
  proxy-b2 group_b [0.0.0.0]    6432        [0.0.0.0]         6433

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