# Cluster with Different Node Sizes

**URL:** <https://discuss.elastic.co/t/cluster-with-different-node-sizes/23443>\
**Category:** Elasticsearch\
**Created:** [April 28, 2015, 4:43pm UTC](https://discuss.elastic.co/t/cluster-with-different-node-sizes/23443 "2015-04-28T16:43:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ji\_ZHANG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ji_zhang/32/726_2.png) [@Ji\_ZHANG](https://discuss.elastic.co/u/Ji_ZHANG)\
**Post date:** [April 28, 2015, 4:43pm UTC](https://discuss.elastic.co/t/cluster-with-different-node-sizes/23443/1 "2015-04-28T16:43:10Z")

</div>

Hi,

I'm deploying ElasticSearch on a cluster with different node sizes, some  
have 32GB memory, and some have 16GB. I hope more shards will be allocated  
on nodes with bigger memory.

I googled a bit, there're some settings that can exclude some indices from  
some nodes. But it's not very convenient. So I'm wondering whether there's  
a 'weight' setting for individual node, or ES has already been allocating  
shards based on node memory size?

Thanks.

--  
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/3bdccd1c-b18d-41b2-bc70-78a6d9aed51d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3bdccd1c-b18d-41b2-bc70-78a6d9aed51d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [April 28, 2015, 4:57pm UTC](https://discuss.elastic.co/t/cluster-with-different-node-sizes/23443/2 "2015-04-28T16:57:07Z")

</div>

On Tue, Apr 28, 2015 at 12:43 PM, Ji ZHANG [zhangji87@gmail.com](mailto:zhangji87@gmail.com) wrote:

Hi,

> I'm deploying Elasticsearch on a cluster with different node sizes, some  
> have 32GB memory, and some have 16GB. I hope more shards will be allocated  
> on nodes with bigger memory.
> 
> I googled a bit, there're some settings that can exclude some indices from  
> some nodes. But it's not very convenient. So I'm wondering whether there's  
> a 'weight' setting for individual node, or ES has already been allocating  
> shards based on node memory size?
> 
> Thanks.

Nope. I asked for it a few years ago but its never been a high enough  
priority. We don't have weights on the indexes either.

Your best bet is to pin the any heavier shards to machine with more ram via  
a tag on all the machines. The shards will still be able to move between  
those nodes just fine.

Nik

--  
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/CAPmjWd33Vmp\_jvQVrzGNeqcqYJ%2BWaFeQEy%2Br5RVCxsRECZMwqQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd33Vmp_jvQVrzGNeqcqYJ%2BWaFeQEy%2Br5RVCxsRECZMwqQ%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, 12:17am UTC](https://discuss.elastic.co/t/cluster-with-different-node-sizes/23443/3 "2017-07-06T00:17:22Z")

</div>


