gpt4 book ai didi

caching - AppFabric 冗余

转载 作者:行者123 更新时间:2023-12-04 14:19:04 29 4
gpt4 key购买 nike

我们刚刚测试了一个由 2 个服务器组成的 AppFabric 集群,我们在其中删除了“领导”服务器。第二个服务器对它的任何请求超时并出现错误:

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 缓存服务器相互链接。)

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

(我意识到这个问题是 Serverfault 的边界,但恕我直言,开发人员应该知道这一点。)

最佳答案

您必须在至少三台主要服务器上安装 AppFabric 缓存,缓存才能在单个服务器崩溃时幸存下来。文档指出,只有当主要服务器的“多数”出现故障时,集群才会出现故障,但在细则中,他们解释说,2 分之 1 构成多数。我已经验证从三个引导节点集群中删除服务器的工作方式与宣传的一样。

关于caching - AppFabric 冗余,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4747219/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com