问题描述
如果我有一对夫妇的实例(规模= 2)部署Web应用程序(以前称为Azure的网站)在Azure中的应用程序托管计划的将在实例前面的负载平衡器关心,如果任何的实例是不健康的?的
If I deploy a web app (formerly known as an Azure WebSite) to an App Hosting Plan in Azure with a couple of instances (scale = 2) will the load balancer in front of the instances care if any of the instances is unhealthy?
我排除有时会导致我的网站返回一个HTTP 503〜50%的时间的问题。在这里,我的想法是,的我的两个实例的出现故障,但负载平衡器还没有注意到的。
I'm troubleshooting an issue that sometimes causes my site to return an http 503 ~50% of the time. My thinking here is that one of two of my instances has failed but the load balancer hasn't noticed.
如果负载平衡器的不小心的,它是什么样子的呢?我找不到反正指定一个ping URL,例如
If the load balancer does care, what does it look for? I can't find anyway to specify a ping url, for instance.
注:这个问题具有的没有的做流量管理器
Note: this question has nothing to do with Traffic Manager.
推荐答案
是,Azure的Web应用程序通过内部请求并验证它们是健康的监控工人的健康。
Yes, Azure Web Apps monitors the health of the workers by making internal requests to it and verifying that they're healthy.
不过,我们不检查状态codeS的Web应用程序返回到用户请求(如500等),因为这很容易被一个应用程序特定的问题,而不是与机器有问题。
However, we don't check status codes that the web app returns to user requests (like 500, etc) since that could easily be an app specific issue rather than a problem with the machine.
所以,你要寻找的答案是:我们不断测试实例(虚拟机)是否是健康的,并取下来,如果他们不是。然而,这些测试不依赖错误codeS客户现场返回
So the answer you're looking for is: We continuously test whether or not the instances (VMs) are healthy and take them down if they're not. However, those tests do not rely on error codes the customer's site returns
这篇关于难道一个Azure的Web App的护理如果情况是健康/不健康?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!