Elasticsearch upgrade from 6.8.0 to 7.9.2

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, 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

Yes

Upgrade Elasticsearch | Elasticsearch Guide [7.9] | Elastic is the best place to start on this topic.

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