Solrcloud Drupal 7

2017-12-11 Thread Per Qvindesland
Hi All

I have a solr cloud with zookeeper 3.4.10 and solr 5.4.1, i on 3 centos 7 
instances in AWS, I intend to use the cluster for Drupal 7 search.

At the moment we have 2 instances running in production with each having their 
own solr installation (no cloud) but I would like to improve the redundancy and 
maybe even the performance, I followed 
http://www.francelabs.com/blog/tutorial-deploying-solrcloud-6-on-amazon-ec2/ to 
get the cloud up and running but I need some guidance on how to add in a new 
shard/collection so I can point the drupal instances to the new solr cloud, 
does anyone have any information on how to do this? as you can see i have no 
experience with solr cloud :)

Regards
Per





Re: Solrcloud Drupal 7

2017-12-11 Thread Per Qvindesland
Hi 

Thanks for the information.

Once the collection is created how do you drop such as the schema.xml to the 
folder locations, I have used rsync -av search_api_solr/solr-conf/5.x 
/var/solr/data/search_shard2_replica1/ on one instance but I can’t see the 
files being replicated between the instances.

Regards
Per




> On 11 Dec 2017, at 14:57, Fengtan  wrote:
> 
> Hi,
> 
> Drupal can talk to a SolrCloud cluster the same way it talks to a
> standalone Solr server, i.e. by using the Search API suite
> https://www.drupal.org/project/search_api
> 
> You will have to create the collection yourself on Solr though (Drupal will
> not do it for you).
> 
> If you want to take advantage of SolrCloud's fault tolerance capabilities
> then you may have to:
> * either use an external load balancer in front of your SolrCloud cluster
> * or implement a smart client in Drupal -- I opened this ticket some time
> ago https://www.drupal.org/project/search_api_solr/issues/2858645
> 
> 
> 
> On Mon, Dec 11, 2017 at 7:48 AM, Per Qvindesland  wrote:
> 
>> Hi All
>> 
>> I have a solr cloud with zookeeper 3.4.10 and solr 5.4.1, i on 3 centos 7
>> instances in AWS, I intend to use the cluster for Drupal 7 search.
>> 
>> At the moment we have 2 instances running in production with each having
>> their own solr installation (no cloud) but I would like to improve the
>> redundancy and maybe even the performance, I followed
>> http://www.francelabs.com/blog/tutorial-deploying-
>> solrcloud-6-on-amazon-ec2/ to get the cloud up and running but I need
>> some guidance on how to add in a new shard/collection so I can point the
>> drupal instances to the new solr cloud, does anyone have any information on
>> how to do this? as you can see i have no experience with solr cloud :)
>> 
>> Regards
>> Per
>> 
>> 
>> 
>> 



solrcloud through aws elb

2017-12-26 Thread Per Qvindesland
Hi All

I am trying to connect to a solrcloud through a elb from a Drupal 7 install, 
the elb is a tcp elb which seems to work well, drupal says it can talk to the 
solr install through the elb but when I try to index nothing seems to happen.

Does anyone have any ideas on how to resolve this? or have any other 
suggestions on how to achieve redundancy? for the moment I am connecting to the 
solrcloud to one of the solrcloud instances, but should that fail then I don’t 
think I would have any redundancy.

Regards
Per