Sunday, December 7, 2014

The number of Distributed Cache hosts in the farm exceeds the recommended value (SharePoint 2013)

After I set up my SharePoint 2013 farm, I received an error from the SharePoint Health Analyzer: "The number of Distributed Cache hosts in the farm exceeds the recommended value." When you set up a new farm, the default is that the distributed cache will deploy to all the servers in the farm. You should remove the distributed cache from all app servers. This leaves the distributed cache on the Web front ends (WFEs).

The user that is going to remove the distributed cache needs a lot of privileges on the server and the database, so I performed these actions under my SharePoint install account. The account needs the following rights:
  • dbowner and securityadmin on the database
  • member of local administrators on the server
  • farm administrator
Now remove the distributed cache from your app servers:

Start the SharePoint 2013 Management Shell (run as administrator if you haven't turned off UAC) and run the cmdlet:
Remove-SPDistributedCacheServiceInstance

Finally, return to Central Administration, go back and choose to reanalyze the Health Analyzer rule again and this will remove the alert.

References
http://technet.microsoft.com/en-us/library/jj891124(v=office.15).aspx

No comments:

Post a Comment