Cluster with Different Node Sizes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cluster with Different Node Sizes

Ji ZHANG
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3bdccd1c-b18d-41b2-bc70-78a6d9aed51d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cluster with Different Node Sizes

Nikolas Everett


On Tue, Apr 28, 2015 at 12:43 PM, Ji ZHANG <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd33Vmp_jvQVrzGNeqcqYJ%2BWaFeQEy%2Br5RVCxsRECZMwqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.