Try our conversational search powered by Generative AI!

Load balancing and SiteId

Vote:
 

Hi!

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?

/Fredrik

#87308
Jun 10, 2014 15:16
Vote:
 

does the sitesettings info here help ?
http://world.episerver.com/Documentation/Items/Upgrading/EPiServer-CMS/75/Breaking-changes/

#87326
Jun 10, 2014 16:07
Vote:
 

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
http://blog.nansen.com/2013/04/how-to-configure-episerver-load.html

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

/Fredrik

#87327
Jun 10, 2014 16:38
Vote:
 

Hi Folks,

I was the original author of the Nasen blog post regarding Load Balacing using Net TCP (http://blog.nansen.com/2013/04/how-to-configure-episerver-load.html).  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.

Thanks!

Rob

#87333
Jun 10, 2014 18:32
Vote:
 

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?

#87336
Jun 10, 2014 19:04
Vote:
 

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!

#87376
Jun 11, 2014 20:19
Vote:
 

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.

http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/75/Deployment/Deployment-scenarios/Deploying-to-Windows-Servers/

Hope this helps!

/T

#87380
Edited, Jun 11, 2014 23:37
Vote:
 

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

#88540
Jul 16, 2014 13:45
Vote:
 

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

#88577
Jul 17, 2014 15:33
Vote:
 

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

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