SaaS CMS has officially launched! Learn more now.

6 R2 plus CMO & Mail in a multi server environment



I have been asked to set up a 3 server environment with 1 server acting as an 'authoring' environment with the other 2 being a load balanced pair serving a public facing site.

Do I need to install Mail & CMO on all 3 servers?

Nov 28, 2011 10:37

Yes, but you can remove the admin interfaces for the public facing servers by modifying their episerver.config.


Nov 28, 2011 15:53

You might also have to keep the "Public" interfaces for EPiServer Mail because those are used when tracking opened and bounced emails etc. The "might" depends on your configuration for EPiServer mail, you specify the full URL:s including host in the episervermail section of your configs. So it is possible to route all such requests to the edit server though I would recommend using the actual site URL (to the load balancer) and keeping the parts of the EPiMail interface needed on all servers. Basically the /episervermail/public folder should be enough but I have never tested to remove the rest of the folder structure.

Nov 28, 2011 16:55

Many thanks for your comments - This will be interesting :)

Nov 29, 2011 12:04

Another complication has been raised; the 2 Live servers will share a single database.  presumably this means that 2 Mirroring Channels will need to be created - how to prevent the database being written to twice?

Nov 29, 2011 13:05

Regarding CMO, you can try this approach:

  1. Install CMO Core, CMO UI and Statistics handler on each load balanced servers. Create new CMO database when you are installing CMO on first site; use existing CMO database when you are installing CMO on all other servers. So you will have the one CMO database for all sites/servers.
  2. Since URL of Thumbnail service is shared settings for all sites, you can have Thumbnail service installed only on one machine. Thumbnail service should be accessible for all load balanced servers. And and vice versa - Thumbnail service should be able to access your site to make screenshots. Make sure that secret key in app settings is the same for service and all sites.
  3. Manually install CMO Aggregation service on one server, probably where you have databases. Point Aggregation service to CMO database for your sites. See details here:
  4. If you want to use CMO admin UI on all servers, make sure that load balancing server is configured to use sticky sessions.


More information about CMO configuration:

Nov 29, 2011 13:05

This is great info - thanks

Nov 29, 2011 13:07

About mirroring - as mentioned in the Mirroring technote "The Mirroring application can even be hosted on a totally separate machine to the source and target sites." (unless you ar using legacy mirroring).

Nov 29, 2011 13:33
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.