<?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>topic How to add an additional shard when using db_id_range. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121087#M33243</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;we have a system which uses solr6 (search services) for our index.&amp;nbsp; The index is currently broken into two shards (shard1 and shard2).&amp;nbsp; There are two search services instances running, with shard1 and shard2 on each instance.&lt;/P&gt;&lt;P&gt;Shard 2 has a range to 140M db ids.&amp;nbsp; This is being approached so I would like to create an additional shard (shard3) on both instances.&amp;nbsp; We chose db_id_range as it states that shards can be added dynamically as needed.&lt;/P&gt;&lt;P&gt;My question is simple, how do we create shard3.&amp;nbsp; (I cannot find any documentation on how to add an extra shard).&lt;/P&gt;&lt;P&gt;Note: for acs 7.1.1 and ASS 2.3&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 23:34:34 GMT</pubDate>
    <dc:creator>boneill</dc:creator>
    <dc:date>2022-05-10T23:34:34Z</dc:date>
    <item>
      <title>How to add an additional shard when using db_id_range.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121087#M33243</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;we have a system which uses solr6 (search services) for our index.&amp;nbsp; The index is currently broken into two shards (shard1 and shard2).&amp;nbsp; There are two search services instances running, with shard1 and shard2 on each instance.&lt;/P&gt;&lt;P&gt;Shard 2 has a range to 140M db ids.&amp;nbsp; This is being approached so I would like to create an additional shard (shard3) on both instances.&amp;nbsp; We chose db_id_range as it states that shards can be added dynamically as needed.&lt;/P&gt;&lt;P&gt;My question is simple, how do we create shard3.&amp;nbsp; (I cannot find any documentation on how to add an extra shard).&lt;/P&gt;&lt;P&gt;Note: for acs 7.1.1 and ASS 2.3&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 23:34:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121087#M33243</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2022-05-10T23:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an additional shard when using db_id_range.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121088#M33244</link>
      <description>&lt;P&gt;Not sure how are your Shards defined.&lt;/P&gt;
&lt;P&gt;Just need to add a new server using this instructions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/insight-engine/latest/config/sharding/create/#dynamic-shard-registration" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/insight-engine/latest/config/sharding/create/#dynamic-shard-registration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can also install that on premise by using the right interval in Solr side configuration files:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/aborroy/solr-sharding-docker-compose/tree/master/db_id_range" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/solr-sharding-docker-compose/tree/master/db_id_range&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 09:35:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121088#M33244</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-05-11T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an additional shard when using db_id_range.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121089#M33245</link>
      <description>&lt;P&gt;Hi Angelborrow,&lt;/P&gt;&lt;P&gt;Thanks for your response.&amp;nbsp; My system is setup to use dynamic sharding.&amp;nbsp; I have two existing shards.&amp;nbsp; So if I wanted to create a new shard to dynamically register and start being used for indexing from the last max id of the existing shards (ie 140M) is this the correct way to register the new shard.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://localhost:8080/solr/admin/cores?action=newCore&amp;amp;storeRef=workspace://SpacesStore&amp;amp;numShards=3" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/solr/admin/cores?action=newCore&amp;amp;storeRef=workspace://SpacesStore&amp;amp;numShards=3&lt;/A&gt; numNodes=2&amp;amp;nodeInstance=1&amp;amp;property.data.dir.root=&amp;lt;SOLR_HOME&amp;gt;/solrhome/workspace-SpacesStore&amp;amp;shardIds=0,1,2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I used this type of call to register 2 dynamci shards when we set up the index, however numShards was set to 2 and shardIds was set to 0,1.&amp;nbsp; ie&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://localhost:8080/solr/admin/cores?action=newCore&amp;amp;storeRef=workspace://SpacesStore&amp;amp;numShards=2" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/solr/admin/cores?action=newCore&amp;amp;storeRef=workspace://SpacesStore&amp;amp;numShards=2&lt;/A&gt; numNodes=2&amp;amp;nodeInstance=1&amp;amp;property.data.dir.root=&amp;lt;SOLR_HOME&amp;gt;/solrhome/workspace-SpacesStore&amp;amp;shardIds=0,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: I understand that I would then update the db_id_range in solrcore.properties once the new shard is created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I say dynamic shard I am probably mixiing up the terms, what I am getting at is the ability to create a new shard to add to the existing index shards that will include docs that are indexed when the db_id range is exhaused for shard 1 and 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Brian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 07:50:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121089#M33245</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2022-05-12T07:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an additional shard when using db_id_range.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121090#M33246</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Can anyone give guidance on this question.&amp;nbsp; The documentation specifically says that you should create your new shards when you need them if using db_id_range.&amp;nbsp; However, I cannot find any meaningful documentation on how to do this.&amp;nbsp; If you need more information please let me know.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:35:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-an-additional-shard-when-using-db-id-range/m-p/121090#M33246</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2022-05-25T06:35:02Z</dc:date>
    </item>
  </channel>
</rss>

