DFS 10.1.0 - How to configure content delivery server

This section describes how to configure a content delivery (CD) server to use DAM for Sitecore.

1 Configure the CD server according to Sitecore's specifications

Follow Sitecore's specifications on how to configure a content delivery server.

2 Copy all the DAM for Sitecore DLLs into the bin folder of CD

Copy the following DLLs into the bin folder of the CD Server

  • DFS.dll
  • DFS.Client.dll
  • DFS.Client.Services.dll
  • DFS.Connect.dll
  • DFS.Connect.Digizuite.dll
  • DFS.ContentSearch.dll
  • DFS.Digizuite.dll
  • DFS.Services.dll

3 Copy all configuration files into the CD server

Locate the DAM For Sitecore configuration on the CM server /Website/app_config/include/damforsitecore and copy it into the corresponding location on the CD Server.

Locate the patched configuration file (typically located after the damforsitecore folder) and copy it into the CD Server in the same location.

4 Change configuration on the CD Server

Change the following configuration:

  1. Configuration file DFS.Settings.config
    1. <setting name="DFS.AssetDatabase" value="master" /> change value to web.
    2. <setting name="DFS.AssetIndex" value="dfs_assets_master_index" /> change master to web.
  2. Add entry for httphandler in web.config, see DFS 10.1.0 - 3 Setting up Sitecore section 3.1
  3. For Sitecore 8.x, disable configuration file DFS.Assets.Lucene.Index.Master.configThis is done by adding a ".disabled" extension to the end of the file. This is not needed in Sitecore 9.

6 Disable security on DFSMedia pipeline (optional)

Every time an asset is displayed on a page, a security check is made. For some sites, e.g. public sites, this is not needed. Hence disabling this will increase the performance of serving media.

To disable the security check, locate the pipeline DFSMedia in DFS.Services.config and comment out the processor: <processor type="DFS.Services.Pipelines.DFSMedia.CheckSecurity, DFS.Services" /> 

If you do not disable the security checks, due to them being important, then, as a minimum, the extranet\Anonymous user must be assigned role sitecore\Digizuite DAM for Sitecore Users.

7 Publish relevant parts of master to web

See DFS 10.1.0 - 5 Synchronize Silo section 5.2