Cannot Create A Cluster in Vmware ElasticSearch 5.6.5


(shwan@derepower.com) #1

Hello,
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:
GES1
cluster.name: G
node.name: GES1
network.host: 10.0.1.11
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.0.1.12", "10.0.1.11"]
GES2
cluster.name: G
node.name: GES2
network.host: 10.0.1.12
http.port: 9200
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


(David Pilato) #2

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.


(shwan@derepower.com) #3

[root@localhost elasticsearch]# telnet 10.0.1.12 9300
Trying 10.0.1.12...
telnet: connect to address 10.0.1.12: No route to host
[root@localhost elasticsearch]#


(David Pilato) #4

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.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.