从分布式缓存中删除主机 [英] Remove Host from Distributed Cache

查看:99
本文介绍了从分布式缓存中删除主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对分布式缓存有问题.我无法删除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 ?

推荐答案

要求您尝试以下Powershell脚本

Request you to try below powershell script

- 主机名 < > -

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

您也可以点击下面的网站链接

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


这篇关于从分布式缓存中删除主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆