# How to bring down ES cluster with out loosing any primary shards

**URL:** <https://discuss.elastic.co/t/how-to-bring-down-es-cluster-with-out-loosing-any-primary-shards/168665>\
**Category:** Elasticsearch\
**Created:** [February 16, 2019, 3:45am UTC](https://discuss.elastic.co/t/how-to-bring-down-es-cluster-with-out-loosing-any-primary-shards/168665 "2019-02-16T03:45:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhakar\_talari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhakar_talari/32/46469_2.png) [@prabhakar\_talari](https://discuss.elastic.co/u/prabhakar_talari)\
**Post date:** [February 16, 2019, 3:45am UTC](https://discuss.elastic.co/t/how-to-bring-down-es-cluster-with-out-loosing-any-primary-shards/168665/1 "2019-02-16T03:45:22Z")

</div>

Hi All,

I need to bring down entire ES cluster to enable TLS, could any one suggest what is the best way to bring it down with out loosing any primary shards

Thanks

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [February 16, 2019, 6:53am UTC](https://discuss.elastic.co/t/how-to-bring-down-es-cluster-with-out-loosing-any-primary-shards/168665/2 "2019-02-16T06:53:18Z")

</div>

The [docs](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/configuring-tls.html) say:

> You must perform a full cluster restart. Nodes which are configured to use TLS cannot communicate with nodes that are using unencrypted networking (and vice-versa). After enabling TLS you must restart all nodes in order to maintain communication across the cluster.

Your data is safe during a full cluster restart, you won't lose anything.

---

<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:** [March 16, 2019, 6:53am UTC](https://discuss.elastic.co/t/how-to-bring-down-es-cluster-with-out-loosing-any-primary-shards/168665/3 "2019-03-16T06:53:18Z")

</div>

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