在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误
2015-03-02 00:00
369 查看
Problem
在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误Resolution
这是由于SharePoint 2013中分布式缓存实例(Distributed Cache)在此服务器上已被注册,如果需要将此服务器从SharePoint 场里移除,首先必须将分布式缓存实例在此服务器上删除。所以,通过PowerShell,得到分布式缓存实例,然后将其删除即可。
获取实例名
删除此Distributed Cache实例(比如该实例在GCP-WEB 01这台服务器上被注册)
完整PowerShell 代码如下
Add-PSSnapin Microsoft.SharePoint.PowerShell $SPFarm = Get-SPFarm $cacheClusterName = "SPDistributedCacheCluster_" + $SPFarm.Id.ToString() $cacheClusterManager = [Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheClusterInfoManager]::Local $cacheClusterInfo = $cacheClusterManager.GetSPDistributedCacheClusterInfo($cacheClusterName); $instanceName ="SPDistributedCacheService Name=AppFabricCachingService" $serviceInstance = Get-SPServiceInstance | ? {($_.Service.Tostring()) -eq $instanceName -and ($_.Server.Name) -eq "Your Server Name"} $serviceInstance.Delete()
相关文章推荐
- 在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误
- 在SharePoint 2013 场中移除服务器,提示 cacheHostInfo is null 错误
- SharePoint 2013移除服务器报错"CacheHostInfo is null"
- sharepoint 2013 部署步骤“添加解决方案”中出现错误: 已在此服务器场中安装 ID 为{guid}的功能。请使用强制属性显式地重新安装此功能。
- 登录Exchange 2013 OWA或ECP 提示“HTTP 500内部服务器错误”的解决办
- 远程连接服务器出现 SQL Error (1130): Host IP is not allowed to connect to this MySQL server 错误
- SharePoint 2013 OWA 打开Word时:很抱歉,出现问题,无法打开此文档。打开Excel是:"/x"应用程序中的服务器错误; 其他长见问题修改
- Lync2013 升级错误总结5 TMG发布Lync2013或者Office Web APP提示:目标服务器证书错误
- sharepoint 2013 打开rdl报表,报表服务器数据库内出错。此错误可能是因连接失败、超时或数据库中磁盘空间不足而导致的
- host parameter is null 错误!
- 在 SharePoint 2013 服务器场中安装和配置 RBS (1)
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 远程连接MySQL数据库提示错误Host is not allowed to connect this MySQL server
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server
- ubantu16.04服务器错误提示没有安装php_fileinfo扩展
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server
- SharePoint 2013 Distributed Cache Service错误和解决办法
- sharepoint 2013 部署解决方案 此功能已在此服务器场中安装 ID 为 guid 的功能。请使用强制属性显式地重新安装
- Lync2013 升级错误总结8 Lync2013 日志总是提示进程 RtcHost(5724) 收到了一个无效的客户端证书
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server