问题描述
我对分布式缓存有问题.我无法删除hosts-config中的旧条目.
i have a problem with the Distributed Cache. I cannot delete an old entry in the hosts-config.
KNLEMOSSAPTEST不再存在,但是我尝试删除此主机的所有操作均失败.
KNLEMOSSAPTEST does not exist anymore, but everything i tried to remove this host is failing.
有任何提示或解决方法吗?
Any tips or workarounds ?
推荐答案
取消注册 - CacheHost - 主机名 < ServerName > - ProviderType "SPDistributedCacheClusterProvider" – ConnectionString 数据源=<数据库服务器名称> ;;初始目录=< Config_DB> ;;集成 安全性=真;应征=假"
Unregister-CacheHost-HostName<ServerName>-ProviderType"SPDistributedCacheClusterProvider"–ConnectionString"Data Source=<Database ServerName>;Initial Catalog=<Config_DB>;Integrated Security=True;Enlist=False"
您可以从下面的配置文件中获取连接字符串属性
You can get connection string property from below config file
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ AppFabric \ V1.0 \ Configuration
您也可以点击下面的网站链接
You may also follow the below web link
http://alstechtips.blogspot.co.uk/2014/07/sharepoint-2013-how-to-remove-cache.html
http://alstechtips.blogspot.co.uk/2014/07/sharepoint-2013-how-to-remove-cache.html
这篇关于从分布式缓存中删除主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!