Solr Cluster Configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2013 11:45 AM
How do you configure 2 Solr nodes in a clustered mode for 4 Alfresco 4.1.4 cluster
4 Alfresco node cluster -> 2 Solr node cluster
I would appreciate if someone can point me the step by step documentation. I did not find it anywhere
Thanks,
Adit
4 Alfresco node cluster -> 2 Solr node cluster
I would appreciate if someone can point me the step by step documentation. I did not find it anywhere
Thanks,
Adit
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2013 12:21 PM
You put a load balancer in front of the solr nodes. (for the search service in Alfresco to use) And then decide whether each instance of solr tracks one of the 4, or more via another load balancer for solr to track the repo.
Another option is you add a repo to the 2 solr nodes to the cluster so each instance of solr tracks its own repository instance.
Another option is you add a repo to the 2 solr nodes to the cluster so each instance of solr tracks its own repository instance.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2013 12:27 PM
Is there official documentation or recommendation of approach provided by Alfresco for its enterprise versions?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2013 09:28 AM
Did you find any more information? I'm trying a setup with multiple solr nodes.
With each solr node tracking one of the Alfresco nodes, would you get a correct search result through the loadbalancer in front? Or just the result that was indexed by the solr node you are balanced to?
Would you use a SOLR cluster ( http://wiki.apache.org/solr/ClusteringComponent#Document_Clustering) ?
Thanks,
Glenn
With each solr node tracking one of the Alfresco nodes, would you get a correct search result through the loadbalancer in front? Or just the result that was indexed by the solr node you are balanced to?
Would you use a SOLR cluster ( http://wiki.apache.org/solr/ClusteringComponent#Document_Clustering) ?
Thanks,
Glenn

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2013 09:47 AM
Is there a way to setup a solr slave server with the alfresco solr implementation?
I tried disabling the master and enabling the slave section for the replication requestHandler in solrconfig.xml,
But it seems like the masterUrl parameter must be http while alfresco solr is using https.
Using an http url throws the following error, while the url works in a browser but gets redirected to the https url:
2013-07-18 15:35:00,028 ERROR [solr.handler.SnapPuller] [pool-3-thread-1] Master at: http://localhost:8080/solr/archive/replication is not available. Index fetch failed. Exception: Request failed for the url org.apache.commons.httpclient.methods.PostMethod@31976629
Using the https url throws the error:
2013-07-18 15:32:00,023 ERROR [solr.handler.SnapPuller] [pool-3-thread-1] Master at: https://localhost:8443/solr/archive/replication is not available. Index fetch failed. Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
How can I get this setup working?
Thanks,
Glenn Laenen
I tried disabling the master and enabling the slave section for the replication requestHandler in solrconfig.xml,
But it seems like the masterUrl parameter must be http while alfresco solr is using https.
Using an http url throws the following error, while the url works in a browser but gets redirected to the https url:
2013-07-18 15:35:00,028 ERROR [solr.handler.SnapPuller] [pool-3-thread-1] Master at: http://localhost:8080/solr/archive/replication is not available. Index fetch failed. Exception: Request failed for the url org.apache.commons.httpclient.methods.PostMethod@31976629
Using the https url throws the error:
2013-07-18 15:32:00,023 ERROR [solr.handler.SnapPuller] [pool-3-thread-1] Master at: https://localhost:8443/solr/archive/replication is not available. Index fetch failed. Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
How can I get this setup working?
Thanks,
Glenn Laenen

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2015 04:12 PM
HI Adit,
I am new to alfresco and need to set up solr cluster with alfresco cluster on alfresco 5. Please share the steps with me.
We need to install 2 alfresco nodes in cluster and 2 solr nodes in cluster.
I am new to alfresco and need to set up solr cluster with alfresco cluster on alfresco 5. Please share the steps with me.
We need to install 2 alfresco nodes in cluster and 2 solr nodes in cluster.
