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
- RestSharp.dll
...
- (Used for calling web services
...
- )
3 Copy all configuration files into the CD server
locate Locate the DAM For Sitecore configuration on the CM server: <website root>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:
- Configuration file DFS.Settings.config
- <setting name="DFS.AssetDatabase" value="master" /> change value to web.
- <setting name="DFS.AssetIndex" value="dfs_assets_master_index" /> change master to web.
- Add entry for httphandler in web.config, see DFS 9.3.0 - 3 Setting up Sitecore, section 3.1
- For Sitecore 8.x, disable configuration file DFS.Assets.Lucene.Index.Master.config. This is done by adding adding a ".disabled" extension to the end of the file. This is not needed in Sitecore 9.
...
For a CD Server, there is no reason for the auto-synchronization to run, as that is handled by the CM server.
To disable this, comment out the <hooks> </hooks> section in DFS.Connect.config found under Configuration/Sitecore.
6 Disable security on DFSMedia pipeline (optional)
Everytime Every time an asset is displayed on a page, a security check is made. For some sites (i, e.eg. public sites), this is not needed and hence . Hence disabling this , increases will increase the performance of serving media.
To disable the security check, locate locate the pipeline DFSMedia in DFS.Services.config config and comment out comment the processor: <processor type="DFS.Services.Pipelines.DFSMedia.CheckSecurity, DFS.Services" />
...
Info |
---|
If you do not disable the security checks, because it is important, then due to them being important for you, then, as a minimum, the extranet\Anonymous user must be assigned role sitecore\Digizuite DAM for Sitecore Users as a minimum. |
7 Publish relevant parts of master to web
...