Hi, I took the Elasticsearch Engineer 1 training this summer (ES 6.x), then completed the Engineer 2 training (ES 7.x)
Since I learned this the config settings no longer use :
discovery.zen.ping.unicast.hosts: ["server1", "server2", "server3"]
discovery.zen.minimum_master_nodes: 2
and instead use
discovery.seed_hosts: ["server1", "server2", "server3"]
cluster.initial_master_nodes: ["server1"]
Possible to get a simple example of how servers could join a 3 node cluster in ES 7.x ?
Is the following correct?
First time a "server1" joins a 3 node cluster (server1-3), add this to elasticsearch.yml
discovery.seed_hosts: ["server1", "server2", "server3"]
cluster.initial_master_nodes: ["server1"]
Then stop server1, delete this line, then restart
cluster.initial_master_nodes: ["server1"]
Repeat for server2 and server 3, ie first time server2 joins:
discovery.seed_hosts: ["server1", "server2", "server3"]
cluster.initial_master_nodes: ["server2"]
I have been referring to https://www.elastic.co/guide/en/elasticsearch/reference/7.2/discovery-settings.html however would be grateful for a simple example.