MS AppFabric分布式缓存的可靠性 [英] Reliability with MS AppFabric Distributed Caching

查看:80
本文介绍了MS AppFabric分布式缓存的可靠性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们在群集中为应用程序使用2个缓存服务器并注意到,在1台服务器的模拟故障后,

We use 2 cache-servers in a cluster for an application and took notice, that after a simulated failure of 1 server,

我们的一半数据丢失了。似乎数据被拆分,而不是在两台服务器上都是重复/冗余。

half of our data was lost. It seems that the data is splitted, instead of beeing duplicated/redundant on both servers.

 

我们如何解决这个问题并成为当然,整个数据都被复制到两台服务器上了吗?

How can we solve this problem and be sure, that the whole data is replicated onto both servers?

 

kr

Martin

 

推荐答案

Martin,

Martin,

您好。默认情况下,缓存中的项目仅存在于一个缓存主机上。本质上,缓存是临时的,如果一个主机出现故障,应用程序将重新填充缺失的项目。

Hi. By default, items in the cache exist on only one cache host. By nature, the cache is temporary, and if one host goes down, the application is expected to repopulate the missing items.

但是,有一个高可用性功能可以执行您想要的操作。要使用它,您必须使用Windows Server 2008或Windows Server 2008 R2的企业版(或更高版本)。以下是有关它的信息的链接:
http://msdn.microsoft.com/en -us /库/ ee790974.aspx 。一旦在缓存上启用,它将完成您正在寻找的冗余。

However, there is a high availability feature that will do what you want. To use it you have to be on the Enterprise Edition (or higher) of Windows Server 2008 or Windows Server 2008 R2. Here is the link to information about it: http://msdn.microsoft.com/en-us/library/ee790974.aspx. Once enabled on a cache, it will accomplish the redundancy you are looking for.

请注意,使用此设置,缓存群集中至少应有三台服务器。您可能需要调整Lead Host设置。请参阅
http://msdn.microsoft.com/en-us/library/ff921026.aspx  原因。

Note that with this setting, you should have at least three servers in your cache cluster. And you may need to adjust the Lead Host setting. See http://msdn.microsoft.com/en-us/library/ff921026.aspx for the reason.

如果有帮助,请告诉我。谢谢!

Let me know if that helps. Thanks!

Jason


这篇关于MS AppFabric分布式缓存的可靠性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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