What is the meaning of "IN THE SAME NETWORK" in Elasticsearch clustering? What is the meaning of "IN THE SAME NETWORK" in Elasticsearch clustering? elasticsearch elasticsearch

What is the meaning of "IN THE SAME NETWORK" in Elasticsearch clustering?


I am not a networking guy, but I believe they mean as long as they can see each other on a private network. Each node in a cluster wants to communicate internally with the other nodes on port 9300 by default.

So if you have one node on 10.20.10.5 (as an example) and one on 10.20.10.6, they should be able to "see" each other.

Also you can explicitly set the nodes in the cluster in the config file for Elastic.

For example in my elasticsearch.yml, I have something like this under the ### DISCOVERY ### section:

discovery.zen.ping.unicast.hosts: ["elastic-p1.domain.net:9300", "elastic-p2.domain.net:9300"]