Im trying to Create a Cluster between some virtual Machines inside Vmware. Elasticsaerch is running on both machines and i have changes the config files as but still no success. here are my config files:
discovery.zen.ping.unicast.hosts: ["10.0.1.12", "10.0.1.11"]
discovery.zen.ping.unicast.hosts: ["10.0.1.11", "10.0.1.12"]
i checked the logs files and they can't discover each other
I also disables firewall on both machines
P.S Both machines can ping each other
Could you share the logs? Nothing looks wrong.
Make sure port 9300 is opened, like try to telnet on port 9300 from one machine to another.
[root@localhost elasticsearch]# telnet 10.0.1.12 9300
telnet: connect to address 10.0.1.12: No route to host
So you need to fix that.
This is outside the scope of elasticsearch.
But I believe that your VMs must expose public IPs somewhat. And that you should use those.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.