Upgrading Elasticsearch version

An Elasticsearch cluster can be upgraded to a higher version in two ways:

  • Rolling upgrade: This requires one node to stop at once and perform the upgradation.
  • Full cluster restart: This requires a complete cluster shutdown before proceeding with the upgrade task.

You need to go through the following URL for more information on the supported versions to choose the type of upgrade you need to perform:

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html

In both cases, to upgrade a node, the following are the easiest steps to upgrade a version node by node:

  1. Disable the routing allocation, as discussed in the previous section.
  2. Stop the node.
  3. Take a backup of the data.
  4. Take a backup of the configuration ...

Get Elasticsearch Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.