dataCacheClient配置和主机名 [英] dataCacheClient config and host name
问题描述
大家好
在我们的web.config中,我们有......
< dataCacheClient >
< < span style ="color:#7ee0ce"> hosts >
< 主持人 名称 = " localhost " cachePort < span style ="color:#7ee0ce"> = " 22233 " />
< / 主机 >
< / dataCacheClient >
我们希望将缓存集群与Web服务器分开。
我们有多个环境,例如dev,test,uat等。
我希望为主机名使用DNS别名,例如:
< 主持人 名称 = " cache1.service " cachePort = " 22233 " />
然后在每个环境中,我们都有DNS入口指向群集中的主机。
不幸的是,上述操作失败,网站需要永久响应。
是否无法使用DNS别名主机名?
使用"localhost","[机器名]"或IP地址工作没有任何问题。
还有其他替代品吗?
非常感谢
Sam
驻留在不同域中的客户端和服务器当前不起作用。本文有一个可能对您有所帮助的解决方法:
这将在以后的版本中修复。
&NBSP;
Hi all
Within our web.config we have...
<dataCacheClient> <hosts> <host name="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:
<host name="cache1.service" cachePort="22233" />
Then within each environment we'd have that DNS entry point to a host in the cluster.
Unfortunately the 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 in different domains doesn't work currently. This article has a workaround which may may help you:
This will be fixed in future releases.
这篇关于dataCacheClient配置和主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!