Upgrade cluster from 0.90.11 to 1.1.1

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:

  1. stop node 1.
  2. install 1.1.1 on node 1.
  3. copy data folder to 1.1.1.
  4. start node 1 and wait for it to synchronize.
  5. stop node 2.
  6. install 1.1.1 on node 2.
  7. copy data folder to 1.1.1.
  8. start node 2 and wait for it to synchronize.

I can live with downtime if not possible otherwise.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/26670af5-f4d5-4d11-859b-bdbbc08367f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

= 0.90.7

0.90.x

Rolling Upgrade

1.x

1.x

Rolling Upgrade
I guess the upgrade will upgrade to latest lucene automatically.

  1. stop node 1.
  2. install 1.1.1 on node 1.
    *[NOT REQUIRED] *3. copy data folder to 1.1.1.
  3. 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:

  1. stop node 1.
  2. install 1.1.1 on node 1.
  3. copy data folder to 1.1.1.
  4. start node 1 and wait for it to synchronize.
  5. stop node 2.
  6. install 1.1.1 on node 2.
  7. copy data folder to 1.1.1.
  8. start node 2 and wait for it to synchronize.

I can live with downtime if not possible otherwise.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5682b4a1-b978-44f3-a419-a6055358006f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Important part is:

0.90.x

1.x

Restart Upgrade

So you need to stop the whole cluster and restart.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 avr. 2014 à 11:03, Srividhya Umashanker srividhya.umashanker@gmail.com a écrit :

= 0.90.7

0.90.x

Rolling Upgrade

1.x

1.x

Rolling Upgrade

I guess the upgrade will upgrade to latest lucene automatically.

  1. stop node 1.
  2. install 1.1.1 on node 1.
    [NOT REQUIRED] 3. copy data folder to 1.1.1.
  3. 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:

  1. stop node 1.
  2. install 1.1.1 on node 1.
  3. copy data folder to 1.1.1.
  4. start node 1 and wait for it to synchronize.
  5. stop node 2.
  6. install 1.1.1 on node 2.
  7. copy data folder to 1.1.1.
  8. start node 2 and wait for it to synchronize.

I can live with downtime if not possible otherwise.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5682b4a1-b978-44f3-a419-a6055358006f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/DE5C9D4C-4788-487C-9CEC-F7C4F3BD2D45%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Following the upgrade guide worked perfectly. Thank you very much for your
help.

On Saturday, April 26, 2014 11:09:11 AM UTC+2, David Pilato wrote:

Important part is:

0.90.x

1.x

Restart Upgrade
So you need to stop the whole cluster and restart.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 26 avr. 2014 à 11:03, Srividhya Umashanker <srividhya....@gmail.com<javascript:>>
a écrit :

Elasticsearch Platform — Find real-time answers at scale | Elastic

= 0.90.7

0.90.x

Rolling Upgrade

1.x

1.x

Rolling Upgrade
I guess the upgrade will upgrade to latest lucene automatically.

  1. stop node 1.
  2. install 1.1.1 on node 1.
    *[NOT REQUIRED] *3. copy data folder to 1.1.1.
  3. 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:

  1. stop node 1.
  2. install 1.1.1 on node 1.
  3. copy data folder to 1.1.1.
  4. start node 1 and wait for it to synchronize.
  5. stop node 2.
  6. install 1.1.1 on node 2.
  7. copy data folder to 1.1.1.
  8. start node 2 and wait for it to synchronize.

I can live with downtime if not possible otherwise.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5682b4a1-b978-44f3-a419-a6055358006f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5682b4a1-b978-44f3-a419-a6055358006f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4bc16a84-e2e2-4e68-8fd5-eca7daf0599b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Thomas,

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:

  1. stop node 1.
  2. install 1.1.1 on node 1.
  3. copy data folder to 1.1.1.
  4. start node 1 and wait for it to synchronize.
  5. stop node 2.
  6. install 1.1.1 on node 2.
  7. copy data folder to 1.1.1.
  8. start node 2 and wait for it to synchronize.

I can live with downtime if not possible otherwise.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a4e443f4-feec-44fd-afcc-41e231885f3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.