How webfarm works?

GTEK IT DEV Team asked on September 5, 2018 05:48

In this document Configuring web farm servers. We have Configuring web farms automatically. But in our scenario, we have 4 servers on azure cloud. I don't understand how Kentico can automatically find all that server and add it to webfarm servers?

Recent Answers


Brenden Kehren answered on September 5, 2018 06:19

Are you using cloud services or azure web apps? We don't work in Cloud Services much at all but web apps, it works pretty slick. Once you have the license and enable web farms, it picks up the servers automatically. If a server becomes unresponsive, it will be removed as needed.

My suggestion is if you don't need to have some sort of custom configuration of web farms servers then don't. Simply enable it and watch it work.

0 votesVote for this answer Mark as a Correct answer

GTEK IT DEV Team answered on September 5, 2018 12:59

I tried to setup the other server and connect the website to existing database. It automatically added to webfarm server. But i don't understand this situation:

  • If i have a domain abc.com point to IP 10.4.5.6 (Main server)
  • Another webfarm server IP 10.4.5.7.

The question is, when the main server is down. How can we make the request redirect to IP 10.4.5.7?. Bebause domain abc.com is pointing to IP 10.4.5.6 so the server cannot redirect the request.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 5, 2018 13:05

Be more specific about your setup. Are you using cloud services, web apps or VM's?

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on September 5, 2018 16:00 (last edited on September 5, 2018 16:07)

I don't think it is worth doing "web farm set up" in Azure. I would suggest the following:

  1. Web app (Geo replicated in different regions (for example: Central US, East US, West US) - this way if you have power outage in one region - you have other regions working.
  2. traffic manager (location based - to redirect traffic to a closest data center)
  3. Auto scale out/scale in - add/remove instances to your web app if let say CPU percentage greater 50/less 50.

Here are some docs on Kentico Web app setup

P.S. Google "azure resiliency" and "azure high availability" etc. Web farm setup in a classic way in one region doesn't make much sense.

0 votesVote for this answer Mark as a Correct answer

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