Try our conversational search powered by Generative AI!

Load balancing and SiteId



Where can I find the SiteId for each machine in a multi server scenario? Looked in various config files but I can't find any...

Is there a new guide for 7.5 regarding how to setup a load balanced environment?


Jun 10, 2014 15:16

does the sitesettings info here help ?

Jun 10, 2014 16:07

Not much besides that it is totally gone...

We are trying to set up the net.tcp load balanced scenario and I found this blog from nansen

and they talk about site settings to be enabled etc:

"The first thing you need to do is update your episerver.config file so that each site has event handling turned on. There are two attributes that are required in the <siteSettings> element. These attributes are enableEvents and enableRemoteEvents. Both of these should be set to "true". If you have an EPiServer enterprise environment, you must do this for each<siteSettings> element for each <site>."

So, now I am a little curious how I shall do in 7.5...

Any ideas are appreciated


Jun 10, 2014 16:38

Hi Folks,

I was the original author of the Nasen blog post regarding Load Balacing using Net TCP (  I have experience doing this with 6R2, but have yet to do this with 7.5.  Luckily I'm in the process of configuring load balancing for 7.5 - I'll get back to you shortly with more information - hang tight.

One thing to check is:

In 7.5, all site configuration is managed via the DDS - I believe this includes the what is formerly referred to as a SiteId (now called Name?). There is no more site configuration in episerver.config.  Take a look at the Website Configuration section in Admin -> Config and I'll bet you'll be able to set the Name and configure your site.  Try using the Name field the way we formely used the SiteId.



Jun 10, 2014 18:32

Ok nice Rob sounds promising!

However, when I am looking into the SiteDefinitionRepository, each site just have guid and the some standard stuff like root, startpage etc. 

But where do I enable the remoteevents? In the "good old days" it was a flag in episerver config, I don't need to enable anymore?

Jun 10, 2014 19:04

Interesting... I have been talking to epi support and they don't have a tech guide for load balancing in 7.5, is that true? Makes me worried!

Jun 11, 2014 20:19

Hi Freguz,

Load balancing for 7.5 should be no different than load balancing for 7. You do not need to set the flags enableRemoteEvents anymore, this was removed in CMS 6 R2. 

The only thing necessary should be to comment in the eventreplication service in the web.config.

Hope this helps!


Edited, Jun 11, 2014 23:37

Has anyone been able to configure this properly? Robert Strube, did you manage to set it up?

Jul 16, 2014 13:45

In 7.5 siteId has been changed to HostingEnvironment.SiteName - In other words, the site name in IIS.

Jul 17, 2014 15:33

Thank you Mattias. I used site name in IIS and managed to set up the event sync. Now it is works perfectly!

Jul 18, 2014 11:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.