I'm running a two-node cluster with Elasticsearch 0.90.11. I want to
upgrade to the newest version (1.1.1), but I'm not entirely sure on how to
do it. 0.90.11 is based on Lucene 4.6.1 and 1.1.1 on Lucene 4.7.2. Can I do
the following:
stop node 1.
install 1.1.1 on node 1.
copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
stop node 2.
install 1.1.1 on node 2.
copy data folder to 1.1.1.
start node 2 and wait for it to synchronize.
I can live with downtime if not possible otherwise.
Rolling Upgrade
I guess the upgrade will upgrade to latest lucene automatically.
stop node 1.
install 1.1.1 on node 1.
*[NOT REQUIRED] *3. copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
Let me know how it goes.
On Saturday, April 26, 2014 12:50:37 PM UTC+5:30, Thomas Ardal wrote:
I'm running a two-node cluster with Elasticsearch 0.90.11. I want to
upgrade to the newest version (1.1.1), but I'm not entirely sure on how to
do it. 0.90.11 is based on Lucene 4.6.1 and 1.1.1 on Lucene 4.7.2. Can I do
the following:
stop node 1.
install 1.1.1 on node 1.
copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
stop node 2.
install 1.1.1 on node 2.
copy data folder to 1.1.1.
start node 2 and wait for it to synchronize.
I can live with downtime if not possible otherwise.
I guess the upgrade will upgrade to latest lucene automatically.
stop node 1.
install 1.1.1 on node 1.
[NOT REQUIRED] 3. copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
Let me know how it goes.
On Saturday, April 26, 2014 12:50:37 PM UTC+5:30, Thomas Ardal wrote:
I'm running a two-node cluster with Elasticsearch 0.90.11. I want to upgrade to the newest version (1.1.1), but I'm not entirely sure on how to do it. 0.90.11 is based on Lucene 4.6.1 and 1.1.1 on Lucene 4.7.2. Can I do the following:
stop node 1.
install 1.1.1 on node 1.
copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
stop node 2.
install 1.1.1 on node 2.
copy data folder to 1.1.1.
start node 2 and wait for it to synchronize.
I can live with downtime if not possible otherwise.
Rolling Upgrade
I guess the upgrade will upgrade to latest lucene automatically.
stop node 1.
install 1.1.1 on node 1.
*[NOT REQUIRED] *3. copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
Let me know how it goes.
On Saturday, April 26, 2014 12:50:37 PM UTC+5:30, Thomas Ardal wrote:
I'm running a two-node cluster with Elasticsearch 0.90.11. I want to
upgrade to the newest version (1.1.1), but I'm not entirely sure on how to
do it. 0.90.11 is based on Lucene 4.6.1 and 1.1.1 on Lucene 4.7.2. Can I do
the following:
stop node 1.
install 1.1.1 on node 1.
copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
stop node 2.
install 1.1.1 on node 2.
copy data folder to 1.1.1.
start node 2 and wait for it to synchronize.
I can live with downtime if not possible otherwise.
I am following the same steps as you listed.
I had one query I would be thankful if you can help me out.
After copying the data and config folder to the latest elasticsearch
version when I restart the elasticsearch 1.1.1 server,
I see two nodes in the same cluster(instead of one).
Can you tell me how this second node is created?
Thanks,
Ayush
On Saturday, April 26, 2014 3:20:37 AM UTC-4, Thomas Ardal wrote:
I'm running a two-node cluster with Elasticsearch 0.90.11. I want to
upgrade to the newest version (1.1.1), but I'm not entirely sure on how to
do it. 0.90.11 is based on Lucene 4.6.1 and 1.1.1 on Lucene 4.7.2. Can I do
the following:
stop node 1.
install 1.1.1 on node 1.
copy data folder to 1.1.1.
start node 1 and wait for it to synchronize.
stop node 2.
install 1.1.1 on node 2.
copy data folder to 1.1.1.
start node 2 and wait for it to synchronize.
I can live with downtime if not possible otherwise.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.