首页> 外国专利> Hosting a network service on a cluster of servers using a single-address image

Hosting a network service on a cluster of servers using a single-address image

机译:使用单地址映像在服务器群集上托管网络服务

摘要

Methods and apparatus for hosting a network service on a cluster of servers, each including a primary and a secondary Internet Protocol (IP) address. A common cluster address is assigned as the secondary address to each of the servers in the cluster. The cluster address may be assigned in UNIX-based servers using an ifconfig alias option, and may be a ghost IP address that is not used as a primary address by any server in the cluster. Client requests directed to the cluster address are dispatched such that only one of the servers of the cluster responds to a given client request. The dispatching may use a routing-based technique, in which all client requests directed to the cluster address are routed to a dispatcher connected to the local network of the server cluster. The dispatcher then applies a hash function to the client IP address in order to select one of the servers to process the request. The dispatching may alternatively use a broadcast-based technique, in which a router broadcasts client requests having the cluster address to all of the servers of the cluster over a local network. The servers then each provide a filtering routine, which may involve comparing a server identifier with a hash value generated from a client address, in order to ensure that only one server responds to each request broadcast by the router.
机译:用于在服务器集群上托管网络服务的方法和装置,每个服务器集群都包括主要和辅助Internet协议(IP)地址。公用群集地址被分配为群集中每个服务器的辅助地址。可以使用ifconfig别名选项在基于UNIX的服务器中分配群集地址,并且可以是群集中的任何服务器都不将其用作主地址的虚拟IP地址。分派指向群集地址的客户端请求,以便群集中只有服务器之一响应给定的客户端请求。调度可以使用基于路由的技术,其中将所有指向群集地址的客户端请求路由到连接到服务器群集本地网络的调度程序。然后,调度程序将哈希函数应用于客户端IP地址,以选择其中一台服务器来处理请求。调度可以替代地使用基于广播的技术,其中路由器通过局域网将具有集群地址的客户端请求广播到集群的所有服务器。然后,每个服务器都提供一个过滤例程,该例程可能涉及将服务器标识符与从客户端地址生成的哈希值进行比较,以确保只有一个服务器对路由器广播的每个请求做出响应。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号