Adding single-token nodes to a cluster
Steps for adding nodes in single-token architecture clusters, not clusters using virtual nodes.
Steps for adding nodes in single-token architecture clusters, not clusters using Virtual nodes.
- Add capacity by doubling the cluster size: Adding capacity by doubling (or tripling or quadrupling) the number of nodes is less complicated when assigning tokens. Using this method, existing nodes keep their existing token assignments, and the new nodes are assigned tokens that bisect (or trisect) the existing token ranges.
- Add capacity for a non-uniform number of nodes: When increasing capacity with this method, you must recalculate tokens for the entire cluster, and assign the new tokens to the existing nodes.
cassandra-rackdc.properties
- The cassandra-rackdc.properties file is located in the installation_location/conf directory.
cassandra.yaml
- The cassandra.yaml file is located in the installation_location/conf directory.
cassandra-topology.properties
- The cassandra-topology.properties file is located in the installation_location/conf directory.
Procedure
The following operations are resource intensive and should be done during low-usage times.