# How To SetUp Distributed System With ES

**URL:** <https://discuss.elastic.co/t/how-to-setup-distributed-system-with-es/9040>\
**Category:** Elasticsearch\
**Created:** [September 17, 2012, 7:27am UTC](https://discuss.elastic.co/t/how-to-setup-distributed-system-with-es/9040 "2012-09-17T07:27:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [September 17, 2012, 7:27am UTC](https://discuss.elastic.co/t/how-to-setup-distributed-system-with-es/9040/1 "2012-09-17T07:27:29Z")

</div>

Hi,

I have test & running ES basically.  
Now I want to know how to setup it distributed, I try to google but don't  
find any article about this.  
So I post here my question.

1. Currently, I setup 2 node for testing.  
Node #1 & Node#2, two are enable to hold data & be Master.

Is it true ? Or Java API client **_ALWAYS_** use the IP#1:Port#1 ? And  
only use IP#2:Port#2 when IP#1:Port#1 die ? (Backup server)

1. I read the config and find this document:

2. You want this node to never become a master node, only to hold data.

# This will be the "workhorse" of your cluster.

# 

# 2. You want this node to only serve as a master: to not store any data and

# to have free resources. This will be the "coordinator" of your cluster.

# 

# 

# 3. You want this node to be neither master nor data node, but

# to act as a "search load balancer" (fetching data from nodes,

# aggregating results, etc.)

I think it is useful for me to setup a distributed system but I am  
confused about search load balancer.  
What does it mean & its role in cluster topology ?

At this time, I would setup a cluster topology like this:

- 3 Computer as WorkHose. (let say ES#1,ES#2,ES#3)
- 1 Computer as Coordinator. (let say ES#0)

I have a Web & Thrift server to communicate with ES#0 (for Indexing &  
Searching purpose).

Is it fine enough ?

Thank and Best Regards.

Sang Dang.

--

---

<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 6, 2017, 3:12am UTC](https://discuss.elastic.co/t/how-to-setup-distributed-system-with-es/9040/2 "2017-07-06T03:12:37Z")

</div>

Closed on July 6, 2017, 3:12am UTC


