Cluster Installation and Configuration Commands
Commands in the cluster
module include:
Command | Description |
---|---|
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 pgedge command on one or all nodes of a cluster. |
init | Install pgEdge on each node, create the initial database, install Spock,and create all Spock nodes and subscriptions. |
json-template | Create a .json file template to define a cluster that resides on remote hosts. |
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 PostgreSQL on each node. If the flag force is set to true , then it will also remove the pgedge 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. |