I've got a load-balanced end-point being served by 2 vms, and I shut down one of them through the web interface, however it seems that the shut-down endpoint is still being included in the load-balancer rotation. Is this the case or am I missing a silly mistake on my part?
问问题
463 次
1 回答
0
您是在谈论新的“Windows Azure 虚拟机”还是“基于 Web/Worker 的 VM”?
使用 Windows Azure 虚拟机,您可以创建多个单独的虚拟机,并使用带有参数“-LBSetName”的 Powershell cmdlet“get-azurevm”来设置探针负载平衡下与 -LBSetName 设置相同,如下所示:
get-azurevm -ServiceName "XXXX" -Name "XXX" | Set-AzureEndpoint -Name "HttpIn" -Protocol "tcp" -PublicPort 80 -LocalPort 80 -LBSetName "XXX" -ProbePort 80 -ProbeProtocol "http" -ProbePath "/" | Update-AzureVM
如果您配置了负载均衡器并关闭了实例,负载均衡器仍将显示所有配置有探针的机器。
于 2012-06-15T00:24:38.537 回答