CLUSTER Commands
Commands in the cluster module include:
| Command | Description |
|---|---|
| app-concurrent-index | Updates the Spock exception status for a specified cluster and node. |
| add-node | Adds a new node to a cluster, copying configuration details from a specified source node. |
| app-install | Install a test application (pgbench or Northwind). |
| app-remove | Remove a test application (pgbench or Northwind) from cluster. |
| command | Run a CLI command on one or all nodes of a cluster. |
| init | Install pgEdge Distributed Postgres on each node, create the initial database, install Spock,and create all Spock nodes and subscriptions. |
| json-create | Create a .json file template to define a cluster. |
| json-template | Create a .json file template to define a cluster that resides on remote hosts (deprecated). |
| json-validate | Check the validity of a .json file. |
| list-nodes | List all nodes in the cluster. |
| remove-node | Remove a node from the cluster. |
| remove | Remove a cluster. This will remove Spock subscriptions and nodes, and then stop Postgres on each node. If the flag force is set to true, then it will also remove the installation directory on each node. |
| replication-begin | Add all tables in the database to replication on every node. |
| replication-check | Print replication status about every node. |
| ssh | Opens an SSH terminal session into the specified node. |