Sunday, March 24, 2013

The number of Distributed Cache hosts in the farm exceeds the recommended value

 

When you open Central Administration in SharePoint 2013, you see the following error message

clip_image002

clip_image004

clip_image005

http://technet.microsoft.com/en-us/library/jj891124.aspx

The Distributed Cache service (by default) is started on every server in a farm.

On a farm with four or more servers, you must not start the Distributed Cache Service on all servers in the farm. If you configure all servers as cache hosts, you may experience reliability and performance problems in the farm.

Resolution: Reduce the number of cache hosts by using Windows PowerShell.

  1. Verify that you have the following memberships:
    • securityadmin fixed server role on the SQL Server instance.
    • db_owner fixed database role on all databases that are to be updated.
    • Administrators group on the server on which you are running the Windows PowerShell cmdlets.
    • Farm Administrators group.

An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.

  1. Start the SharePoint 2013 Management Shell.
    • For Windows Server 2008 R2:
      • On the Start menu, click All Programs, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Management Shell.
    • For Windows Server 2012:

On the Start screen, click SharePoint 2013 Management Shell.

If SharePoint 2013 Management Shell is not on the Start screen:

Right-click Computer, click All apps, and then click SharePoint 2013 Management Shell.

For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.

  1. Remove one or more servers from the cache cluster. On each server that you want to remove from the cache cluster, run the following cmdlet:

Remove-SPDistributedCacheServiceInstance

  1. Verify that the server is removed from the cache cluster. To do this, in the SharePoint Central Administration website, click Manage services on server, and then, on the Services on Server page, make sure that the Distributed Cache service is not listed for the server from which you removed the service.

 

 

No comments:

Post a Comment