# Unassigned\_shards problam

**URL:** <https://discuss.elastic.co/t/unassigned-shards-problam/14544>\
**Category:** Elasticsearch\
**Created:** [November 22, 2013, 12:35pm UTC](https://discuss.elastic.co/t/unassigned-shards-problam/14544 "2013-11-22T12:35:05Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [November 27, 2013, 1:08pm UTC](https://discuss.elastic.co/t/unassigned-shards-problam/14544/21 "2013-11-27T13:08:19Z")

</div>

Can you try this:

cluster.name: SCluster  
node.name: "SCNode1Master"  
node.master: true  
index.number\_of\_shards: 8

index.number\_of\_replicas: 2  
path.logs: /var/log/elasticsearch

cloud.aws.access\_key: XXXXXX  
cloud.aws.secret\_key: XXXXXXXXX

discovery.type: ec2  
discovery.ec2.groups: GROUP\_NAME  
discovery.ec2.cloud.node.auto\_attributes: true

On Wed, Nov 27, 2013 at 11:12 AM, Daniel Rasta [danielrastaziv@gmail.com](mailto:danielrastaziv@gmail.com)wrote:

> Well.. My index has 8 shards and 2 replicas.
> 
> And the config looks like that:
> 
> cluster.name[http://www.google.com/url?q=http%3A%2F%2Fcluster.name&sa=D&sntz=1&usg=AFQjCNGbdss-\_rGgAY2He8KM6ZUy2TdG8g](http://www.google.com/url?q=http%3A%2F%2Fcluster.name&sa=D&sntz=1&usg=AFQjCNGbdss-_rGgAY2He8KM6ZUy2TdG8g):
> 
> > > > > > > > > > > SCluster  
> > > > > > > > > > > node.name[http://www.google.com/url?q=http%3A%2F%2Fnode.name&sa=D&sntz=1&usg=AFQjCNE8Cff\_rbggu0\_UXL6VsgDVF5NFCg](http://www.google.com/url?q=http%3A%2F%2Fnode.name&sa=D&sntz=1&usg=AFQjCNE8Cff_rbggu0_UXL6VsgDVF5NFCg):  
> > > > > > > > > > > "SCNode1Master"
> > > > > > > > > > > 
> > > > > > > > > > > node.master: true  
> > > > > > > > > > > index.number\_of\_shards: 8
> > > > > > > > > > > 
> > > > > > > > > > > index.number\_of\_replicas: 2  
> > > > > > > > > > > path:  
> > > > > > > > > > > logs: /var/log/elasticsearch
> > > > > > > > > > > 
> > > > > > > > > > > cloud:  
> > > > > > > > > > > aws:  
> > > > > > > > > > > access\_key: XXXXXX  
> > > > > > > > > > > secret\_key: XXXXXXXXX  
> > > > > > > > > > > discovery:  
> > > > > > > > > > > type: ec2  
> > > > > > > > > > > ec2:  
> > > > > > > > > > > groups: GROUP\_NAME
> > > > > > > > > > > 
> > > > > > > > > > > cloud.node.auto\_attributes: true
> 
> 10X!
> 
> Sent from my iPhone.  
> דניאל  
> 0546350772  
> [http://il.linkedin.com/in/danielziv](http://il.linkedin.com/in/danielziv)
> 
> On 27 בנוב 2013, at 10:02, Boaz Leskes [b.leskes@gmail.com](mailto:b.leskes@gmail.com) wrote:
> 
> cluster.name[http://www.google.com/url?q=http%3A%2F%2Fcluster.name&sa=D&sntz=1&usg=AFQjCNGbdss-\_rGgAY2He8KM6ZUy2TdG8g](http://www.google.com/url?q=http%3A%2F%2Fcluster.name&sa=D&sntz=1&usg=AFQjCNGbdss-_rGgAY2He8KM6ZUy2TdG8g):  
> SCluster  
> node.name[http://www.google.com/url?q=http%3A%2F%2Fnode.name&sa=D&sntz=1&usg=AFQjCNE8Cff\_rbggu0\_UXL6VsgDVF5NFCg](http://www.google.com/url?q=http%3A%2F%2Fnode.name&sa=D&sntz=1&usg=AFQjCNE8Cff_rbggu0_UXL6VsgDVF5NFCg):  
> "SCNode1Master"
> 
> node.master: true  
> index.number\_of\_shards: 8
> 
> index.number\_of\_replicas: 2  
> path:  
> logs: /var/log/elasticsearch
> 
> cloud:  
> aws:  
> access\_key: XXXXXX  
> secret\_key: XXXXXXXXX  
> discovery:  
> type: ec2  
> ec2:  
> groups: GROUP\_NAME
> 
> cloud.node.auto\_attributes: true
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6cYLWYw6XHg/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6cYLWYw6XHg/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/3793539901095203409%40unknownmsgid](https://groups.google.com/d/msgid/elasticsearch/3793539901095203409%40unknownmsgid)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAKzwz0rezy6\_5PRJ-ut7An0EtA56SX1dxPJyp4jTZWqCbP-Zjw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKzwz0rezy6_5PRJ-ut7An0EtA56SX1dxPJyp4jTZWqCbP-Zjw%40mail.gmail.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:04am UTC](https://discuss.elastic.co/t/unassigned-shards-problam/14544/22 "2017-07-06T02:04:33Z")

</div>



[Previous page](https://discuss.elastic.co/t/unassigned-shards-problam/14544.md?page=1)
