# I'm trying to setup a cluster with 2 nodes. one master node and other data node

**URL:** <https://discuss.elastic.co/t/im-trying-to-setup-a-cluster-with-2-nodes-one-master-node-and-other-data-node/133870>\
**Category:** Elasticsearch\
**Created:** [May 30, 2018, 12:10pm UTC](https://discuss.elastic.co/t/im-trying-to-setup-a-cluster-with-2-nodes-one-master-node-and-other-data-node/133870 "2018-05-30T12:10:55Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![komal\_mittal](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@komal\_mittal](https://discuss.elastic.co/u/komal_mittal)\
**Post date:** [June 4, 2018, 11:14am UTC](https://discuss.elastic.co/t/im-trying-to-setup-a-cluster-with-2-nodes-one-master-node-and-other-data-node/133870/21 "2018-06-04T11:14:53Z")

</div>

elasticsearch on both nodes are running but in kibana when I run "GET \_cluster/health" command and it shows "number of nodes:1"

---

<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 2, 2018, 11:15am UTC](https://discuss.elastic.co/t/im-trying-to-setup-a-cluster-with-2-nodes-one-master-node-and-other-data-node/133870/22 "2018-07-02T11:15:05Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/im-trying-to-setup-a-cluster-with-2-nodes-one-master-node-and-other-data-node/133870.md?page=1)
