# Primary shards not to be moved

**URL:** <https://discuss.elastic.co/t/primary-shards-not-to-be-moved/176397>\
**Category:** Elasticsearch\
**Created:** [April 11, 2019, 12:08pm UTC](https://discuss.elastic.co/t/primary-shards-not-to-be-moved/176397 "2019-04-11T12:08:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodrigo\_Bernardo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rodrigo_bernardo/32/43935_2.png) [@Rodrigo\_Bernardo](https://discuss.elastic.co/u/Rodrigo_Bernardo)\
**Post date:** [April 11, 2019, 12:08pm UTC](https://discuss.elastic.co/t/primary-shards-not-to-be-moved/176397/1 "2019-04-11T12:08:42Z")

</div>

A new node joins an existing cluster. automatic balancing kicks in. I would like primary shards to not be moved this new server. How would you do that?

Thanks,  
Rodrigo.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 11, 2019, 12:11pm UTC](https://discuss.elastic.co/t/primary-shards-not-to-be-moved/176397/2 "2019-04-11T12:11:17Z")

</div>

You can not control where primary shards live as Elasticsearch need to be able to change this at any point. It should not make much difference for most use cases.

---

<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:** [May 9, 2019, 12:11pm UTC](https://discuss.elastic.co/t/primary-shards-not-to-be-moved/176397/3 "2019-05-09T12:11:18Z")

</div>

Closed on May 9, 2019, 12:11pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
