I have an existing Cassandra cluster with the following setup:
Current seeds list in all nodes' yamls is "Node1, Node4"
I would like to add one more node from each datacenter to the seed list, i.e. I would like the seed list to be "Node1, Node2, Node4, Node5"
Is it just a matter of modifying the yaml file on each node to add the new seeds, then restarting each node? Or is there more to 'making' a node be a seed?
Contrary to popular belief, there really isn't anything special about the seed nodes. They are basically designated points of contact that each node uses to help learn the topology of the ring. For this reason, it is advisable to start the seed nodes first when starting-up the nodes in your cluster. But other than that, they function just like any other node and are not given preference to handle (query) requests.
Is it just a matter of modifying the yaml file on each node to add the new seeds
Yes, simply alter each cassandra.yaml
and restart each node.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With