The seeds.list
contains a list of seed servers that Dynomite’s gossiper uses as the starting point to learn the cluster’s topology.
seeds.list
is used by the seed REST API server (florida.js
) when dyn_seed_provider
is set to florida_provider
in dynomite.yaml
.
seeds.list
is one of three possible ways that you may specify the list of seed servers.
The choices for seed providers are:
dynomite.yaml
or excludes the list of seed servers for a single-server cluster.seeds.list
and shares the list via a REST API.TXT
record.It is a best practice to use the same three seed servers on every node within a data center (DC).
The default location of seeds.list
is /etc/dynomitedb/seeds.list
.
The seeds.list
file lists one seed server per line. Each line has the following format:
<hostname-or-ip>:<dyn-port>:<rack>:<dc>:<node-token>
dynomite.yaml
via dyn_listen
.8101
and is set in dynomite.yaml
via dyn_listen
.dynomite.yaml
via rack
.dynomite.yaml
via datacenter
.dynomite.yaml
via tokens
.The following example shows three seed servers. The first seed server has the following values:
192.168.33.41:8101:rc1:dc1:2147483647
192.168.33.42:8101:rc2:dc1:0
192.168.33.43:8101:rc2:dc1:2147483647