Installing the Synchronization Service

The Commerce Synchronization service controls when tasks are synchronized to extract and transform catalog data.

Download the synchronization service executable.

  1. Open the configuration file for the serviceSitecore.Routing.SynchronizationService.exe.config. In the appSettings section, validate that the ServiceInterval option repressents an acceptable value for your enivronment.
    <appSettings> 
    
        <!-- Service interval in minutes --> 
    
        <add key="ServiceInterval" value="1" /> 
    
        <add key="ClientSettingsProvider.ServiceUri" value="" /> 
    
      </appSettings> 

    This value represents the amount of time the service will sleep before starting a new synchronization process.

  2. Execte the "Deploy-InstallService.ps1" PowerShell script that is located in the following directory: $\CS\FB3\DynamicsRetail\Storefront\Deployment .
    Before running the script, open “Deploy-Env-Common.ps1” in your preferred text editor to verify that the $synchServiceDirSrc value corresponds to the source location of your Synchronization Service executable. This value is set to match the binaries folder in a development environment by default. For example:
    $synchServiceDirSrc = "..\..\..\Binaries\Debug\SynchronizationService\" 
    $synchServiceDirDst = "C:\Sitecore Synchronization Service\" 
  3. Run the installation script by opening a new PowerShell command window and running the Deploy-InstallService.ps1, following the result in the command window.
    After a successful installation, the service will be available in the Service Management Console.