Hot answers tagged

19 votes
Accepted

Does the Time and Timezone between all CD's and CM's need to be the same?

I would say it's of high importance. Depending on the event queue interval, if all your CD's share the same core database, it can cause index triggering to be missed. Typical event queue checks are ...
MikeD's user avatar
  • 870
16 votes
Accepted

Setting up multiple publishing targets

Scenario Let's say you need create a second publishing target called staging. Steps Publishing Target You need to create an item for the new database in the content tree at the path /sitecore/...
Hishaam Namooya's user avatar
14 votes
Accepted

How do I keep my production site online when doing deployments?

We do our deployments as follows in our 8.1 environment using Team City, Octopus deploy and Unicorn (this is Simplified): a rewrite rule tells the load balancer to take CD1 out of the pool push the ...
Adam Seabridge's user avatar
12 votes
Accepted

Sitecore 9 hardware requirements

At the time of writing, the only official guidelines for hardware are the standalone on-premise installation in the installation guide and the the ARM templates topologies: https://kb.sitecore.net/...
Jason St-Cyr's user avatar
  • 6,761
11 votes
Accepted

Analytics.ClusterName in a multi-site scaled environment

Background The setting Analytics.ClusterName serves two main purposes: It is used as the identifier of the cluster that locks contacts in xDB; It is used by clusters to transfer sessions and jobs to ...
Dmytro Shevchenko's user avatar
11 votes
Accepted

How does Sitecore update the Link Database?

An important note to start: the "Links Database" is a table named "Links" that lives inside a Sitecore database. It is not a separate database. Sitecore only updates the Link Database on the database ...
Ed Schwehm's user avatar
  • 3,016
10 votes
Accepted

Unable to serialize the session state. Sitecore.ContentSearch.SearchTypes.SearchResultItem

Background What the error message means is that an object of type SearchResultItem could not be serialized as part of a session that is saved to a session store. There are two types of sessions used ...
Dmytro Shevchenko's user avatar
9 votes

How do I keep my production site online when doing deployments?

I would highly recommend that you watch the following presentation by Mike Edwards: Sitecore Nirvana - Continuous Deployment. It's about two sets of databases being replicated. It all comes down to ...
ASura's user avatar
  • 2,363
8 votes

Sitecore 8.2 does not officially support Windows Server 2016 but is it compatible in reality and will it work in production

It comes down to support. Is there a known reason Sitecore wouldn't work on 2016? No. It will run on 2016 and in all likelihood there will not be any major issues in doing so. But if there is; ...
Mark Cassidy's user avatar
  • 25.1k
7 votes
Accepted

MongoDB and Disaster Recovery

Currently, for enterprise installations of MongoDB, the Sitecore Best Practice for Disaster Recovery of Mongo rests solely on the Best Practices of MongoDB specifically and are not entirely different ...
Pete Navarra's user avatar
  • 14.6k
6 votes

Is a multi-role Sitecore server ok in production?

I don't think Sitecore specifically says not to combine any roles. From what I've read, they only highly discourage using a standalone (one-instance) environment in production. Separating some roles (...
Dmytro Shevchenko's user avatar
6 votes
Accepted

Is a multi-role Sitecore server ok in production?

It depends somewhat on the modules you're running (and version of Sitecore) and the traffic of your site. For instance - there is specific guidance around when a dedicated server is needed for EXM (A ...
Chris Berg's user avatar
6 votes
Accepted

How to access ServerUrl when sitecore website setup in clustered enviroment

Normally you already specified the hostname in the site definition configuration file. You can get the hostname by calling Sitecore.Context.Site.HostName or Sitecore.Context.Site.TargetHostName. ...
Hishaam Namooya's user avatar
6 votes

Sitecore 9 hardware requirements

In addition to the other answers, the conversation really lies upon the following questions: How many instances are you licensed for? (both prod and non-prod) How much traffic, visits, concurrent ...
Pete Navarra's user avatar
  • 14.6k
6 votes
Accepted

Azure Traffic Manager and Sitecore 9.2.0 PaaS

TLDR; Yes - you have to add the my.trafficmanager.net to the site definitions of your website (considering that in your case you have added the actual bindings to the website site removing the ...
nsgocev's user avatar
  • 762
5 votes
Accepted

Best practice for Content Delivery in relation to databases

Is Saving/Updating Data from a CD Against Best Practices? Saving security/access changes from a CD is acceptable, and doesn't violate best practices. Saving data from a CD in general also doesn't ...
Zachary Kniebel's user avatar
5 votes
Accepted

Is deploying isolated Sitecore roles considered Horizontal or Vertical scaling?

From my point of view Vertical Scaling means : increase memory, cpu and separate standalone server to one CD, one CM , one processing, one reporting, etc like on below picture. For example, to ...
Vlad Iobagiu's user avatar
  • 18.3k
5 votes

best practices in scaling sitecore

I'm assuming that since you've linked the Scaling Guide that you're using VMs in Azure. If the site leans heavily towards consumption-oriented, I would put a number of content delivery servers behind ...
George Chang's user avatar
  • 1,225
5 votes

Is there a way to configure ECM to send a message from a specific server?

I believe it should be possible, by configuring your CM box to act as the "dedicated server" for your setup. With reference to this guide - section 3.1.3. E-Mail Campaign Manager for Sitecore CMS 6....
Mark Cassidy's user avatar
  • 25.1k
5 votes

How do I keep my production site online when doing deployments?

If your only need is to keep the CD nodes only and you are okay with downtime on the CM, you can achieve 100% uptime of your CDs during deployments using a second publishing target. CD1 => Connected ...
Jason St-Cyr's user avatar
  • 6,761
5 votes

Publish to a core database

We have always used database-level replication to keep core databases in sync. I don't have experience doing this with publishing, but I have a couple concerns. These are things that happen when an ...
Dan Sinclair's user avatar
  • 5,365
4 votes

Is there a way to configure ECM to send a message from a specific server?

You could create the email and later scheduled it, instead of sending it. As you should have removed the sections that let ECM send scheduled emails from the CD (section 3.4.2 of this document), only ...
Vicent Galiana's user avatar
4 votes
Accepted

Setting up multiple CM servers

You will need to have only one database. In other words, if you have 3 CM Servers, all of them should be connected to the same database. For running of tasks, that is, scheduled jobs, you can setup ...
Hishaam Namooya's user avatar
4 votes

Number of servers in a standard Sitecore 9.0.1 XP1 Installation

Dylan Young pointed out that this is likely an opinion-based answer, and I agree. It will completely depend on your solution and how you plan on using the different roles. Which features you use and ...
Jason St-Cyr's user avatar
  • 6,761
4 votes

Sitecore 9 XP1 Installation with xDB on separate SQL Server

For installs where I have had to use SIF in a scaled environment, I have had to do some tricky installs. Maybe some of this can help: First, I was able to locate a script that worked really well in ...
Justin Bradley's user avatar
4 votes

Sitecore CD instance - Restrict access to Sitecore folder without blocking keepalive.aspx?

I'm not aware of a way to do what you are asking because deny permissions are always stronger than grant permissions, so the instruction to deny access to /sitecore/* would beat the instruction to ...
Dan Sinclair's user avatar
  • 5,365
3 votes
Accepted

How to achieve different field values based on environment?

The best approach is to used configuration file. You can easily deploy the configuration files to the required environment. Doing this in Sitecore is typically very difficult and there is no OOTB ...
Hishaam Namooya's user avatar
3 votes

Sitecore Content Limitation, best strategy way forward

From the experience I have with Sitecore, we have rolled out 70+ sites on sitecore. Below are the following points/practice we usually follow when implementing our sites. Content Sharing You may ...
Hishaam Namooya's user avatar
3 votes

Does the Time and Timezone between all CD's and CM's need to be the same?

I think Time synchronization is important, but Timezone is not. From what I see EventQueue timestamps use UTC time, whatever the local time of the system, so long as the clocks are in sync they can ...
Laver's user avatar
  • 565
3 votes

How do I keep my production site online when doing deployments?

If you have two CD servers behind LB, you can switch OFF 1st CD, clone databases and update content change connection strings on 1st CD update code of 1st CD switch ON 1st CD, Later you can ...
Alan Płócieniak's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible