lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingfeng Yang <mfy...@wisewindow.com>
Subject How to migrate SolrCloud shards to different servers?
Date Sat, 26 Jan 2013 00:42:48 GMT
Right now I have an index with four shards on a single EC2 server, each
running on different ports.  Now I'd like to migrate three shards
to independent servers.

What should I do to safely accomplish this process?

Can I just
1. shutdown all four solr instances.
2. copy three shards (indexes) to different servers.
3. launch 4 solr instances on 4 different servers, each with -zKhost
specified, pointing to the zookeeper servers.

In my impression, zookeeper remembers which shards are leaders.  What I
plan to do above could not elect the three new servers as leaders.  If so,
what's the correct way to do it?

Thanks,
Ming

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message