pgd cluster show v5

Synopsis

The pgd cluster show command is used to display the cluster-level information in the EDB Postgres Distributed cluster.

Syntax

pgd cluster show [OPTIONS]

Options

The following table lists the options available for the pgd events show command:

ShortLongDescription
--clock-driftOnly show detailed clock drift information.
--summaryOnly show cluster summary information.
--healthOnly show cluster health information.

Only one of the above options can be specified at a time.

See also Global Options.

Examples

Display the cluster information

pgd cluster show
Output
# Summary
Group Name Parent Group Group Type      Node Name  Node Kind
---------- ------------ --------------- ---------- ---------------
pgd                     global
dc1        pgd          data            node-one   data
dc1        pgd          data            node-three data
dc1        pgd          data            node-two   data
sogroup1   pgd          subscriber-only sonode-one subscriber-only
sogroup1   pgd          subscriber-only sonode2    subscriber-only

# Health
Check             Status Message
----------------- ------ -----------------------------------------------
Connections       Ok     All BDR nodes are accessible
Raft              Ok     Raft Consensus is working correctly
Replication Slots Ok     All PGD replication slots are working correctly
Clock Skew        Ok     Clock drift is within permissible limit
Versions          Ok     All nodes are running the same PGD version

# Clock Drift
Reference Node Node Name  Clock Drift
-------------- ---------- -----------
node-one       node-two   *
node-one       node-three *
node-one       sonode-one *
node-one       sonode2    *