2-node cluster configuration

I've 2 VM running under Hyper-V with Centos7, ES and Kibana - everything installed max. 2 days ago, so all is pretty new.
On both VM I've istalled ES to have multinode cluster. But still each node does not see another and the result is like that:
"nodes": { "total": 1,...
On nodes' list theres only 1 position on both machines - they report only themselves.
My configs are very similar and looks as follow:
cluster.name: clusname node.name: vm-differentname node.ingest: false http.port: 9200 transport.tcp.port: 9300 network.host: 127.0.0.1 transport.host: 172.23.80.171 discovery.zen.ping.unicast.hosts: ["172.23.80.171", "172.23.80.164"] discovery.zen.minimum_master_nodes: 2 xpack.security.enabled: false

In both logs there are infos that not sufficient number of master nodes found.

Could anyone help me with 2 nodes configurations?

Can you telnet to port 9300 from one VM to the other?

I cannot telnet on 9300 from host (win10 with Hyper-V) despite of I can ping both VMs

Then it sounds like you have a network problem. Any firewall rules preventing connectivity?

Thanks for hint - that was that & now I've 2-node cluster :smiley:
Configurations were OK - environment was too restrictive

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