Currently, we have to setup our Cassandra clusters to support two data centers. we have a rough idea that the database clusters can be setup as the following picture.
According to this picture.
Suppose that we have 6 database nodes.
Regarding the bottom one,
1.3 nodes in data center 1.
2.3 nodes in data center 2.
3.Create one cluster, which includes all the nodes.
4.When creating the key space, can use NetWorkToplogyStrategy and replication factor DC1:2, DC2:2 to implement the data replication across data centers.
Regrading the top one,
1.3 nodes in Cluster 1, data center 1.
2.3 nodes in Cluster 2, data center 2.
Now, I have the question, how to set up the replication mechanism between Cluster 1 and Cluster 2 or data center 1 and data cetner 2.
Thanks.