# Zone/Node/Index Allocation

**URL:** <https://discuss.elastic.co/t/zone-node-index-allocation/13692>\
**Category:** Elasticsearch\
**Created:** [September 19, 2013, 4:36pm UTC](https://discuss.elastic.co/t/zone-node-index-allocation/13692 "2013-09-19T16:36:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Koblas](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@David\_Koblas](https://discuss.elastic.co/u/David_Koblas)\
**Post date:** [September 19, 2013, 4:36pm UTC](https://discuss.elastic.co/t/zone-node-index-allocation/13692/1 "2013-09-19T16:36:40Z")

</div>

I've got a fairly large document set (~1B) and want to organize things in a  
performant fashion with enough replication to make me happy.

The general configuration:  
3 indexes  
50 shards  
X nodes - all AWS

What I would like to do is configure this using the cluster zone/nodes in  
such a way that I can have:

N - persistent nodes - contain the whole collection of docs (fewer  
nodes, slower, more storage)  
M - query nodes - insure that only one replica is on each of these nodes

I'm pretty sure that this is do-able with the zones/nodes but didn't quite  
figure it out.

Is the following correct:

Set :  
node.rack\_id : persist  
node.group: persist  
and/or  
node.rack\_id : query  
node.group: query

Then set:  
/\_settings  
index.routing.allocation.include.group1 : persist  
index.routing.allocation.include.group1 : query  
cluster.routing.allocation.awareness.attributes : rack\_id

Does the above work, before I try it?

If there is anything else in terms of advice that would be useful?

Thanks,  
David

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:15am UTC](https://discuss.elastic.co/t/zone-node-index-allocation/13692/2 "2017-07-06T02:15:29Z")

</div>

Closed on July 6, 2017, 2:15am UTC


