根據this MSDN article(在運行Azure的AppFabric緩存上),我應該能夠找到位於\Windows\System32\AppFabric
的DistributedCacheService.exe.config
文件,但它不存在於任何的實例。Azure在角色緩存中的緩存主機配置
當遠程登錄到其中一個實例並搜索配置時,我在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中角色內緩存(同一地點)?