<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Move Solr server from one host to another using Cloudera Parcels in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25637#M20048</link>
    <description>&lt;P&gt;sorry for my question ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can follow&amp;nbsp; this steps olse if i want to add more node to my solr cluster ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regard's&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2015 06:26:51 GMT</pubDate>
    <dc:creator>KhaledSalama</dc:creator>
    <dc:date>2015-03-17T06:26:51Z</dc:date>
    <item>
      <title>Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/23605#M20046</link>
      <description>&lt;P&gt;I would like to move a&amp;nbsp;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&amp;nbsp;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.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:18:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/23605#M20046</guid>
      <dc:creator>IT.Services</dc:creator>
      <dc:date>2022-09-16T09:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/23691#M20047</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have data saved in Solr, then moving solr servers is very staright forward by adding a new solr server role&amp;nbsp;on the new host using Cloudera Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you already have&amp;nbsp;data saved in solr,&amp;nbsp;then in addition to the above step you also need to move the solr cores of&amp;nbsp;current host to the new&amp;nbsp;host. And here are the steps to move the core.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instructions&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE cellspacing="0" cellpadding="0" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="sfdc_richtext"&gt;The supported procedure to migrate a replica from one server to another is as follows: Migrating from:&lt;SPAN&gt;cdh5-2.cloudera.local&lt;BR /&gt;Collection: students&lt;BR /&gt;Replica name: students_shard1_replica2&lt;/SPAN&gt; Migrating to:&lt;SPAN&gt;cdh5-3.cloudera.local&lt;BR /&gt;Collection: students&lt;BR /&gt;Replica name: students_shard1_replica3&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;On the target server, from a command line, add the Core with the following API call (Core Admin UI is not recommended):&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl &lt;A href="http://cdh5-3.cloudera.local:8983/solr/admin/cores?action=CREATE&amp;amp;name=students_shard1_replica3&amp;amp;collection=students&amp;amp;shard=shard1" target="_blank"&gt;http://cdh5-3.cloudera.local:8983/solr/admin/cores?action=CREATE&amp;amp;name=students_shard1_replica3&amp;amp;collection=students&amp;amp;shard=shard1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Name should be a new replica name, but should conform to &lt;SPAN&gt;collection_shardn_replican&lt;/SPAN&gt; for consistency. If two&amp;nbsp;replicas exist in the current shard, use &lt;SPAN&gt;replica3&lt;/SPAN&gt;&amp;nbsp;in the name to avoid conflicts.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verify that the core is created, and moves from recovery state to &lt;SPAN&gt;UP&lt;/SPAN&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;On the old node, from a command line, run the following &lt;SPAN&gt;UNLOAD&lt;/SPAN&gt; command (again, Core Admin UI is not recommended), which will remove the core.properties in &lt;SPAN&gt;/var/lib/solr&lt;/SPAN&gt; on the old node:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl &lt;A href="http://cdh5-2.cloudera.local:8983/solr/admin/cores?action=UNLOAD&amp;amp;core=students_shard1_replica2&amp;amp;deleteInstanceDir=yes" target="_blank"&gt;http://cdh5-2.cloudera.local:8983/solr/admin/cores?action=UNLOAD&amp;amp;core=students_shard1_replica2&amp;amp;deleteInstanceDir=yes&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;If the old node is down or Solr unavailable, the above command will fail. Manually remove&amp;nbsp;the &lt;SPAN&gt;core.properties&lt;/SPAN&gt; under &lt;SPAN&gt;/var/lib/solr/collection_shardn_replican&lt;/SPAN&gt;&amp;nbsp;so&amp;nbsp;the node does not attempt to register that replica when it starts.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verify in the CLOUD UI that the old replica has been removed.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Important: &lt;/STRONG&gt;To speed recovery time, suspend any incoming ingestion while the new replica is doing a full replication from the leader.&amp;nbsp;NRT ingestion can then be turned back on.&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the above steps, you can remove the solr server from the first host if required (use Cloudera Manager to handle this)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 22:28:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/23691#M20047</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2015-01-14T22:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25637#M20048</link>
      <description>&lt;P&gt;sorry for my question ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can follow&amp;nbsp; this steps olse if i want to add more node to my solr cluster ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regard's&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 06:26:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25637#M20048</guid>
      <dc:creator>KhaledSalama</dc:creator>
      <dc:date>2015-03-17T06:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25648#M20049</link>
      <description>Khaled,&lt;BR /&gt;&amp;nbsp; If you'd like to add more replicas to existing shards, you can use this method with the CREATE action on the new nodes that you want to add replicas to. If you need to add more shards, you'll want to recreate the collection with a larger number of shards after you've added solr to the new nodes.</description>
      <pubDate>Tue, 17 Mar 2015 14:18:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25648#M20049</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2015-03-17T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25658#M20050</link>
      <description>&lt;P&gt;that is mean if i will create new collection and i have plan to increase number of nodes i must create shared more than number of current node number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example : if i have cluster with 4 node now but i have plan to add more 4 node in future , i must create my collection with 8 shared to be able to increase number of my nodes to 8 node? true&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25658#M20050</guid>
      <dc:creator>KhaledSalama</dc:creator>
      <dc:date>2015-03-17T17:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25659#M20051</link>
      <description>If you are wanting to add more shards (to better distribute the updates), then yes, I would suggest planning in advance and oversharding. If you are more concerned about query performance, and want to keep the same number of shards but just add more replicas per shard, then just creating replicas on the new nodes will be sufficient.</description>
      <pubDate>Tue, 17 Mar 2015 18:01:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25659#M20051</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2015-03-17T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25662#M20052</link>
      <description>&lt;P&gt;thank you for your replay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you give me stepes i will follw to add more node to running solr cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 18:36:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/25662#M20052</guid>
      <dc:creator>KhaledSalama</dc:creator>
      <dc:date>2015-03-17T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33113#M20053</link>
      <description>&lt;P&gt;Can please give me steps to add replicas of an existing shard ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks !&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 18:54:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33113#M20053</guid>
      <dc:creator>devquestions2</dc:creator>
      <dc:date>2015-10-19T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33117#M20054</link>
      <description>&lt;P&gt;If you are using CDH5.4, you can use the collections API ADDREPLICA command to add a replica for a given shard [1]. &amp;nbsp;Pay attention to the format of the node parameter, it needs to be hostname:8983_solr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api_addreplica" target="_blank"&gt;https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api_addreplica&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 19:29:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33117#M20054</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2015-10-19T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33229#M20055</link>
      <description>&lt;P&gt;I tried ADD REPLICA, but I get error message that specified shard does not exist.&lt;BR /&gt;&lt;BR /&gt;I have a CDH 5.4 cluster, with two solr roles&lt;BR /&gt;&lt;BR /&gt;solrserver1&lt;BR /&gt;solrserver2&lt;BR /&gt;&lt;BR /&gt;on solrserver1 I have&lt;BR /&gt;&lt;BR /&gt;1- collecitonname : mycolleciton , instaceDir : /var/lib/solr/mycollection_shard1_replica1/&lt;BR /&gt;&lt;BR /&gt;I want to replicate it on solrserver2, so I tried the command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;http://solrserver1:8983/solr/admin/collections?action=ADDREPLICA&amp;amp;collection=mycollection&amp;amp;shard=mycollection_shard1_replica1&amp;amp;node=solrserver2:8983_solr&lt;BR /&gt;&lt;BR /&gt;and I got the message&lt;BR /&gt;&lt;BR /&gt;Collection: mycollection shard: mycollection_shard1_replica1 does not exist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really appreciate your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:28:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33229#M20055</guid>
      <dc:creator>devquestions2</dc:creator>
      <dc:date>2015-10-21T18:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33230#M20056</link>
      <description>&lt;P&gt;It appears you are using the replica name for the shard value. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this instead:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;http://solrserver1:8983/solr/admin/collections?act&lt;/SPAN&gt;&lt;SPAN&gt;ion=ADDREPLICA&amp;amp;collection=mycollection&amp;amp;shard=&lt;/SPAN&gt;&lt;SPAN&gt;shard1&amp;amp;node=solrserver2:8983_solr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:33:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33230#M20056</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2015-10-21T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Move Solr server from one host to another using Cloudera Parcels</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33237#M20057</link>
      <description>&lt;P&gt;Thanks . That got me a bit closer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered that there was no core created on solrserver2, which i just did and restarted &amp;nbsp;both servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i am getting&amp;nbsp;Node: solrserver2:8983_solr is not live !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i see it started in the manager , and no logs either. What am I missing !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help probably saved couple days of reading and frustration !&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 20:38:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-Solr-server-from-one-host-to-another-using-Cloudera/m-p/33237#M20057</guid>
      <dc:creator>devquestions2</dc:creator>
      <dc:date>2015-10-21T20:38:43Z</dc:date>
    </item>
  </channel>
</rss>

