I want an architecture with three dedicated master node and 4 dedicated data node with one Load balance node (all in one cluster). For this I configured the the first dedicated master node
node.data: false
When I did the same configuration for the next master node I am not able to telnet the node on port 9200 (I get a Connection refused error).
How can I create 3 dedicated master node in elasticsearch within cluster along with 4 dedicated data nodes?
I had even set the discovery.zen.minimum_master_nodes: 2
Still I am facing this issue?
Hard to tell from here, but maybe it is a binding problem? By default
elasticsearch binds to local host only. I'd you configure it to bind to a
non-local address then it'll just bind to that address. You can configure
it to bind to both the non-local address and local host by listing both as
a yaml array.
Then it should work fine. Just make sure to telnet to x.x.x.x instead of localhost. If you can't do it from the other machine then I expect a networking issue. You can use lsof to figure out if Elasticsearch has bound to the right port on that address.
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.