Next, Sharepoint 2013 spdistributedcacheservice introduction and Configuration
This article describes common distributed cache service errors and solutions.
1. errorcode <errcadmin010>: substatus <es0001>: specified host is not present in cluster.
PS C:> Use-CacheClusterPS C:> Get-CacheHostConfig –ComputerName [yourServerName] -CachePort 22233
This error is usually thrown when the above command is run on a machine not added to the cluster. The solution is to register the machine to the cluster:
PS C:> Register-CacheHost –Provider [yourProvider] –ConnectionString [yourConnectionString] -Account "NT AuthorityNetwork Service" -CachePort 22233 -ClusterPort 22234 -ArbitrationPort 22235 -ReplicationPort 22236 –HostName [yourServerName]
Three parameters must be replaced:
A. [yourprovider] and [yourprovider]. This parameter can be found in connectionstring and provider under the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ appfabric \ V1.0 \ configuration node of the Registry, or in C: \ Program Files \ appfabric 1.1 for Windows Server Directory distributedcacheservice.exe. config
B.-account, which must be replaced as needed
C. [yourservername] indicates the machine name.
If an error occurs that the machine has configured a cache, run remove-spdistributedcacheserviceinstance-graceful.
2. Run get-cachehost and find that the status of a host is down.
PS C:> Get-CacheHostYou 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]
You can run the command to start
PS C:> Start-CacheHost –ComputerName [yourServerName] –CachePort 22233
If startup fails, check whether the "appfabric caching service" of the host is disabled.
If the error persists, run the following command to check the Configuration:
PS C:> Export-CacheClusterConfig c\:CacheConfig.txt
After finding the error correction, run the following command to import the configuration of the cache cluster.
PS C:> Import-CacheClusterConfig C:\CacheConfig.txt
Run the following command to start the cache cluster:
PS C:> Start-CacheCluster
Run the following command to check whether the cache cluster is faulty.
PS C:> Get-CacheClusterHealth
Run the following command to view the cache content:
Get-Cache
SharePoint 2013 distributed cache service error and Solution