Server Farm中的主机名亲缘关系是什么 - > IIS 8 Web Farm上的服务器关联性? [英] What is host name affinity in Server Farm -> Server Affinity on IIS 8 Web Farm?

查看:268
本文介绍了Server Farm中的主机名亲缘关系是什么 - > IIS 8 Web Farm上的服务器关联性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是我有2个IIS服务器作为Web场工作,目前我们不使用客户端关联或主机名关联。我只需要知道使用主机名亲和性以及在服务器和客户端之间使用这种类型的关联时有什么好处。我已经掌握了有关Client Affinity的信息,我只需要获取有关主机名亲和力以及何时使用它的更多信息。
提前谢谢你们的帮助。

The problem is I have 2 IIS Servers working as Web Farm and currently we don't use Client Affinity or Host Name affinity. I just need to know what is the benefits of using Host Name affinity and when we use this type of affinity between Server and Client. I already have information about Client Affinity I just need to get more information about Host Name Affinity and when to use it. Thank you guys for help in advance.

推荐答案


应用程序请求路由(ARR)提供客户端和主机名称关联功能,使您能够在客户端和服务器之间提供粘性。
主机名亲缘关系允许您将主机名映射到服务器,以便将对同一主机名的所有请求路由到同一服务器。客户端关联用于在客户端会话期间将客户端映射到ARR后面的应用程序服务器。负载平衡算法用于来自客户端的第一个请求。来自同一客户端的后续请求将在客户端会话期间路由到应用程序服务器。
noteNote

Application Request Routing (ARR) provides client and host name affinity features that enable you to provide stickiness between clients and servers. Host name affinity lets you map a host name to a server so that all requests for the same host name are routed to the same server. Client affinity is used to map a client to an application server behind ARR for the duration of the client session. A load balance algorithm is used for the first request from the client. Subsequent requests from the same client are routed to the application server for the duration of the client session. noteNote

您可以同时使用客户端关联和主机名关联。配置两者时,如果主机名与多个服务器关联,则在已分配和主机名关联的应用程序服务器中应用客户端关联。

^来自: Technet

使用主机名亲缘关系,您可以控制允许同时(例如2)同时提供主机名(例如example.com)的服务器数量查看路由表中当前被路由到哪个服务器(例如server1)并释放路由以使下一个请求返回到您选择的负载平衡算法(例如server1或server2)。

Using host name affinity you can control how many servers a host name (e.g. example.com) is allowed to be served on simultaneously (e.g. 2) as well as see which server(s) it is currently being routed to (e.g. server1) in the routing table and release routes to have the next request go back into the load balancing algorithm you have selected (e.g. server1 or server2).

这篇关于Server Farm中的主机名亲缘关系是什么 - > IIS 8 Web Farm上的服务器关联性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆