# Shards get not distributed across the cluster

**URL:** <https://discuss.elastic.co/t/shards-get-not-distributed-across-the-cluster/23315>\
**Category:** Elasticsearch\
**Created:** [April 20, 2015, 6:20am UTC](https://discuss.elastic.co/t/shards-get-not-distributed-across-the-cluster/23315 "2015-04-20T06:20:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![german23](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/german23/32/11052_2.png) [@german23](https://discuss.elastic.co/u/german23)\
**Post date:** [April 20, 2015, 6:20am UTC](https://discuss.elastic.co/t/shards-get-not-distributed-across-the-cluster/23315/1 "2015-04-20T06:20:24Z")

</div>

Hey guys,

i am struggeling atm with the shard allocation in my ES cluster.

The problem is that i got the index [logstash-2015.04.13] that lays on the  
node "Storage1" with 12 shards. I want that the index get evenly  
distributed to the 2 other "Storage"-nodes, the node with the SSDs in it  
should be avoided for allocation

The settings of the index are:

settings for logstash-2015.04.13

{  
"index" : {  
"routing" : {  
"allocation" : {  
"include" : {  
"tag" : ""  
},  
"require" : {  
"tag" : ""  
},  
"exclude" : {  
"tag" : "SSD"  
},  
"total\_shards\_per\_node" : "4"  
}  
},

Unfortunately i get the following logs in ES:

[2015-04-20 08:01:55,070][DEBUG][cluster.routing.allocation] [SSD] [logstash-2015.04.13][4] allocated on [Node Info of Storage1], but can no longer be allocated on it, moving...  
[DEBUG][cluster.routing.allocation] [SSD] [logstash-2015.04.13][4] can't move

I disabled the disk-based shard allocation to make sure that this isnt the problem.

So is there a way i can see what denies the shard allocation to the other nodes? maybe a log of the Allocation-decider i can enable?

Thanks 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/1692d1d9-ceaa-4235-9334-0d3d1947de75%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1692d1d9-ceaa-4235-9334-0d3d1947de75%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:18am UTC](https://discuss.elastic.co/t/shards-get-not-distributed-across-the-cluster/23315/2 "2017-07-06T00:18:47Z")

</div>


