Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.45 KB

File metadata and controls

25 lines (22 loc) · 1.45 KB

pgEdge nodectl spock

Logical and Multi-Active PostgreSQL node configuration

Synopsis

./nodectl spock <command> [parameters] [options] 

install - Install PG and configure with SPOCK extension
validate - Check pre-req's for advanced commands
tune - Tune for this configuration
node-create - Name this spock node
repset-create - Define a replication set
sub-create - Create a subscription
repset-add-table - Add table to replication set
sub-add-respset - Add replication set to subscription
sub-show-status - Display status of subcription
sub-show-table - Display subscription table(s)
sub-wait-for-sync - Pause until subscription synched
health-check - Check if PG is accepting connections
metrics-check - Retrieve advanced DB & OS metrics

Options

--json             # Turn on JSON output
--debug            # Turn on debug logging
--silent           # Less noisy
--verbose or -v    # More noisy