我们已经使用IIS10配置了一个新的WebFarm,其中3个主机在Web流量中运行,并带有负载IIS ARR3.0服务器,以平衡所有节点之间的传入请求。在初始测试(基本HTML页面)期间,每个节点之间的Round Robin设置(33.33%)的分布运行良好,但我们必须启用服务器 /客户端亲和力,以便我们的应用程序在客户端会话和应用程序之间保持一致的连接。从那时起,我们发现所有转到来自不同网络上不同机器的应用程序的流量都被转发到同一应用程序服务器。如果将服务器脱机,则应用程序无缝地开始在列表中的下一个服务器上运行(客户端显然必须再次登录)。虽然目前一台服务器还可以运行我们在迁移迁移并运行所有140个应用程序时运行的两个应用程序,但我认为一台服务器不会对负载太满意。
附加信息
LoadBalancer/ARR服务器:LB-01(LB-02复制服务器用于冗余,)。默认的ARR URL通过通往服务器农场操作的路线重写。 lb/arr arr url url重写规则的图像,没有路由规则。 arr默认代理设置代理设置的图像
Web/Application Server Web-01,Web-02,Web-03使用DFS共享所有在共享配置上运行的dfs的文件
系统将如下
https://www.domainname.com/application-name1
...
是应用程序启动页面更改,但域名保持相同
IIS监视和管理窗口的图像显示分布
如果您想验证设置,请询问它们。我知道人们的物理学,但是大量的信息从未真正有所帮助。
我的直觉是,这与我在以下帖子中尝试了设置的URL重写有关。
iis arr&负载平衡
We have configured a new webfarm using IIS10 with 3 hosts operating with the web traffic with a loadbalancing IIS ARR3.0 server sitting infront to balance incoming requests between all the nodes. During initial testing (Basic HTML pages) the round robin setup (33.33%) distribution between each node was working well but we had to enable server / client affinity so that our applications kept a consistent connection between our client session and the application. Since then, we are finding that all traffic going to these applications originating from different machines on different networks are all being forwarded to the same application server. If you take the server offline the application seamlessly starts running on the next server in the list (Client obviously must sign in again). Whilst one server is fine at this time to run the two applications we have running when we ramp up our migration and have all our 140 applications running, I don’t think one server will be too happy with the load.
ADDITIONAL INFORMATION
LoadBalancers/Arr Servers: LB-01 (LB-02 DUPLICATED Server for redundancy). Default ARR URL ReWrite with Route to Server Farm Action. Image of LB/ARR URL ReWrite Rule Server Affinity Enabled Client Affinity enabled use hostname selected no Advanced Settings, no routing rules. ARR Default Proxy Settings Image of Proxy Settings
Web/Application Servers WEB-01, WEB-02, WEB-03 FileSystem Shared using DFS All running on Shared Config's
The Applications would be as follows
https://www.domainname.com/application-name1
https://www.domainname.com/application-name2
...
Were the application launch page changes but the domain name stays the same
Image of IIS Monitoring and Management Window showing distribution
If there is a setting you wish to verify please ask for them. I know people arent physchic but huge paragraphs of information never really help.
My hunch is it is something to do with the URL rewrite I have tried the settings in the below post to no avail.
IIS ARR & load balancing
发布评论
评论(1)
取消选中的“主机名亲和力”以派遣到所有主机
Uncheck 'Host Name Affinity' to dispatch to all your hosts