From de05f49830bace9ac14dfe1cfca95a7d4016ee79 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Wed, 12 Jan 2022 09:22:05 -0500 Subject: [PATCH] Update CLUSTER_MGMT.md [ci skip] --- DOC/CLUSTER_MGMT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOC/CLUSTER_MGMT.md b/DOC/CLUSTER_MGMT.md index eabb4b23..0aaef741 100644 --- a/DOC/CLUSTER_MGMT.md +++ b/DOC/CLUSTER_MGMT.md @@ -64,7 +64,7 @@ There is also a rqlite _Discovery Service_, allowing nodes to automatically conn On some networks, like AWS EC2 cloud, nodes may have an IP address that is not routable from outside the firewall. Instead these nodes are addressed using a different IP address. You can still form a rqlite cluster however -- check out [this tutorial](http://www.philipotoole.com/rqlite-v3-0-1-globally-replicating-sqlite/) for an example. The key thing is that you must set `-http-adv-addr` and `-raft-adv-addr` so a routable address is broadcast to other nodes. # Growing a cluster -You can grow a cluster, at anytime, simply by starting up a new node (pick a never before used node ID) and having it explicitly join with the leader as normal, or by passing it a discovery service ID. The new node will automatically pick up changes that have occurred on the cluster since the cluster first started. +You can grow a cluster, at anytime, simply by starting up a new node (pick a never before used node ID) and having it explicitly join with the leader as normal, or by passing it a discovery service ID. The new node will automatically pick up all changes that have occurred on the cluster since the cluster first started. In otherwords, after joining successfully, the new node will have a full copy of the SQLite database, just like every other node in the cluster. # Modifying a node's Raft network addresses It is possible to change a node's Raft address between restarts. Simply pass the new address on the command line. **You must also, however, explicitly tell the node to join the cluster again, by passing `-join` to the node**. In this case what the leader actually does is remove the previous record of the node, before adding a new record of the node. You can also change the HTTP API address of a node between restarts, but an explicit re-join is not required if just the HTTP API address changes.