# Node with only replica shards and no primary

**URL:** <https://discuss.elastic.co/t/node-with-only-replica-shards-and-no-primary/38816>\
**Category:** Elasticsearch\
**Created:** [January 10, 2016, 5:42pm UTC](https://discuss.elastic.co/t/node-with-only-replica-shards-and-no-primary/38816 "2016-01-10T17:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slava\_G](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Slava\_G](https://discuss.elastic.co/u/Slava_G)\
**Post date:** [January 10, 2016, 5:42pm UTC](https://discuss.elastic.co/t/node-with-only-replica-shards-and-no-primary/38816/1 "2016-01-10T17:42:59Z")

</div>

Hi,  
I have cluster with 4 machines (ES 1.7.1), and eventually I see that primary shards are distributed on 3 machines while 4'th machine has only replica shards. How can I rebalance this situation, that all machines will have near to equal number of primary shards ?

Thanks

---

<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 5, 2017, 11:25pm UTC](https://discuss.elastic.co/t/node-with-only-replica-shards-and-no-primary/38816/2 "2017-07-05T23:25:40Z")

</div>


