Howdy,
I'm new to elasticsearch, and I've tried to look up FAQs and things but no luck so far, so.... here goes.
We have a 3+10 cluster I get to inherit administration of.
3 master nodes, 10 data.
I need to add some new, higher disk capacity nodes into the cluster. and then eventually cycle through all the old nodes, upgrading disks for each of them.
its a production cluster, so.... yeah :-/
I notice that Every single node currently has an elasticsearch.yml file. They are practically identical across all nodes. Each define
gateway:
expected_nodes: 10
So.. when I want to add nodes, do I need to go change the file on every single node, and make sure it has the correct value?
secondly.. every single yml config file has
discovery:
zen:
minimum_master_nodes: 2
ping:
unicast:
hosts:
- host01
- host02
...
Since this is unicast, not multicast.. does this mean that, again, I have to go to every single host and change the file to identify new hosts that I want to add to the cluster?
I'm confused, because all the web search I do about "how to add a node to elasticsearch cluster" just say to create the config on the new node, start the new node, and it just AutoMagically happens. There's no mention of having to go edit files on any of the existing nodes.
but if so, what are the values in the elasticsearch.yml
file for???