Master not discovred ( multi-nodes cluster )

my nodes can’t see each other on my Elasticsearch cluster on vm azure


cluster.initial_master_nodes must be not IP
Also network.bind_host must be any if IP of the host so that each node can reach the other node using transport on 9300 port, the way you are using, nodes will not be joinable each other
Remove network.bind_host and set cluster.initial_master_nodes as follow
cluster.initial_master_nodes: ["vm-agent-001", "vm-agent-002"]

thanks for your reply but i have the same problem.

Both of them should be master

like this it work as 2 independent cluster

They are already independant clusters as they already got bootstraped,
Clean the data folder of each node and then restart both nodes again so they for a unique cluster

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.