1 cluster on 2 datacenters?

I have 2 datacenters where I'm trying to distribute 3 master nodes. 2 in one center and 1 in another? Would this be considered 2 clusters? And if so should I have 3 nodes per datacenter to prevent split brain?

Thanks!

We don't recommend this sort of deployment because it's difficult to manage.
If you get network timeouts then things start rebalancing, plus you need to figure out which datacentre you want to basically consider unavailable when you have a network split.

So, having 2 datacenters but with there own 3 master nodes, 2 nodes with 4 shards and one client node on each datacenter cluster be a better option with respect to network management? Considering the primary shards and replicas shards will not be on the same datacenter.

Having two separate clusters is best.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.