What are the steps to easily identify which environment is configured for CD and CM? Suppose you are given with number Sitecore servers and you want to find out which one is being configured as. For some reasons, if all the servers have never been configured as CD vs CM what are the best approach to start configure them?

  • what Sitecore version do you have? – Vlad Iobagiu Mar 29 at 4:42
  • I have Sitecore 8.2 initial release – Ethan P Mar 30 at 22:17
up vote 7 down vote accepted

Answer to this question will slightly vary on your Sitecore Version but I am listing out most common differentiating factors. If earlier both the environments were configured correctly than you can easily find out the following difference:

Sitecore Admin Panel and Admin pages

Mostly Sitecore Admin Panel and Admin Pages is restricted on the CDs. Hence if on the URL if access to the Sitecore Admin console it restricted, means it is configured as CD.

Configuration Files on Content Management

  1. Connection string will have all the databases configured – Core, Master, all Publishing Targets and Reporting DB (If you are using xDB, since you are on 8.2).
  2. SwitchMasterToWeb.config will be either disabled or not configured.
  3. If using xDb, Reporting Database should be configured on CM
  4. The Robot Detection component is not required on a CM.

Configuration Files on Content Delivery

  1. Connection String will mostly have only – Core, Web and Mongo DBs (If you are using xDB, since you are on 8.2). BUT NO MASTER DB.
  2. SwitchMasterToWeb.config will be probably enabled and configured properly.
  3. If using xDb, Collection Database should be configured on CDs.
  4. The Robot Detection component is required on a CD.

Load Balanced

In most implementations CDs are load balanced, if you don’t have topology diagram of the current setup, check if it is an F5 URL communicating with more than 1 web servers at the background.

More detailed comparison of the configuration file can be found in this Excel:


Please refer the URLs below for more details, if needed:

Configure a Content Management Server

Configure a Content Delivery Server

Note:

  1. URLs provided above are for Sitecore Version 8.2.
  2. Assuming you don't have dedicated Processing and Reporting Servers configured. Cause if you have multiple content management servers, there should be a dedicated Reporting Service server.
  3. Steps to configure CM and CD depends on your Sitecore Version, please update the question with the details and will update my answer accordingly.
  • I think "Analytics" should be removed from "Core, Web and Analytics DBs" this list, per this: doc.sitecore.net/sitecore_experience_platform/82/… – Dan Solovay Oct 18 at 20:59
  • @DanSolovay, the answer is based on an assumption that there are no Reporting and Aggregation servers in scaling, just 1 CM and 2 CD. As it is not mentioned in the question as well. Hence if we have just CM and CDs, connection string on CD will have the Analytics DB string. – Amitabh Vyas Oct 18 at 21:10
  • Will it? In a non-scaled environment, doesn't CD write to MongoDB processing pool, and CM grabs from processing pool and writes to reporting db? – Dan Solovay Oct 19 at 14:03
  • Correct. Hence the MongoDB connection strings will still be on CDs and Reporting DB connection strings on CMs. But I know where you are coming from, re-phrased my answer please have a look. – Amitabh Vyas Oct 19 at 14:17
  • Looks good. Sitecore uses "reporting" and "analytics" rather loosely. Thanks for clarifying. – Dan Solovay Oct 19 at 15:34

CD ConnectionString Config would have only Core and Web Databases. CM ConnectionString Config should be Referring to Master as well.

In addition you can ping your CMS domain from CMD to get the IP of the server (If its not Load balanced).

There are many ways to understand the CM and CD environment.

Zones – Usually CM servers are kept in DCLAN Zone which is usually not accessible out side the client network. CD Servers are kept in DMZ which is globally accessible for public facing sites.

Sites Node - In Sitecore 8.0 and above you can go to sitecore.config file in Include folder. There unser node you will find all the sites including sitecore default sites like – Here you will get one node of your site, there you can check for the Database. If the database is pointing to “Master” then the site is a CM site or if it is pointing to “Web” it is CD site

Connection String – In Connection String for CM Server you will get connection strings for Core, Master and/or Web database. In Connection String for CD Server you will get connection strings for Core and Web database.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.