Hi
I have two nodes(xnode1, xnode2) cluster on elasticsearch 7.13. I made cluster succesfully, it showing 2 nodes in cluster.
For testing i stop xnode2, it showing 1 node cluster. but when stop xnode1 , then try curl with xnode2 it showing : master_not_discovered_exception.
When i stooping 2nd node xnode2 getting
[2021-06-15T07:10:31,830][WARN ][o.e.c.c.ClusterFormationFailureHelper] [xnode1] master not discovered or elected yet, an election requires a node with id [D4NWZ2baTf2hdUF6VgZ65A], have discovered [{xnode2}{Q8_O0deGQomb2mGM5KN4Ew}{3cAb9kpeS1SpCGOlN17MFQ}{192.168.10.2}{192.168.10.2:9300}{cdfhilmrstw}] which is not a quorum; discovery will continue using [192.168.10.1:9300] from hosts providers and [{vodaxsimnode1}{D4NWZ2baTf2hdUF6VgZ65A}{JdGeacDuT6Cvcl0poLgDJQ}{192.168.10.1}{192.168.10.1:9300}{cdfhilmrstw}, {xnode2}{Q8_O0deGQomb2mGM5KN4Ew}{3cAb9kpeS1SpCGOlN17MFQ}{192.168.10.22}{192.168.10.2:9300}{cdfhilmrstw}] from last-known cluster state; node term 3, last-accepted version 49 in term 3
Please help me, i want make cluster with two nodes. Thanks
Configuration on xnode1 :
cluster.name: mucluster
node.name: xnode1
#network.host: 0.0.0.0
network.host: 192.168.10.1
http.port: 8207
discovery.seed_hosts : ["192.168.10.1","192.168.10.2"]
cluster.initial_master_nodes: ["192.168.10.1","192.168.10.2"]
#cluster.initial_master_nodes: ["xnode1","xnode2"]
Configuration on xnode2 :
cluster.name: mucluster
node.name: xnode2
#network.host: 0.0.0.0
network.host: 192.168.10.2
http.port: 8207
discovery.seed_hosts : ["192.168.10.1","192.168.10.2"]
cluster.initial_master_nodes: ["192.168.10.1","192.168.10.2"]
#cluster.initial_master_nodes: ["xnode1","xnode2"]