# 2-node cluster configuration

**URL:** <https://discuss.elastic.co/t/2-node-cluster-configuration/137802>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 2:36pm UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802 "2018-06-28T14:36:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 28, 2018, 2:36pm UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/1 "2018-06-28T14:36:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 29, 2018, 7:17am UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/2 "2018-06-29T07:17:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 29, 2018, 7:38am UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/3 "2018-06-29T07:38:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 29, 2018, 7:41am UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/4 "2018-06-29T07:41:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 29, 2018, 8:12am UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/5 "2018-06-29T08:12:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 27, 2018, 8:12am UTC](https://discuss.elastic.co/t/2-node-cluster-configuration/137802/6 "2018-07-27T08:12:37Z")

</div>

Closed on July 27, 2018, 8:12am UTC

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