Skip to content

4. Install Solr Nodes

ivanbuzyka edited this page Aug 8, 2018 · 4 revisions

Install Solr Nodes as Windows services

Download appropriate supported version of Apache Solr and unzip that into VM. I used Solr 6.6.2 which is compatible with latest (at the time of writing this wiki) Sitecore 9.0.1.

Install Solr as a service in the way it is described in the following blog post: (https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/) However, make sure to start configure Solr service to be started with following specific parameters, for example:

start -c -f -z "10.1.0.9:2181,10.1.0.10:2181,10.1.0.11:2181" -p 8984

If your are configuring Solr with SSL and would like to use self-service certificate, add one more parameter, so that it will look like following:

start -c -f -z "10.1.0.9:2181,10.1.0.10:2181,10.1.0.11:2181" -p 8984 -Dsolr.ssl.checkPeerName=false

Note: even despite of the fact that Sitecore 9 supports Solr only in SSL mode, you can skip SSL configuration of the SolrCloud. SSL offloading can be delegated to the Application Gateway (or other network appliance that should support SSL offloading). In other words that endpoint will be doing all the SSL stuff (encryption/decryption etc.)

Note: That means that all the traffic to the Solr endpoint (that will be hosted by Application Gateway) will be done over HTTPS and then forwarded to SolrNodes via HTTP. Please consider possible risks of transferring unencrypted traffic. In my case that is not a problem, since HTTP requests will be done inside of Azure vNet with no access from outside. However, your case may differ. //tbd