Can't connect two nodes in elastic 2.0 local wifi


(Dario) #1

Hi there, I am new to elastic search but I am really exited and looking forward to use it to make cool things. Unfortunately so far I have been struggling a bit, I hope I can get some help to get started.
I have just installed elastic 2.0.0 on two laptops. Mac and ubuntu.
In the elastic config file I have set up the following:
-cluster name
-node name
-discovery.zen.ping.unicast.hosts with each other ip address

But it seems that they don't join the same cluster. They each individually create their own cluster locally. If I use kibana/sense GET _nodes/stats, each laptop has his own one node cluster.
I tried to set as well
network.host: with the LAN ip address, but if I do so, Kibana is not able to connect to the elastic server, even if I change in the kibana config file the address from 127.0.0.1 to the LAN ip.
Please help.
Thank you.


(Dario) #2

[SOLVED]
The clusters are actually joining with the option network.host.
Kibana was not able to connect because I had to set up a further option "elastic search.url"
Sorry for the spam. Hop this will help other people.
Thanks


(system) #3