【发布时间】:2014-12-22 20:35:53
【问题描述】:
根据 this MSDN article(在 AppFabric 缓存上,这是运行 Azure 的),我应该能够找到位于 \Windows\System32\AppFabric 的 DistributedCacheService.exe.config 文件,但它在任何实例上都不存在.
当远程进入其中一个实例并搜索配置时,我在E:\plugins\Caching 中找到了几个与缓存相关的配置文件。
CacheService.config.exe 文件看起来很有前途(类似于DistributedCacheService .exe.config),除了dataCacheConfig 没有初始化:
<dataCacheConfig cacheHostName="">
<!-- Comment/uncomment below line to disable/enable file sink logging.
Also location attribute is not honored. It is just specified since its mandatory. -->
<!--<log logLevel="3" location="" />-->
<clusterConfig connectionString="" />
</dataCacheConfig>
为了解决a previous post of mine问题,我需要确认某些数据缓存设置在服务器端配置正确。
我的客户端 web.config 看起来像这样:
<dataCacheClients>
<dataCacheClient name="DataCache1">
<autoDiscover isEnabled="true" identifier="MyRoleName" />
<transportProperties maxBufferPoolSize="6400000" maxBufferSize="256" />
</dataCacheClient>
<dataCacheClient name="DataCache2">
<autoDiscover isEnabled="true" identifier="MyRoleName" />
<transportProperties maxBufferPoolSize="0" maxBufferSize="10485760" />
</dataCacheClient>
<dataCacheClient name="DataCache3">
<autoDiscover isEnabled="true" identifier="MyRoleName" />
<transportProperties maxBufferPoolSize="3276800" maxBufferSize="32768" />
</dataCacheClient>
</dataCacheClients>
在 Azure 角色内缓存(并置)中的哪里可以找到缓存主机配置文件?
【问题讨论】:
标签: azure appfabric appfabric-cache azure-appfabric azure-in-role-cache