Solr High Availability Setup with Pacemaker and Corosync
This setup requires two Linux Solr hosts with an NFS resource mounted on them, a quorum device, and an HAProxy load balancer. These resources must be in an active/passive configuration.
In the following documentation, the Solr servers run on Linux CentOS 7, but you may use any Linux distribution that enables you to set up a Pacemaker/Corosync cluster.
Introduction
FileCloud provides advanced search capabilities using Solr (an open source component) in the backend. For some cases, service continuity requires a high availability setup for Solr, which you can configure using the following instructions.
Prerequisites
- The cluster in the setup used in these instructions includes the following. Your setup should have similar components.
solr01 – Solr host cluster node
solr02 – Solr host cluster node
solr03 – quorum device cluster node
solr-ha – HAProxy host
NFSShare – NFS resource mounted on solr01 and solr02
- Install all patches available for FileCloud.
Perform the following steps for sor01, solr02, and solr03.
To update all packages, run:
CODEyum update- Reboot the system.
To install the package which provides the nfs-client subsystems, run:
TEXTyum install -y nfs-utilsTo install wget, run:
TEXTyum install -y wget

