标签:sharepoint spdistributed cacheservice trouble shotting 2013
接上篇 SharePoint 2013 SPDistributedCacheService 介绍与配置
本文介绍常见 Distributed Cache Service错误和解决办法.
1. ErrorCode<ERRCAdmin010>:SubStatus<ES0001>:Specified host is not present in cluster.
PS C:> Use-CacheCluster PS C:> Get-CacheHostConfig –ComputerName [yourServerName] -CachePort 22233
PS C:> Register-CacheHost –Provider [yourProvider] –ConnectionString [yourConnectionString] -Account "NT AuthorityNetwork Service" -CachePort 22233 -ClusterPort 22234 -ArbitrationPort 22235 -ReplicationPort 22236 –HostName [yourServerName]
a. [yourProvider] 和 [yourProvider], 该参数可以在注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppFabric\V1.0\Configuration节点下的ConnectionString 和 Provider中找到,或者在 C:\Program Files\AppFabric 1.1 for Windows Server 目录下的 DistributedCacheService.exe.config
b. -Account, 需要根据需要替换
c. [yourServerName] 为机器名
如果遇到错误说该机器已经配置Cache,可以运行 Remove-SPDistributedCacheServiceInstance -Graceful
2. 运行 Get-CacheHost发现某个Host 的状态为Down
PS C:> Get-CacheHost You should see the following. HostName : CachePort Service Name Service Status Version Info ——————– ———— ————– ———— MyServer1.domain.com:22233 AppFabricCachingService UP 3 [3,3][1,3] MyServer2.domain.com:22233 AppFabricCachingService UP 3 [3,3][1,3]
PS C:> Start-CacheHost –ComputerName [yourServerName] –CachePort 22233
如果还是出错,则需要运行以下命令检查配置
PS C:> Export-CacheClusterConfig c\:CacheConfig.txt
PS C:> Import-CacheClusterConfig C:\CacheConfig.txt
PS C:> Start-CacheCluster
PS C:> Get-CacheClusterHealth可以使用以下命令查看Cache的内容
Get-Cache
SharePoint 2013 Distributed Cache Service错误和解决办法
标签:sharepoint spdistributed cacheservice trouble shotting 2013
原文地址:http://blog.csdn.net/abrahamcheng/article/details/39401151