dataCacheClient配置和主机名

编程入门 行业动态 更新时间:2024-10-28 10:29:27
本文介绍了dataCacheClient配置和主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好

在我们的web.config中,我们有......

< dataCacheClient > < hosts > < 主持人 名称 = " localhost " cachePort = " 22233 " /> < / 主机 > < / dataCacheClient >

我们希望将缓存集群与Web服务器分开。

我们有多个环境,例如dev,test,uat等。

我希望为主机名使用DNS别名,例如:

< 主持人 名称 = " cache1.service " cachePort = " 22233 " />

然后在每个环境中,我们都有DNS入口指向群集中的主机。

不幸的是,上述操作失败,网站需要永久响应。

是否无法使用DNS别名主机名?

使用"localhost","[机器名]"或IP地址工作没有任何问题。

还有其他替代品吗?

非常感谢

Sam

解决方案

驻留在不同域中的客户端和服务器当前不起作用。本文有一个可能对您有所帮助的解决方法:

blogs.msdn/b/appfabriccat/archive/2010/11/03/appfabric-cache-cache -servers-and-cache-clients-on-different-domains.aspx

这将在以后的版本中修复。

Hi all

Within our web.config we have...

<dataCacheClient> <hosts> <hostname="localhost"cachePort="22233"/> </hosts> </dataCacheClient>

We are looking to having the cache cluster separate to the web servers.

We have multiple environments eg dev, test, uat and so forth.

I was hoping to use a DNS alias for the host name eg:

<hostname="cache1.service"cachePort="22233"/>

Then within each environment we'd have that DNS entry point to a host in the cluster.

Unfortunatelythe above fails and the web site takes forever to respond.

Is it not possible to use a DNS alias for the host name?

Using "localhost", "[machine-name]" or IP address work with no problems.

Are there any other alternatives to this?

Many thanks

Sam

解决方案

Clients and server residing indifferent domains doesn't work currently. This article has aworkaround which may may help you:

blogs.msdn/b/appfabriccat/archive/2010/11/03/appfabric-cache-cache-servers-and-cache-clients-on-different-domains.aspx

This will be fixed in future releases.

更多推荐

dataCacheClient配置和主机名

本文发布于:2023-10-17 03:06:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1499595.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:主机名   dataCacheClient

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!