Logical and Multi-Active PostgreSQL Node Configuration Commands

Commands in the spock module include:

CommandDescription
tuneTune for this configuration
node-createDefine a node for spock
node-dropRemove a spock node
node-alter-locationSet location details for spock node
node-listDisplay node table
node-add-interfaceAdd a new node interafce
node-drop-interfaceDelete a node interface
repset-createDefine a replication set
repset-alterModify a replication set
repset-dropRemove a replication set
repset-add-tableAdd table(s) to replication set
repset-remove-tableRemove table from replication set
repset-add-seqAdd a sequence to a replication set
repset-remove-seqRemove a sequence from a replication set
repset-alter-seqChange a replication set sequence
repset-list-tablesList tables in replication sets
sub-createCreate a subscription
sub-dropDelete a subscription
sub-alter-interfaceModify an interface to a subscription
sub-enableMake a subscription live
sub-disablePut a subscription on hold and disconnect from provider
sub-add-repsetAdd a replication set to a subscription
sub-remove-repsetDrop a replication set from a subscription
sub-show-statusDisplay the status of the subcription
sub-show-tableShow subscription tables
sub-syncSynchronize a subscription
sub-resync-tableResynchronize a table
sub-wait-for-syncPause until the subscription is synchronized
table-wait-for-syncPause until a table finishes synchronizing
health-checkCheck if PG instance is accepting connections
metrics-checkRetrieve advanced DB & OS metrics
set-readonlyTurn PG read-only mode 'on' or 'off'