Upgrading Elasticsearch

Update an external (customer-installed) installation of Elasticsearch version 5.x or later with IBM Spectrum LSF Explorer to version 10.2 Fix Pack 9 or later. This task is not applicable if you installed the version of Elasticsearch included with Explorer.

About this task

Note: Note that some earlier versions of Elasticsearch are no longer support by Elasticsearch; refer to your Elasticsearch documentation for the version that are officially End of life (EOL).

If you are using Elasticsearch 7.17, upgrade to 8.18 by downloading and applying IBM Spectrum LSF Explorer Fix 602748 from IBM Fix Central, and follow the provided readme instructions.

Important: IBM Spectrum LSF Explorer 10.2 Fix Pack 9 and older bundled Elasticsearch versions did not support HTTPS and authentication. To use these features, install external versions of Elasticsearch 7.17 (or later, but before version 8) and migrate the data by following the Elasticsearch documentation: https://www.elastic.co/guide/en/elasticsearch/reference/7.2/restart-upgrade.html

Versions of IBM Spectrum LSF Explorer later than 10.2 Fix Pack 10 include an optional installation of Elasticsearch version 7.x. However, if you installed Elasticsearch 5.x or 6.x on your own, back it up as there are special steps for upgrading from these earlier levels.

Upgrading Elasticsearch requires a shutdown of all Explorer services. Therefore, Explorer will be out of service during this upgrade.

Procedure

  1. Back up Elasticsearch data.

    In case of a failed upgrade, back up your Elasticsearch data. A snapshot is a backup taken from a running Elasticsearch cluster. You can take a snapshot of individual indices or of the entire cluster and store it in a repository on a shared filesystem following your Elasticsearch documentation. For example:

    To take a snapshot of Elasticsearch 5.4, see: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/modules-snapshots.html

    To take a snapshot of Elasticsearch 6.6, see: https://www.elastic.co/guide/en/elasticsearch/reference/6.6/modules-snapshots.html

    To take a snapshot of Elasticsearch 7.17, see: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/snapshot-restore.html

  2. Upgrade Elasticsearch; refer to the version for your environment:
  3. Optional: If Elasticsearch upgrade fails, you can reinstall your previous version of Elasticsearch and restore the data.

    Refer to your Elasticsearch documentation for details. For example:

    To restore Elasticsearch 5.4, see: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/modules-snapshots.html

    To restore Elasticsearch 6.6, see: https://www.elastic.co/guide/en/elasticsearch/reference/6.6/modules-snapshots.html

    To restore Elasticsearch 7.17, see: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/snapshot-restore.html