天天看點

在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,如需轉載請自行聯系原作者

繼續閱讀