0

We are in process of installing Sitecore using Solrcloud using SIF. In SIF we have to pass Solr URL, Solr Root and service name in order to create collection/cores. We are not sure how to pass solr root and windows service as these details are not known in SolrCloud.

So my questions is if we need to install Sitecore using SIF with Solrcloud, how to pass the above 2 parameters.

Or is there any alternate way to solve this problem.

Thanks,

3

3 Answers 3

1

Sitecore will be installed normally but you will need to do additional work to configure Sitecore to use SolrCloud like upload the Solr configuration to Zookeeper. Add token solrCloud=true with the value of solr search key in ConnectionStrings.config file.

You can find more detail here:

https://doc.sitecore.com/developers/92/platform-administration-and-architecture/en/walkthrough--setting-up-solrcloud.html

1

We setup SOLR cloud in first place with all necessary cores. As a 2nd step we installed Sitecore with local instance of SOLR. Once Sitecore is setup we changed the necessary configurations files to point it to SOLR cloud. Although it is mentioned that SSL has to be enabled for SOLR, our SOLR cloud (without SSL) worked fine with Sitecore.

1
  • You'll have a lot of issues with xconnect unless you have modified all the configs to allow non https for solr. Commented Jan 3, 2020 at 23:46
1

The approach that we followed is -

Step 1 - Instead of using XP1-SingleDeveloper.ps1 file for installation, we used individual json files (that you get with XP1 Sitecore intallation package) to install instances of identityserver, cm, cd and xconnect instances.

Step 2 - In the json files, we removed the code to create and update solr cores.

Step 3 - After the instances were setup, we created cores on SolrCloud and provided reference of solrcloud in ConnectionStrings.config file.

Step 4 - Then we populated and rebuild the cores and it worked fine.

Note - This approach should be followed when you have appropriate amount of time to setup CM and CD instances.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.