discovery.zen.ping.unicast.hosts: ["host1", "host2"], I connect two nodes of Elasticsearch, but I want that the nodes ("host1" and "host2") refuse a new node ("host3") if the node doesn't exist in their list (i.e. "host3" could not join to "host1" and "host2")
I don't want to use firewall. Is there any config that could help me?
I think that you need security feature for that (commercial license or trial license needed).
One way to prevent other nodes from joining could be to set a random/non-default cluster id. Only nodes with the same cluster id can form a cluster.
It would still easy without any auth available to call http://host1:9200 and look what the cluster name is though.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.