pgd node show v5.7.0
Warning: You are not reading the most recent version of this documentation.
Documentation improvements are made only to the latest version.
As per semantic versioning, PGD minor releases remain backward compatible and may include important bug fixes and enhancements.
We recommend upgrading the latest minor release as soon as possible.
If you want up-to-date information, read the latest PGD documentation.
Documentation improvements are made only to the latest version.
As per semantic versioning, PGD minor releases remain backward compatible and may include important bug fixes and enhancements.
We recommend upgrading the latest minor release as soon as possible.
If you want up-to-date information, read the latest PGD documentation.
Synopsis
The pgd node show
command is used to display node-level information in the EDB Postgres Distributed cluster.
Syntax
pgd node <NODE_NAME> show [OPTIONS]
Where <NODE_NAME>
is the name of the node for which you want to display information.
Options
No command specific options. See Global Options.
Examples
Show node information
pgd node kaboom show
Output
# Summary Node Property Value --------------- ------------ Node Name kaboom Group Name dc1_subgroup Node Kind data Join State ACTIVE Node Status Up Node ID 2710197610 Snowflake SeqID 2 Database bdrdb # Options Option Name Option Value -------------- ------------------------------------------------- route_dsn host=kaboom port=5444 dbname=bdrdb user=pgdproxy route_fence false route_priority 100 route_reads true route_writes true
Show node information as JSON
pgd node kaboom show -o json
Output
[ { "Summary": [ { "info": "Node Name", "value": "kaboom" }, { "info": "Group Name", "value": "dc1_subgroup" }, { "info": "Node Kind", "value": "data" }, { "info": "Join State", "value": "ACTIVE" }, { "info": "Node Status", "value": "Up" }, { "info": "Node ID", "value": "2710197610" }, { "info": "Snowflake SeqID", "value": "2" }, { "info": "Database", "value": "bdrdb" } ] }, { "Options": [ { "option_name": "route_dsn", "option_value": "host=kaboom port=5444 dbname=bdrdb user=pgdproxy " }, { "option_name": "route_fence", "option_value": "false" }, { "option_name": "route_priority", "option_value": "100" }, { "option_name": "route_reads", "option_value": "true" }, { "option_name": "route_writes", "option_value": "true" } ] } ]