There is a manual https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html
with some Disable shard allocation, Stop non-essential indexing, Shut down a single node... blah, blah, blah.
But where is the software info? How to rewrite existing copy with the new version? This manual says noting about software installation
I just copied 'data' directory to new installation. Looks like this is the way.
The upgrade guide that you point to provides details on how to upgrade depending on whether you
- can do a rolling upgrade
- need to perform a full cluster restart upgrade
- whether you need to reindex before upgrading.
Usually, the binaries of the new version are placed in a different directory to the existing version binaries, rather than overwrite them, with the new
elasticsearch.yml pointed at the existing logs, data and config directories. How you get download those binaries, will depend on which distribution you're using such as RPM, Debian, zip, tar, MSI, etc. Both upgrade scenarios have a section on what to do, depending on the distribution you're using.
Thanks. This is most essential information during the upgrade yet it's scarecely mentioned somewhere in the text. Additional problem with that is that by default elasticsearch.yml has all commands inside disabled (even i running configuration).
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.