# Elasticsearch upgrade from 6.8.0 to 7.9.2

**URL:** <https://discuss.elastic.co/t/elasticsearch-upgrade-from-6-8-0-to-7-9-2/254223>\
**Category:** Elasticsearch\
**Created:** [November 4, 2020, 8:14am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-6-8-0-to-7-9-2/254223 "2020-11-04T08:14:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maadhav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maadhav/32/46127_2.png) [@maadhav](https://discuss.elastic.co/u/maadhav)\
**Post date:** [November 4, 2020, 8:14am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-6-8-0-to-7-9-2/254223/1 "2020-11-04T08:14:32Z")

</div>

Hi Team

We have around 60 nodes docker based production cluster running with version 6.8. We need to upgrade this to version 7.9.2.

We have used discovery settings such as **discovery.zen.ping.unicast.hosts** , **discovery.zen.minimum\_master\_nodes** in current configurations.

- As from Elasticsearch version 7 and above, discovery.zen.\* settings are ignored, so should we change these settings to **discovery.seed\_hosts** and **cluster.initial\_master\_nodes** respectively ?

In one of the [ElasticSearch Blog](https://www.elastic.co/blog/a-new-era-for-cluster-coordination-in-elasticsearch), it is mentioned that

> If you perform a rolling upgrade then the cluster bootstrapping happens automatically, based on the number of nodes in the cluster and any existing `minimum_master_nodes` setting. **This means it is important to ensure this setting is set correctly before starting the upgrade**. There is no need to set `initial_master_nodes` here since cluster bootstrapping happens automatically when performing this rolling upgrade. The version 7 master-eligible nodes will prefer to vote for version 6.7 nodes in master elections, so you can normally expect a version 6.7 node to be the elected master during the upgrade until you have upgraded every one of the master-eligible nodes.

- Does this suggest that we should not add **cluster.initial\_master\_nodes** setting ?
- As the rolling upgrade suggested for upgrade from 6.8 to 7.9.2, what minimum configurations settings changes are essential ?

Any help is appreciated.

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 9, 2020, 1:43am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-6-8-0-to-7-9-2/254223/2 "2020-11-09T01:43:28Z")

</div>

> [@maadhav](#):
>
> Does this suggest that we should not add **cluster.initial\_master\_nodes** setting

Yes

> [@maadhav](#):
>
> As the rolling upgrade suggested for upgrade from 6.8 to 7.9.2, what minimum configurations settings changes are essential

[Upgrade Elasticsearch | Elasticsearch Guide [7.9] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/setup-upgrade.html) is the best place to start on this topic.

---

<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:** [December 7, 2020, 1:43am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-6-8-0-to-7-9-2/254223/3 "2020-12-07T01:43:42Z")

</div>

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