SharePoint 2013 distributed cache service error and Solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.