Building a Content Delivery (CD) server
Building a Content Delivery (CD) server.
The role of the content delivery server is to deliver content from the web database to the public.
A configured CD server should have no access to the master database or its search indexes. There is no access to any master resources. This could cause issues installing packages that contain items from the master database. A workaround for this package issue is to always install all packages before turning the site to be a CD server. These steps assume that SQL Server and MongoDB instances have already been setup, preferably on a separate machine from the CD server.
The following steps are for setting up the CD server:
Create accounts to be used as app pools. For more information, see the What are the required accounts and groups to create topic.
Set up a Sitecore site. For more information, see the Sitecore installation topic.
Secure Sitecore databases. For more information, see the Database permissions topic.
Install Commerce Server. For more information, see the Commerce Server installation topic.
Install and configure SCpbCS in the same way as a single server setup.
Exceptions
Enable the \App_Config\Include\CommerceServer\CommerceServer.SwitchMasterToWeb.config.disabled file by removing the .disabled from the file name.
Configure the Profile System Encryption. For more information, go to How to configure encryption keys for Profiles System data. This only applies to SCpbCS.
If you are creating a Microsoft Dynamics AX solution then you now need to install and configure SCpbMD in the same way as a single server setup.
Exceptions.
Do not setup the routing service. It is only required by the CM environment.
If using Solr now is the time to set it up.
Follow the Solr setup setting in the Single Server setup for SCpbCS and SCpbMD.
Once the CD server has been setup.
Publish all content from the CM Web database to the CD Web database.
Index all content in CD Web or copy the search indexes from the CM to CD environment.
The step by step guide for setting up a Sitecore instance to be a Content Delivery server can be found in the Configure a content delivery server topic.