大家好
在我们的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配置和主机名
发布评论