Replication in Dynomite
mforti opened this issue · comments
In our company, we will use dynomite in production, where we will have two data centers, each with 3 redis servers. Our initial configuration was made with 1 rack for redis server, with a token equal to 4294967295 in all dyn_seeds declared in both data centers( 3 racks/ 3 redis for dc). However, we noticed that data is not always being replicated on all servers. Could you give an example of configuration for our need?
My configuration is like this, from all nodes (6)
dyn_o_mite:
datacenter: sp
dyn_listen: 0.0.0.0:9101
dyn_seed_provider: simple_provider
dyn_seeds:
10.xx.106.xx:9101:rack-v1:rj:4294967295
10.xx.106.xx:9101:rack-v2:rj:4294967295
10.xx.106.xx:9101:rack-v3:rj:4294967295
10.xx.109.xx:9101:rack-v2:sp:4294967295
10.xx.109.xx:9101:rack-v3:sp:4294967295
listen: 0.0.0.0:9102
servers:
127.0.0.1:6379:1
timeout: 15000
tokens: '4294967295'
rack: rack-v1
env: network
data_store: 0
There are several exemplar YAML configurations in this folder.