my nodes can’t see each other on my Elasticsearch cluster on vm azure
`{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}[root@vm-agent-002
~]`
my nodes can’t see each other on my Elasticsearch cluster on vm azure
`{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}[root@vm-agent-002
~]`
cluster.initial_master_nodes must be node.name 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 127.0.0.1, 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"]
Both of them should be master
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.