# 4 ES nodes on single Server, who does what and whom to connect?

**URL:** <https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968>\
**Category:** Elasticsearch\
**Created:** [May 24, 2017, 12:14pm UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968 "2017-05-24T12:14:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasan\_sharekhan](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hasan\_sharekhan](https://discuss.elastic.co/u/hasan_sharekhan)\
**Post date:** [May 24, 2017, 12:14pm UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968/1 "2017-05-24T12:14:04Z")

</div>

I have created 4 nodes of Elasticsearch on single server by using these properties

node\_0 (Master Node)

> node.master: true  
> node.data: false  
> node.ingest: false

node\_1 (Data Node)

> node.master: false  
> node.data: true  
> node.ingest: false

node\_2 (Ingest Node)

> node.master: false  
> node.data: false  
> node.ingest: true

node\_3 (Coordinating Node)

> node.master: false  
> node.data: false  
> node.ingest: false

My queries are

1. To which node I connect from  
a) Kibana  
b) Logstash / Beats  
c) From Browser or ElasticHQ (admin/monitoring tool)

2. and how can I combine master node and coordinating node

3. If Kibana can connect to only 1 ES node then what if 1 node gets down and other nodes are up running fine.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 24, 2017, 12:32pm UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968/2 "2017-05-24T12:32:53Z")

</div>

I believe you are only doing that for tests, right?

Your settings are correct.

1. a. node\_3  
b. node\_3  
c. node\_3

2. node\_0 can actually play that role. So you don't need node\_3 in that case.

3. Kibana won't display anything anymore.

---

<div class="post-metadata">

**Author:** ![hasan\_sharekhan](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hasan\_sharekhan](https://discuss.elastic.co/u/hasan_sharekhan)\
**Post date:** [May 25, 2017, 5:09am UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968/3 "2017-05-25T05:09:48Z")

</div>

Thanks for your reply, I am planning this architecture for production setup and wanted to avoid downtime and split-brain/data loss situations.

What I understood from reply no. 2 is if node\_0 is created as a master node then node\_3 is not requiredand the answer for point no. 1 a,b,c will change to node\_0? correct?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 25, 2017, 6:49am UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968/4 "2017-05-25T06:49:12Z")

</div>

But you are planning this architecture on multiple physical machines right?

If you have only 4 nodes, then keep data and master on all nodes. You can if needed use the 4th node to be ingest (if you are using ingest pipelines - ingest name might be confusing I know) and no data, no master. A coordinating node that is.

---

<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:** [June 22, 2017, 6:49am UTC](https://discuss.elastic.co/t/4-es-nodes-on-single-server-who-does-what-and-whom-to-connect/86968/5 "2017-06-22T06:49:37Z")

</div>

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