Created on 01-12-2015 10:43 AM - edited 09-16-2022 02:18 AM
I would like to move a Solr server from one host to another host that has a lot more memory using Cloudera. I am using CDH 5.2 with CM 5.2. My questions: Is it possible to move the Solr server from one host to another? What about the indexes, how are they moved? Any advice would be appreciated.
Created 01-14-2015 02:28 PM
Hi,
If you don't have data saved in Solr, then moving solr servers is very staright forward by adding a new solr server role on the new host using Cloudera Manager.
If you already have data saved in solr, then in addition to the above step you also need to move the solr cores of current host to the new host. And here are the steps to move the core.
Instructions
|
After the above steps, you can remove the solr server from the first host if required (use Cloudera Manager to handle this)
Created 10-21-2015 11:33 AM
It appears you are using the replica name for the shard value.
Try this instead:
http://solrserver1:8983/solr/admin/collections?action=ADDREPLICA&collection=mycollection&shard=shard1&node=solrserver2:8983_solr
Created 10-21-2015 01:38 PM
Thanks . That got me a bit closer.
I discovered that there was no core created on solrserver2, which i just did and restarted both servers.
now i am getting Node: solrserver2:8983_solr is not live !
but i see it started in the manager , and no logs either. What am I missing !!
Your help probably saved couple days of reading and frustration !