Hi, If I get you well, you'll face an issue. Renaming oldcluster will make it "forget" previous indexes. (Take a look at data you'll find a dir named "oldcluster").
The step you're missing is to backup data fro oldcluster Then shtudown, rename Then restore... Or even shutdown and restore on new cluster... Cheers, Yann Le mercredi 19 février 2014 16:01:03 UTC+1, Attila Bukor a écrit : > > Hey everybody, > > I have a question regarding the migration of the indices to a new cluster > seamlessly. Let me first describe the situation: > > I have a project which uses Elasticsearch since a few weeks ago. This is > our > first Elasticsearch project, and as we are satisfied with it, we decided > to > dedicate a cluster of 3 nodes to run Elasticsearch (lets call it > "newcluster"). It is up and running separately from our old 1-node > Elasticsearch installation ("oldcluster"). We want to migrate everything > to > newcluster, and turn oldcluster off. All 4 servers are running Ubuntu > Server, > Elasticsearch is installed from the official deb package, oldcluster is > 0.90.10 and newcluster 1.0.0. > > I came up with the following solution, but I'm not sure it will work: > > - Upgrade oldcluster to 1.0.0 (tested it in dev, should work) > - Backup the index (we have only one index right now) in case something > goes > wrong. > - Change oldcluster's name to newcluster. > - Wait until the nodes synchronize themselves (how can I check if they're > in > sync?) > - Shut down oldcluster. > > Thank you very much, > Attila > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dc031e6c-a7d8-4773-a15d-293986331c10%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.