MVC Web farm Server Not Responding

Rajesh Betkiker asked on September 8, 2020 14:10

Environment:

Kentico 12 sp MVC latest hotfix
License: Full license/ultimate/2 web farm servers
Both Servers hosted on same IIS machine as different web sites 
Both using same Database and set up as Automatic

Issue:

Kentico Admin web farm server runs fine in healthy status. 
Issue is MVC web farm server goes from transitioning to not responding status.
I have tried again steps given to set up web farm as well as few suggestions given in this forum too. I would like to know where and how it marks the status as healthy. What are the conditions to be satisfied. If network issue where I need to look at, what should I test for network if its fine. If firewall issue where I need to add entry or such on AVG. I would appreciate any help.
Thanks,
Rajesh

Recent Answers


Dmitry Bastron answered on September 8, 2020 16:25

Hi Rajesh,

Could you clarify a couple more things, please:

  • Are you trying to setup multisite environment with a single CMS? Or is it the same site and you are testing multiple web farm servers?
  • Do you have 2 different Kentico MVC sites in IIS with different domain names and different app pools?
  • Do you have 1 admin site (or web application) in IIS? Is it configured as third site or web application of the existing site?

If I remember correctly, 2 web farm licenses mean 1 license for CMS (admin), one license for MVC application (1 MVC site). If you have 2 MVC sites, you need 3 web farm licenses then.

0 votesVote for this answer Mark as a Correct answer

Rajesh Betkiker answered on September 8, 2020 16:43 (last edited on September 8, 2020 19:00)

Hi Dmitry,

Thanks for the reply.

  • Are you trying to setup multisite environment with a single CMS? Or is it the same site and you are testing multiple web farm servers? [Raj] It is single CMS Single site.
  • Do you have 2 different Kentico MVC sites in IIS with different domain names and different app pools? [Raj] One kentico MVC site and one Kentico Admin site in same IIS with different sub domain names, different app pools
  • Do you have 1 admin site (or web application) in IIS? Is it configured as third site or web application of the existing site? [Raj] 1 admin site in IIS. No third site.

If I remember correctly, 2 web farm licenses mean 1 license for CMS (admin), one license for MVC application (1 MVC site). If you have 2 MVC sites, you need 3 web farm licenses then. [Raj] 1 admin one mvc site, I guess 2 licenses are enough for this configuration.

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on September 8, 2020 23:31

Ok, then it should work. What else you could do, is delete all your web farm servers from CMS interface, restart IIS and launch again. I've seen this working a couple of times. Also, please check out the troubleshooting page for web farms, there could be something useful.

A firewall typically should not be an issue, but you can also try disabling it, restart website and check if it helps. Also, might be worth checking that CMS has write permissions on App_Data folder as it should create webfarm.sync file under \App_Data\CMSModules\WebFarm folder.

0 votesVote for this answer Mark as a Correct answer

Rajesh Betkiker answered on September 11, 2020 09:23

I was doing all the right things and followed all the steps correctly.

The issue was we have a custom code in application_start reading config. That created the problem. I had to change that code to make this work.

Thanks for your help.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.