Hi Saquib

In an older version of Solr configured for Master/Slave, I have
the masterUrl field set to the url to the collection.  I do not have
"/replication" added to the end of the URL.

Give *https://solr1.mdi.com.eg:8983/solr/sit.mdi_core_index
<https://solr1.mdi.com.eg:8983/solr/sit.mdi_core_index/replication%3c/str> a
try*

Matt

On Wed, Apr 13, 2022 at 10:54 AM Rizvi, Saquib Husain
<[email protected]> wrote:

> Hi Team,
>
>
>
> I know this question must have come to you hundreds of times and you might
> think not again, but really believe me I have tried literally each and
> everything that is there on internet and could be utilized but could not
> solve the issue.
>
>
>
> Despite of all configuration changes my Solr slave server is not
> replicating from master and continuously giving me “Invalid Master” error
> as follows,
>
>
>
>
>
> Below are the configurations I am using in Master and Slave accordingly,
>
>
>
> Master:
>
> *<requestHandler name="/replication" class="solr.ReplicationHandler" >*
>
> *                <lst name="master">*
>
> *                                <str name="replicateAfter">startup</str>*
>
> *                                <str name="replicateAfter">commit</str>*
>
> *                                <str name="replicateAfter">optimize</str>*
>
> *                                <str
> name="confFiles">schema.xml,mapping-ISOLatin1Accent.txt,protwords.txt,stopwords.txt,synonyms.txt,elevate.xml</str>*
>
> *                                <str name="maxNumberOfBackups">0</str>*
>
> *                </lst>*
>
> *</requestHandler>*
>
>
>
> Slave:
>
> *<requestHandler name="/replication" class="solr.ReplicationHandler" > *
>
> *                 <lst name="slave">*
>
> *                                <str
> name="masterUrl">https://solr1.mdi.com.eg:8983/solr/sit.mdi_core_index/replication</str
> <https://solr1.mdi.com.eg:8983/solr/sit.mdi_core_index/replication%3c/str>>*
>
> *                                <str name="pollInterval">00:00:10</str>*
>
> *                </lst>*
>
> *</requestHandler>*
>
>
>
> Note: I am using both the solr on HTTPS, so If anything I am missing there
> please let me know.
>
>
>
> Kind regards,
>
> [image: Atos logo]
>
> *Saquib Husain Rizvi*
> Sitecore Consultant
> M: +91 8691904252
> atos.net
> [image: LinkedIn icon] <https://www.linkedin.com/company/1259/> [image:
> Twitter icon] <https://twitter.com/atos> [image: Facebook icon]
> <https://www.facebook.com/Atos/> [image: Instagram icon]
> <https://www.instagram.com/atosinside/> [image: Youtube icon]
> <https://www.youtube.com/user/Atos>
>
>
>
>
>
>
>

Reply via email to