# Advice On ES Prod configuration

**URL:** <https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837>\
**Category:** Elasticsearch\
**Created:** [March 23, 2015, 10:27pm UTC](https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837 "2015-03-23T22:27:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TB1](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@TB1](https://discuss.elastic.co/u/TB1)\
**Post date:** [March 23, 2015, 10:27pm UTC](https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837/1 "2015-03-23T22:27:08Z")

</div>

All,  
Need advice on ES prod configuration,Our use case is very straightforward  
and simple.  
Data is updated only once per week and mostly the data would be searched.  
We have 3 nodes and planning to configure them as follows.  
1 nodes with data true and master false, 2 nodes with data and master true.  
we have a web server acting as proxy on top of the 3 nodes, hence did not  
choose the node client route.  
also if i bulk insert data should i be inserting into data=true  
,master=false or the other 2 nodes  
is this a good idea?

Another question, in Test we were running 2 boxes with master and data  
true(default)  
we bulk inserted node 1 and dont see data replica in node2, why would that  
happen, i set the number\_replicas to 1 in the config.

Ty all in advance

--  
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/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%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:** [March 23, 2015, 11:58pm UTC](https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837/2 "2015-03-23T23:58:09Z")

</div>

You'd be better off setting them all as master and data true, it'll reduce  
the possibility for a split brain situation to occur.  
In that instance, and with your proxy, it doesn't really matter too much  
where you bulk index data.

Did you specify replicas when you created the index? If you didn't then it  
should replicate based on your setting.

On 24 March 2015 at 09:27, TB [txindfun@gmail.com](mailto:txindfun@gmail.com) wrote:

> All,  
> Need advice on ES prod configuration,Our use case is very straightforward  
> and simple.  
> Data is updated only once per week and mostly the data would be searched.  
> We have 3 nodes and planning to configure them as follows.  
> 1 nodes with data true and master false, 2 nodes with data and master true.  
> we have a web server acting as proxy on top of the 3 nodes, hence did not  
> choose the node client route.  
> also if i bulk insert data should i be inserting into data=true  
> ,master=false or the other 2 nodes  
> is this a good idea?
> 
> Another question, in Test we were running 2 boxes with master and data  
> true(default)  
> we bulk inserted node 1 and dont see data replica in node2, why would that  
> happen, i set the number\_replicas to 1 in the config.
> 
> Ty all in advance
> 
> --  
> 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/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%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/CAEYi1X8n-DiiZQsdhSVv9PedCtCsfiEvWMkHN%3DRBArPpV0q\_dQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8n-DiiZQsdhSVv9PedCtCsfiEvWMkHN%3DRBArPpV0q_dQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![TB1](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@TB1](https://discuss.elastic.co/u/TB1)\
**Post date:** [March 24, 2015, 5:29am UTC](https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837/3 "2015-03-24T05:29:09Z")

</div>

Thank you, as i finished the post and was reading documentation, it made  
sense to make all of them master and data as true.  
i haven't specifically mentioned replica when i bulk index, if i specify  
what would be the syntax, so that i can go back and double check.

On Monday, March 23, 2015 at 6:58:38 PM UTC-5, Mark Walkom wrote:

> You'd be better off setting them all as master and data true, it'll reduce  
> the possibility for a split brain situation to occur.  
> In that instance, and with your proxy, it doesn't really matter too much  
> where you bulk index data.
> 
> Did you specify replicas when you created the index? If you didn't then it  
> should replicate based on your setting.
> 
> On 24 March 2015 at 09:27, TB \<[txin...@gmail.com](mailto:txin...@gmail.com) \<javascript:\>\> wrote:
> 
> > All,  
> > Need advice on ES prod configuration,Our use case is very straightforward  
> > and simple.  
> > Data is updated only once per week and mostly the data would be searched.  
> > We have 3 nodes and planning to configure them as follows.  
> > 1 nodes with data true and master false, 2 nodes with data and master  
> > true.  
> > we have a web server acting as proxy on top of the 3 nodes, hence did not  
> > choose the node client route.  
> > also if i bulk insert data should i be inserting into data=true  
> > ,master=false or the other 2 nodes  
> > is this a good idea?
> > 
> > Another question, in Test we were running 2 boxes with master and data  
> > true(default)  
> > we bulk inserted node 1 and dont see data replica in node2, why would  
> > that happen, i set the number\_replicas to 1 in the config.
> > 
> > Ty all in advance
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cbd00ab6-f406-4ab8-b8a8-470b7d7d73bd%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/e944b2ba-1bc4-4f98-a64d-9e1e69c4c6d0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e944b2ba-1bc4-4f98-a64d-9e1e69c4c6d0%40googlegroups.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, 12:24am UTC](https://discuss.elastic.co/t/advice-on-es-prod-configuration/22837/4 "2017-07-06T00:24:36Z")

</div>


