the thing will figure out how to run...
Also, how would you get "initial state of the cluster" if the cluster... is
It's all kinda funny, but in a sad way.
Post by Jon HaddadWhy do you have to figure out whatâs up w/ them by accident? Youâve
gotten all the information you need. Seeds are used to get the initial
state of the cluster and as an optimization to spread gossip faster.
Thatâs it.
Well, I guess I have to figure out whatâs up with IPs/hostnames by experiment.
Information about service discovery is practically absent.
Not to mention all important details about fqdns/hostnames, automatic
replacing seed nodes or what not.
â
Roman
The in-tree docs do not mention this anywhere, and even have some of the
https://cassandra.apache.org/doc/latest/faq/index.html?
highlight=seed#what-are-seeds
The DataStax docs are maintained outside of the project, youâll have to
ask them why theyâre wrong or misleading.
Jon
The docs mention IP addresses everywhere.
http://docs.datastax.com/en/archived/cassandra/2.0/
cassandra/operations/ops_replace_seed_node.html
Promote an existing node to a seed node by adding its IP address to -seeds
list and remove (demote) the IP address of the dead seed node from the
cassandra.yaml file for each node in the cluster.
http://docs.datastax.com/en/archived/cassandra/2.0/
cassandra/operations/ops_replace_node_t.html
Note the Address of the dead node; it is used in step 5.
http://docs.datastax.com/en/cassandra/2.1/cassandra/
initialize/initializeSingleDS.html
num_tokens: recommended value: 256
-seeds: internal IP address of each seed node
I saw also *hostnames *mentioned few times, but it just makes it even
more confusing.
â
Roman
Sure, you could use DNS. Where does it say IP addresses are a requirement?
If I understand how Cassandra nodes work, they must contain a list of
seedâs IP addressed in config file.
This requirement makes cluster setup unnecessarily complicated. Is it
possible to use DNS name for seed nodes?
Thanks,
â
Roman
---------------------------------------------------------------------