AppFabric冗余 [英] AppFabric Redundancy

查看:86
本文介绍了AppFabric冗余的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚测试了一个由2个服务器组成的AppFabric集群,其中我们删除了领先服务器。第二个服务器对任何请求的超时都有错误:

We just tested an AppFabric cluster of 2 servers where we removed the "lead" server. The second server timeouts on any request to it with the error:


Microsoft.ApplicationServer.Caching.DataCacheException:ErrorCode< ERRCA0017>:SubStatus< ES0006> ;:
出现暂时故障。请稍后重试。
(一个或多个指定的高速缓存服务器不可用,这可能是由于繁忙的网络或服务器引起的。请确保已为该客户端帐户授予了群集上的安全权限,并且确保通过防火墙允许AppFabric Caching Service通过所有缓存主机。稍后重试。)

Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>: There is a temporary failure. Please retry later. (One or more specified Cache servers are unavailable, which could be caused by busy network or servers. Ensure that security permission has been granted for this client account on the cluster and that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Retry later.)

实际上,这意味着如果群集中的一台服务器出现故障,那么它们都将全部宕机。 (请注意,我们不使用Windows群集,只是将多个AppFabric缓存服务器彼此链接。)

In practive this means that if one server in the cluster goes down then they all go down. (Note we are not using Windows cluster, only linking multiple AppFabric cache servers to each other.)

即使单个服务器出现故障,我也需要群集才能继续运行。我该怎么做?

I need the cluster to continue operating even if a single server goes down. How do I do this?

(我知道这个问题使Serverfault陷于边缘,但是恕我直言,开发人员应该知道这一点。)

(I realize this question is borderlining Serverfault, but imho developers should know this.)

推荐答案

您必须至少在三台领先服务器上安装AppFabric缓存,才能使该缓存在一次服务器崩溃中幸免。文档指出,只有当主要服务器的多数宕机时,集群才会宕机,但是在精打细算中,他们解释说2之1占多数。我已经验证了从三个潜在客户节点群集中删除服务器的工作原理与广告一样。

You'll have to install the AppFabric cache on at least three lead servers for the cache to survive a single server crash. The docs state that the cluster will only go down if the "majority" of the lead servers go down, but in the fine print, they explain that 1 out of 2 constitutes a majority. I've verified that removing a server from a three lead-node cluster works as advertised.

这篇关于AppFabric冗余的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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