Hi Guys,
thanks for help after make changes, getting following error
[2020-07-27T14:49:52,424][WARN ][o.e.c.c.ClusterFormationFailureHelper] [v4Dev-Sandbox] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [v4Dev-Sandbox, ES-New] to bootstrap a cluster: have discovered [{v4Dev-Sandbox}{wt5MqhDuQ2i0w7Gqyinugg}{AgzGQPtKQbq5Ni9Q7-F5yQ}{172.31.3.110}{172.31.3.110:9300}{dilmrt}{ml.machine_memory=33342156800, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [172.31.6.58:9300] from hosts providers and [{v4Dev-Sandbox}{wt5MqhDuQ2i0w7Gqyinugg}{AgzGQPtKQbq5Ni9Q7-F5yQ}{172.31.3.110}{172.31.3.110:9300}{dilmrt}{ml.machine_memory=33342156800, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
Following is elasticsearch.yml
cluster.name: MySureFit-ES
node.name: ${HOSTNAME}
node.master: true
node.data: true
network.host: x.x.x.110
discovery.seed_hosts: ["x.x.x.110", "x.x.x.58"]
Output of the following curl -XGET 'http://x.x.x.110:9200'
{
"name" : "v4Dev-Sandbox",
"cluster_name" : "MySureFit-ES",
"cluster_uuid" : "_na_",
"version" : {
"number" : "7.8.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "757314695644ea9a1dc2fecd26d1a43856725e65",
"build_date" : "2020-06-14T19:35:50.234439Z",
"build_snapshot" : false,
"lucene_version" : "8.5.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Second server
cluster.name: MySureFit-ES
node.name: ${HOSTNAME}
node.master: false
node.data: true
network.host: x.x.x.58
discovery.seed_hosts: ["x.x.x.110", "x.x.x.58"]
Output of following command curl -XGET 'http://x.x.x.58:9200'
{
"name" : "ES-New",
"cluster_name" : "MySureFit-ES",
"cluster_uuid" : "_na_",
"version" : {
"number" : "7.8.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "757314695644ea9a1dc2fecd26d1a43856725e65",
"build_date" : "2020-06-14T19:35:50.234439Z",
"build_snapshot" : false,
"lucene_version" : "8.5.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Error from second server
[2020-07-27T14:51:22,933][WARN ][o.e.c.c.ClusterFormationFailureHelper] [ES-New] master not discovered yet: have discovered [{ES-New}{xvb57WoeTgml714sQsNvvg}{zYCMuLBtRa2pYNiNW2FwFQ}{172.31.6.58}{172.31.6.58:9300}{dilrt}{ml.machine_memory=8287748096, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}, {v4Dev-Sandbox}{wt5MqhDuQ2i0w7Gqyinugg}{AgzGQPtKQbq5Ni9Q7-F5yQ}{172.31.3.110}{172.31.3.110:9300}{dilmrt}{ml.machine_memory=33342156800, ml.max_open_jobs=20, xpack.installed=true, transform.node=true}]; discovery will continue using [172.31.3.110:9300] from hosts providers and [] from last-known cluster state; node term 0, last-accepted version 0 in term 0
What I did wrong ?