November Happy Hour will be moved to Thursday December 5th.

6 R2 plus CMO & Mail in a multi server environment

Vote:
 

Hi,

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?

#55306
Nov 28, 2011 10:37
Vote:
 

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

Frederik

#55320
Nov 28, 2011 15:53
Vote:
 

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.

#55323
Nov 28, 2011 16:55
Vote:
 

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

#55347
Nov 29, 2011 12:04
Vote:
 

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?

#55351
Nov 29, 2011 13:05
Vote:
 

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: http://world.episerver.com/Documentation/Items/Installation-Instructions/EPiServer-CMO/CMO-2-R2/Installing-Aggregation-Service-for-CMO-20/
  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:

#55352
Nov 29, 2011 13:05
Vote:
 

This is great info - thanks

#55353
Nov 29, 2011 13:07
Vote:
 

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).

#55360
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.