Gravatar for

Question by nickstephens, Jun 29, 2015 4:46 PM

Coveo for Sitecore - Utilize CES Mirror

We've installed a mirror for CES and have it configured and synchronized with our Master CES instance.

Our end goal is to have the ability to load balance requests from Sitecore, as well as for redundancy. However, we're not able to find documentation explaining how to tell Coveo for Sitecore that a mirror exists. The only documentation we can find is specifically for configuring mirrors and failovers via the Coveo .Net Front End Components.

Is this goal achievable and if so, is there documentation that you might point me towards?


1 Reply
Gravatar for

Answer by Simon, Jun 30, 2015 7:18 AM

Hi, using the JavaScript UI/Rest API, you simply need to specify the server URI in the config.yml file of your Coveo Search API.

  uri: https://[yourloadbalancer]:52810

Hope this helps.


Gravatar for

Comment by nickstephens, Jun 30, 2015 9:43 AM

When configuring a mirror, it doesn't seem like anything but the CES service is installed. There is no REST endpoint on the mirror server. From what we can tell, when a search query is performed from a search interface, the first request it to localhost/coveo/search, after which, Coveo sends a request to localhost:52810/7.0/CoveoSearchService.

Gravatar for

Comment by Simon, Jun 30, 2015 9:57 AM

The Coveo Search API is not installed automatically with the Coveo Installation wizard, see point 3 of the installation doc:

You can install the search API on the CD server, in which case the Coveo.SearchProvider.Rest.confg file will point locally, while the config.yml will point toward the load balancer.

Alternatively, you can install the Search Api on the mirror. In this case, the config.yml points locally, but the Coveo.SearchProvider.Rest.config will point to the load balancer on port 8080 (default)

Gravatar for

Comment by nickstephens, Jun 30, 2015 12:05 PM

Alright, that makes sense. I was able to install Search API on the mirror and point Sitecore's Coveo.SearchProvider.Rest.config to the mirror. Thank you for the help Simon!

Ask a question