pgd node set-option v5
Synopsis
The pgd node set-option
command is used to set node-level options in the EDB Postgres Distributed cluster.
Syntax
pgd node <NODENAME> set-option [OPTIONS] <OPTION> <VALUE>
Where <NODENAME>
is the name of the node for which you want to get options.
And <OPTION>
is the name of a specific node option you want to get and <VALUE>
is the value you want it set to.
The following options are available:
Node Options
Option | Description |
---|---|
route_priority | Priority assigned to the node. |
route_fence | Set to fence the node |
route_writes | Set to allow node to route writes. |
route_reads | Set to allow node to route reads. |
route_dsn | DSN for connections to this node |
Options
No command specific options. See Global Options.
Examples
pgd node node-one set-option route_priority 100
Output
Status Message ------ ----------------------------- OK Command executed successfully