天天看点

在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误

<a></a>

<b>阅读目录</b>

<a href="http://www.cnblogs.com/OceanEyes/p/removing-server-from-sharepoint-2013-alert-cachehostinfo-is-null.html#_label0">Problem</a>

<a href="http://www.cnblogs.com/OceanEyes/p/removing-server-from-sharepoint-2013-alert-cachehostinfo-is-null.html#_label1">Resolution</a>

在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误

这是由于SharePoint 2013中分布式缓存实例(Distributed Cache)在此服务器上已被注册,如果需要将此服务器从SharePoint 场里移除,首先必须将分布式缓存实例在此服务器上删除。

所以,通过PowerShell,得到分布式缓存实例,然后将其删除即可。

获取实例名

在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误

删除此Distributed Cache实例(比如该实例在GCP-WEB 01这台服务器上被注册)

在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误

完整PowerShell 代码如下

在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误

 本文转自木宛城主博客园博客,原文链接:http://www.cnblogs.com/OceanEyes/p/removing-server-from-sharepoint-2013-alert-cachehostinfo-is-null.html,如需转载请自行联系原作者

继续阅读