I have a cluster of 4 nodes in a data center dc1
Rack1. Now I have to create data center dc2 into same cluster. Will I need to reconfigure whole cluster or is there any way?
Cassandra cluster configuration
cassandra
Related Question
- How to predict new node allocation in a Cassandra cluster
- Cassandra – Why Doesn’t nodetool Work on My Cluster?
- Cassandra – Cluster Storage Scalability
- Cassandra Multi-DC – Write on LOCAL and Read from Any DC
- Data replication in Cassandra
- Stopping N number of nodes of a Cassandra cluster running on a single machine using bash script
Best Answer
Before adding new datacenter in production environment, the first step should be to prevent the client from connecting to the new datacenter and to ensure reads or writes does not query the new datacenter unless it is completely ready to serve since it may result into latency and timeout errors.
These are few point should follow while adding a new datacenter.
After adding datacenter successfully. 1.alter Keyspace to set replication factor in new datacenter and mention the number of replica as well.