CM - CD configuration
Hi Coveo gurus.
We had a tough time setting up the coveo environment with a lot of licensing and other problems.
We got a setup with 1 CM and 1 CD server and have now succeeded in configuring the CM server as it should.
We have CES on premise
On the CM the diagnostic page is all green and the search page works. We're getting relevant search results, so that is fine.
We're following this page to set up the CD:
- Changed the source names
- configured the farm name
- Configured the UseHostHeaderForRequestURL Setting
- copied the content of the files section of the coveo for sitecore install package
- copied the config files from CM to CD
- activated the switchmastertoweb.config
- skipped the Sitecore login validation and credentials update
So I think we've covered it all.
Now our search page on CD returns an exception:
7008 15:50:57 WARN Precondition failed: The parameter 'm_CloudPlatformConfiguration' must not be null
7008 15:50:57 ERROR Exception occurred while trying to validate license in the content editor. Features will be disabled.
Message: Precondition failed: The parameter 'm_CloudPlatformConfiguration' must not be null
Parameter name: m_CloudPlatformConfiguration
at Coveo.Framework.CNL.Precondition.NotNull(Object p_Parameter, String p_ParameterName)
at Coveo.SearchProvider.Licensing.CloudLicenseRetriever.GetLicense(Boolean p_ForceRetrieve)
at Coveo.SearchProvider.Licensing.Cloud.LicenseRetriever.GetLicense(Boolean p_ForceRetrieve)
at Coveo.SearchProvider.Licensing.LicenseManager.RetrieveLicense(Boolean p_ForceUpdate)
Any idea what we have to do to get the CD working?
We can't do anything in sitecore since that is disabled on CD (as it should)
Are you sure you have the Coveo.CloudPlatformClient.Custom.config file in the Include/Coveo folder of your CD? In the showconfig, you should see a section
<cloudPlatformConfiguration type="Coveo.Framework.Configuration.CloudPlatformConfiguration, Coveo.Framework">