Configure a dedicated email dispatch server
Dedicated EXM servers generate messages in the same way as the master server does. This allows you to speed up the message generation and sending process. You can install one or more dedicated email dispatch servers depending on your typical dispatch scenario and deployment environment. All servers share the same databases.
To configure a dedicated server:
-
On the dedicated server, install Sitecore Experience Platform and configure it as a basic Content Management server. You can combine it with other server roles as needed.
ImportantTo avoid installation issues, you should start configuring a dedicated server with a clean Sitecore installation without EXM-related files or settings.
-
On the dedicated server, set the folder permissions required for Sitecore to run.
-
On the dedicated server, in the
Sitecore.configfile, edit the absolute paths so that they point to correct locations. For example, in thedataFoldersetting. -
On the dedicated server, in the
\App_Config\ConnectionStrings.configfile:-
Ensure the connections point to the same databases as the master server uses.
-
Add the
exm.masterconnection string: -
Add the EXM.InternalApiKey connection string, for example:
The format of the connection string value is represented by a 64-character hexadecimal format. The connection string value above is just an example and should not be used.
-
-
Extract the relevant Email Experience Manager - Email processing package to your website root folder on the dedicated server.
-
On the master server:
-
Add the EXM.DedicatedDispatchService connection string:
-
In the
Sitecore.EmailExperience.ContentManagementPrimary.configfile, in theDedicatedServerssection, enter the address of the dedicated server. For example:
NoteIf you enter the IP address of the dedicated server in the address setting (for instance:
<address value="http://10.38.41.24" />), then on the dedicated server, Sitecore must run on the default web site. -
You have now configured the dedicated server. You can configure several dedicated servers using this procedure.
When you start the dispatch process on the master server, the same process starts on the dedicated servers. As long as there are subscribers left in the list in the EXM dispatch database, each server accesses the list, takes one of the remaining subscribers, generates the message for them, and passes the message to the message transfer agent configured for this server.
Use the Sleep setting to balance the load between the master server and the dedicated servers.