Upgrading Elasticsearch To A Newer Version
How to upgrading Elasticsearch To A Newer Version The key is exporting the instance. Disable shard movement curl -XPUT http://elk2.domain.com:9200/_cluster/settings -d ‘ { “transient”: { “cluster.routing.allocation.enable”: “none” } }’ Migrate to new version (on linux) export INS=1 alias cp=cp cd /opt /opt/elasticsearch-ins${INS}/bin/start_elastic.sh stop unzip -qq /var/tmp/elasticsearch-2.3.0.zip mv elasticsearch-ins${INS} elasticsearch-ins${INS}-2.2 mv elasticsearch-2.3.0 elasticsearch-ins$INS cd elasticsearch-ins${INS} cp …