Re: CDCR does not work
Pretty much what Webster and Erick mentioned, else please try the pdf I attached. I followed the official documentation doing that. Amrit Sarkar Search Engineer Lucidworks, Inc. 415-589-9269 www.lucidworks.com Twitter http://twitter.com/lucidworks LinkedIn: https://www.linkedin.com/in/sarkaramrit2 On Thu, Sep 28, 2017 at 8:56 PM, Erick Erickson wrote: > If Webster's idea doesn't solve it, the next thing to check is your > tlogs on the source cluster. If you have a successful connection to > the target and it's operative, the tlogs should be regularly pruned. > If not, they'll collect updates forever. > > Also, your Solr logs should show messages as CDCR does its work, to > you see any evidence that it's > 1> running > 2> sending docs? > > Also, your problem description doesn't provide any information other > than "it doesn't work", which makes it very hard to offer anything > except generalities, you might review: > > https://wiki.apache.org/solr/UsingMailingLists > > Best, > Erick > > > On Thu, Sep 28, 2017 at 7:47 AM, Webster Homer > wrote: > > Check that you have autoCommit enabled in the target schema. > > > > Try sending a commit to the target collection. If you don't have > autoCommit > > enabled then the data could be replicating but not committed so not > > searchable > > > > On Thu, Sep 28, 2017 at 1:57 AM, Jiani Yang wrote: > > > >> Hi, > >> > >> Recently I am trying to use CDCR to do the replication of my solr > cluster. > >> I have done exactly as what the tutorial says, the tutorial link is > shown > >> below: > >> https://lucene.apache.org/solr/guide/6_6/cross-data- > >> center-replication-cdcr.html > >> > >> But I cannot see any change on target data center even every status > looks > >> fine. I have been stuck in this situation for a week and could not find > a > >> way to resolve it, could you please help me? > >> > >> Please reply me ASAP! Thank you! > >> > >> Best, > >> Jiani > >> > > > > -- > > > > > > This message and any attachment are confidential and may be privileged or > > otherwise protected from disclosure. If you are not the intended > recipient, > > you must not copy this message or attachment or disclose the contents to > > any other person. If you have received this transmission in error, please > > notify the sender immediately and delete the message and any attachment > > from your system. Merck KGaA, Darmstadt, Germany and any of its > > subsidiaries do not accept liability for any omissions or errors in this > > message which may arise as a result of E-Mail-transmission or for damages > > resulting from any unauthorized changes of the content of this message > and > > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its > > subsidiaries do not guarantee that this message is free of viruses and > does > > not accept liability for any damages caused by any virus transmitted > > therewith. > > > > Click http://www.emdgroup.com/disclaimer to access the German, French, > > Spanish and Portuguese versions of this disclaimer. >
Re: CDCR does not work
If Webster's idea doesn't solve it, the next thing to check is your tlogs on the source cluster. If you have a successful connection to the target and it's operative, the tlogs should be regularly pruned. If not, they'll collect updates forever. Also, your Solr logs should show messages as CDCR does its work, to you see any evidence that it's 1> running 2> sending docs? Also, your problem description doesn't provide any information other than "it doesn't work", which makes it very hard to offer anything except generalities, you might review: https://wiki.apache.org/solr/UsingMailingLists Best, Erick On Thu, Sep 28, 2017 at 7:47 AM, Webster Homer wrote: > Check that you have autoCommit enabled in the target schema. > > Try sending a commit to the target collection. If you don't have autoCommit > enabled then the data could be replicating but not committed so not > searchable > > On Thu, Sep 28, 2017 at 1:57 AM, Jiani Yang wrote: > >> Hi, >> >> Recently I am trying to use CDCR to do the replication of my solr cluster. >> I have done exactly as what the tutorial says, the tutorial link is shown >> below: >> https://lucene.apache.org/solr/guide/6_6/cross-data- >> center-replication-cdcr.html >> >> But I cannot see any change on target data center even every status looks >> fine. I have been stuck in this situation for a week and could not find a >> way to resolve it, could you please help me? >> >> Please reply me ASAP! Thank you! >> >> Best, >> Jiani >> > > -- > > > This message and any attachment are confidential and may be privileged or > otherwise protected from disclosure. If you are not the intended recipient, > you must not copy this message or attachment or disclose the contents to > any other person. If you have received this transmission in error, please > notify the sender immediately and delete the message and any attachment > from your system. Merck KGaA, Darmstadt, Germany and any of its > subsidiaries do not accept liability for any omissions or errors in this > message which may arise as a result of E-Mail-transmission or for damages > resulting from any unauthorized changes of the content of this message and > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its > subsidiaries do not guarantee that this message is free of viruses and does > not accept liability for any damages caused by any virus transmitted > therewith. > > Click http://www.emdgroup.com/disclaimer to access the German, French, > Spanish and Portuguese versions of this disclaimer.
Re: CDCR does not work
Check that you have autoCommit enabled in the target schema. Try sending a commit to the target collection. If you don't have autoCommit enabled then the data could be replicating but not committed so not searchable On Thu, Sep 28, 2017 at 1:57 AM, Jiani Yang wrote: > Hi, > > Recently I am trying to use CDCR to do the replication of my solr cluster. > I have done exactly as what the tutorial says, the tutorial link is shown > below: > https://lucene.apache.org/solr/guide/6_6/cross-data- > center-replication-cdcr.html > > But I cannot see any change on target data center even every status looks > fine. I have been stuck in this situation for a week and could not find a > way to resolve it, could you please help me? > > Please reply me ASAP! Thank you! > > Best, > Jiani > -- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith. Click http://www.emdgroup.com/disclaimer to access the German, French, Spanish and Portuguese versions of this disclaimer.
CDCR does not work
Hi, Recently I am trying to use CDCR to do the replication of my solr cluster. I have done exactly as what the tutorial says, the tutorial link is shown below: https://lucene.apache.org/solr/guide/6_6/cross-data-center-replication-cdcr.html But I cannot see any change on target data center even every status looks fine. I have been stuck in this situation for a week and could not find a way to resolve it, could you please help me? Please reply me ASAP! Thank you! Best, Jiani
Re: Solr 6 CDCR does not work
Hi Uwe, Here is 09/24/2017, recently I am trying to set up my own CDCR, bounced into this situation also. Means I have done all the configurations and all the status were fine when I “START” and “STATUS” but nothing have pushed into target center, so I googled then I found this one, it helps me a lot! I think he means ENABLE the auto commit. Cause I have tried to disable it, as well as the soft commit, it will not work. But then I tried to enable them, the changes I made to my source data center showed up in the target center. Hope my response could helped you. Jiani
Re: Solr 6 CDCR does not work
Hi Adam, maybe it's my poor English, but I'm confused. I've taken Renault's quote as a hint to activate autocommit on the target cluster. Or at least doing manually frequent commits, to see the replicated documents. Now you wrote disabling autocommit helps. Could you please clarify this point? Regards Uwe Am 01.06.2016 um 12:28 schrieb Adam Majid Sanjaya: disable autocommit on the target It worked! thanks 2016-05-30 15:40 GMT+07:00 Renaud Delbru : Hi Adam, ... Also, do you have an autocommit configured on the target ? CDCR does not replicate commit, and therefore you have to send a commit command on the target to ensure that the latest replicated documents are visible. ... -- Renaud Delbru
Re: Solr 6 CDCR does not work
disable autocommit on the target It worked! thanks 2016-05-30 15:40 GMT+07:00 Renaud Delbru : > Hi Adam, > > could you check the response of the monitoring commands [1], QUEUES, > ERRORS, OPS. This might help undeerstanding if documents are flowing or if > there are issues. > > Also, do you have an autocommit configured on the target ? CDCR does not > replicate commit, and therefore you have to send a commit command on the > target to ensure that the latest replicated documents are visible. > > [1] > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=62687462#CrossDataCenterReplication%28CDCR%29-Monitoringcommands > > -- > Renaud Delbru > > > On 29/05/16 12:10, Adam Majid Sanjaya wrote: > >> I’m testing Solr 6 CDCR, but it’s seems not working. >> >> Source configuration: >> >> >> targetzkip:2181 >> corehol >> corehol >> >> >> >> 1 >> 1000 >> 128 >> >> >> >> 5000 >> >> >> >> >> >> ${solr.ulog.dir:} >> >> >> >> Target(s) configuration: >> >> >> disabled >> >> >> >> >> >> >> >> >> >> >> cdcr-proccessor-chain >> >> >> >> >> >> ${solr.ulog.dir:} >> >> >> >> Source Log: no cdcr >> Target Log: no cdcr >> >> Create a core (solrconfig.xml modification directly from the folder >> data_driven_schema_configs): >> #bin/solr create -c corehol -p 8983 >> >> Start cross-data center replication by running the START command on the >> source data center >> http://sourceip::8983/solr/corehol/cdcr?action=START >> >> Disable buffer by running the DISABLEBUFFER command on the target data >> center >> http://targetip::8983/solr/corehol/cdcr?action=DISABLEBUFFER >> >> The documents are not replicated to the target zone. >> >> What should I examine? >> >> >
Re: Solr 6 CDCR does not work
Hi Adam, could you check the response of the monitoring commands [1], QUEUES, ERRORS, OPS. This might help undeerstanding if documents are flowing or if there are issues. Also, do you have an autocommit configured on the target ? CDCR does not replicate commit, and therefore you have to send a commit command on the target to ensure that the latest replicated documents are visible. [1] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=62687462#CrossDataCenterReplication%28CDCR%29-Monitoringcommands -- Renaud Delbru On 29/05/16 12:10, Adam Majid Sanjaya wrote: I’m testing Solr 6 CDCR, but it’s seems not working. Source configuration: targetzkip:2181 corehol corehol 1 1000 128 5000 ${solr.ulog.dir:} Target(s) configuration: disabled cdcr-proccessor-chain ${solr.ulog.dir:} Source Log: no cdcr Target Log: no cdcr Create a core (solrconfig.xml modification directly from the folder data_driven_schema_configs): #bin/solr create -c corehol -p 8983 Start cross-data center replication by running the START command on the source data center http://sourceip::8983/solr/corehol/cdcr?action=START Disable buffer by running the DISABLEBUFFER command on the target data center http://targetip::8983/solr/corehol/cdcr?action=DISABLEBUFFER The documents are not replicated to the target zone. What should I examine?
Solr 6 CDCR does not work
I’m testing Solr 6 CDCR, but it’s seems not working. Source configuration: targetzkip:2181 corehol corehol 1 1000 128 5000 ${solr.ulog.dir:} Target(s) configuration: disabled cdcr-proccessor-chain ${solr.ulog.dir:} Source Log: no cdcr Target Log: no cdcr Create a core (solrconfig.xml modification directly from the folder data_driven_schema_configs): #bin/solr create -c corehol -p 8983 Start cross-data center replication by running the START command on the source data center http://sourceip::8983/solr/corehol/cdcr?action=START Disable buffer by running the DISABLEBUFFER command on the target data center http://targetip::8983/solr/corehol/cdcr?action=DISABLEBUFFER The documents are not replicated to the target zone. What should I examine?