Configure Solr for HA Environments

Solr, which is used for content search and automatic content classification in FileCloud, can be configured only as a standalone system for HA environments. Solr service can be run on an application server or on a separate server. When deploying FileCloud with multiple web application servers, Solr service should only run on one server whether it’s in the same application node or a separate server.

See Install Content Search for Windows to install Solr on Windows Server or Install Content Search for Linux to install Solr on Linux.  Solr service should be binded to an IP/hostname that is accessible from the web node in this setup.

  1. Change the Solr IP binding.


    In Windows:
    1. Open the file xampp\solr\bin\solr.in.cmd
    2. Locate the line:
      REM set SOLR_JETTY_HOST=127.0.0.1
      and replace it with the following, using the IP or hostname of the Solr server in place of 192.0.2.1.
      set SOLR_JETTY_HOST=192.0.2.1
    3. Restart the Content Search service from FileCloud control panel. (The service is located at xampp\cloudcp.exe).

In RHEL/Ubuntu:

    1. Open the file /opt/solr/server/etc/jetty-http.xml
    2. Locate the line:
      <Set name="host"><Property name="solr.jetty.host" default="127.0.0.1"/></Set>
      and replace it with the following, using the IP address of the Solr server in place of 192.0.2.0.
      <Set name="host"><Property name="solr.jetty.host" default="192.0.2.0"/></Set>
    3. Restart the Solr Service by entering:
      service solr restart
      or
      systemctl restart solr
  1. Configure Solr in FileCloud.

    For help, see Setting up Content Search for Documents.