# How can we assign roles for elasticsearch cluster?

**URL:** <https://discuss.elastic.co/t/how-can-we-assign-roles-for-elasticsearch-cluster/17797>\
**Category:** Elasticsearch\
**Created:** [May 29, 2014, 6:38am UTC](https://discuss.elastic.co/t/how-can-we-assign-roles-for-elasticsearch-cluster/17797 "2014-05-29T06:38:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron\_ding0127](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@aaron\_ding0127](https://discuss.elastic.co/u/aaron_ding0127)\
**Post date:** [May 29, 2014, 6:38am UTC](https://discuss.elastic.co/t/how-can-we-assign-roles-for-elasticsearch-cluster/17797/1 "2014-05-29T06:38:44Z")

</div>

Hi, all.

```
as we know that , in a elasticsearch cluster, different configurations 

```

have different effects.

```
like that:
node.master: true and node:data: false ==> it will be a 

```

"coordinator"  
node.master: false and node.data: true ==\> it will be a  
"workhorse", just to store data.  
node.master: false and node.data:false ==\> it act as a "search  
load balancer"

```
if we have a elasticsearch cluster contains 10 node.
how can we assign roles for these 10 nodes?

```

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 29, 2014, 6:42am UTC](https://discuss.elastic.co/t/how-can-we-assign-roles-for-elasticsearch-cluster/17797/2 "2014-05-29T06:42:06Z")

</div>

We have a 25 node cluster, with 3 master only nodes that we use as search  
nodes, then the rest as data only.

But it depends on what your workload is.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 29 May 2014 16:38, [aaron.ding0127@gmail.com](mailto:aaron.ding0127@gmail.com) wrote:

> Hi, all.
> 
> ```
> as we know that , in a elasticsearch cluster, different configurations
> 
> ```
> 
> have different effects.
> 
> ```
> like that:
> node.master: true and node:data: false ==> it will be a
> 
> ```
> 
> "coordinator"  
> node.master: false and node.data: true ==\> it will be a  
> "workhorse", just to store data.  
> node.master: false and node.data:false ==\> it act as a "search  
> load balancer"
> 
> ```
> if we have a elasticsearch cluster contains 10 node.
> how can we assign roles for these 10 nodes?
> 
> ```
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c17ced40-bba0-40d8-94c2-22b84eaac900%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624Ztzkc2UwVDB%2BKyO0YoOR8jxfoGTc%3DSk\_ygPEV%2BXO6p5A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Ztzkc2UwVDB%2BKyO0YoOR8jxfoGTc%3DSk_ygPEV%2BXO6p5A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:26am UTC](https://discuss.elastic.co/t/how-can-we-assign-roles-for-elasticsearch-cluster/17797/3 "2017-07-06T01:26:12Z")

</div>


