# Cluster.initial\_master\_nodes mandatory when upgrading?

**URL:** <https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035>\
**Category:** Elasticsearch\
**Created:** [August 14, 2020, 3:03pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035 "2020-08-14T15:03:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [August 14, 2020, 3:03pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035/1 "2020-08-14T15:03:39Z")

</div>

Hello Elasticians !

I'm asking is **cluster.initial\_master\_nodes** is mandatory when we upgrade from a already running 6.8 cluster to 7.8 cluster

I don't think so but if you could confirm..

Thanks 😉

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [August 17, 2020, 2:25pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035/2 "2020-08-17T14:25:04Z")

</div>

Anyone ?

---

<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:** [August 17, 2020, 2:30pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035/3 "2020-08-17T14:30:14Z")

</div>

It depends 😉

If you are doing a rolling upgrade then no, you should not set this. However if you are doing a full-cluster restart upgrade (i.e. shutting down half or more of the masters at once) then yes this setting is required.

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [August 17, 2020, 2:45pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035/4 "2020-08-17T14:45:55Z")

</div>

Ok ! I will go through a rolling upgrade as recommended by documentation. Thanks @DavidTurner

---

<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:** [September 14, 2020, 2:46pm UTC](https://discuss.elastic.co/t/cluster-initial-master-nodes-mandatory-when-upgrading/245035/5 "2020-09-14T14:46:00Z")

</div>

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