Professional Documents
Culture Documents
Plan and Use The Distributed Cache Service PDF
Plan and Use The Distributed Cache Service PDF
ABOUT THE DISTRIBUTED CACHE SERVICE ABOUT CACHE HOSTS AND CLUSTERS MAINTAINING THE DISTRIBUTED CACHE
Administrators might need to perform required maintenance and operational tasks to manage their SharePoint Server 2013 deployment. The following flowcharts describe
The Distributed Cache service provides in-memory caching services to several features in SharePoint Server 2013. Some of the features that A cache host is any server in the server farm that runs the Distributed Cache service. A cache cluster exists when one or more servers in the
how to perform some of these maintenance activities as it relates to maintaining the Distributed Cache service.
use the Distributed Cache service include: farm run the Distributed Cache service.
· Newsfeeds
The total cache size for the server farm is the sum of each cache host’s memory allocation for the cache size. The cache cluster’s cache
spans all cache hosts and saves data on each cache host. Data is not duplicated or copied on other cache hosts in the cache cluster. A INCREASING AVAILABLE RESOURCES FOR THE DISTRIBUTED CACHE SERVICE
· Authentication cache cluster cannot be configured for High Availability. As your SharePoint Server 2013 farm grows, you might need to increase the resources that are available to the Distributed Cache service by adding another cache
host to the cache cluster. You can do this by either adding a new server to the farm (and the cache cluster), or changing a non-cache host to a cache host. After the
· OneNote client access
Cache Host A Cache Host B Server Farm
new cache host is added, SharePoint Server will start using and populating the Distributed Cache service with data on the newly added cache host automatically.
· Security Trimming This may be a gradual process.
+ =
· Page load performance ADDING A NEW SERVER TO THE FARM AND THE CACHE CLUSTER CHANGING A NON-CACHE HOST TO A CACHE HOST
Use this procedure if you are adding a new server to the farm, and using it Use this procedure if the server you want to use as a cache host is
Cache Host Cache Host Cache cluster’s already joined to your server farm.
These features use the Distributed Cache for quick data retrieval. The Distributed Cache service stores data in memory and does not have a cache size for the
as a cache host
A’s cache B’s cache
dependency on databases in SharePoint Server 2013. However, some SharePoint features may store data in both the Distributed Cache and size = 8GB size = 8GB entire farm =
databases. 16GB Start
Start
This model describes the planning process, installation steps, and configuration tasks to perform and to implement the Distributed Cache
service in your SharePoint Server 2013 farm. You must do this to ensure that the Distributed Cache service is healthy and supports dependent Cache Host Management
6
services as required. Use this model together with other TechNet content to plan and implement your deployment of the Distributed Cache When the Distributed Cache service runs on a server together with other services and the server’s memory resources near 95% Run the
service. utilization, the Distributed Cache will start throttling requests. This means that the Distributed Cache service will no longer accept read or Are you using No
Download and install the Add-SPDistributedCacheServiceInstance
write requests until the server utilization reduces to approximately 70% utilization. the pre- Install Windows AppFabric package cmdlet on the cache host being added
Other Caches which do not use the Distributed Cache service requisite pre-requisites on the new server. Use the
Consider the following best practices to manage the Distributed Cache service: recommended cache roles
installer?
· Blob Cache. The Blob Cache is a disk-based cache that caches files such as images, JavaScript files, and so on. This cache exists · Do not run the following services on the same server running the Distributed Cache service: SQL Server, Project Server, Excel and the /gac switch
on each Web Front End server in the farm. Services and Search services. Perform post reconfiguration checks
Yes
· Review SharePoint Server 2013's Health Rules for Distributed Cache service issues
· Output cache. The Output Cache is an ASP.NET feature that provides caching functionality. The Output Cache is used to store Install
frequently-accessed pages as a means of increasing the throughput of the system. On every Web Front End server in the farm, the · Change a non-cache host to a cache host, or a cache host to a non-cache host remaining
Output Cache stores the rendered output of an .aspx web page. pre-requisites
· Add a new server to the cache cluster
Stop
Installation of all pre-
requisites are complete.
PLANNING FOR THE DISTRIBUTED CACHE SERVICE INSTALLING AND CONFIGURING THE DISTRIBUTED CACHE
Use the SharePoint Products
Planning for the Distributed Cache service helps ensure that the Distributed Cache service remains healthy, and reduces potential issues
on dependent services. When planning for the Distributed Cache service, you should: SERVICE Install SharePoint Server
2013
Configuration Wizard to add the new
server to the farm
· Perform capacity planning. When performing capacity planning, you will consider your workload and amount of usage to develop the When installing and configuring SharePoint Server 2013, an administrator must perform certain steps to ensure the Distributed Cache service
capacity recommendations in terms of number of servers, memory requirements, and topology. is installed and configured correctly.
· Use the capacity planning results to plan which memory configuration works best for your server farm.
INSTALLATION STEPS FOR THE DISTRIBUTED CACHE SERVICE Perform post reconfiguration checks
When installing SharePoint Server 2013, include the steps in this procedure in your overall installation plan.
Start
Legend Stop
Start
Legend
5 For more information on
pre-requisites, see 6 For more information on pre-requisites, see
5
http://go.microsoft.com/ http://go.microsoft.com/fwlink/p/?LinkId=269625
Download and install the fwlink/p/?LinkId=269625
1 Are you using No Windows AppFabric package
the Install
Output = number of on all servers. Use the
Review the pre-requisite pre-requisites
recommended cache roles
Step 1: Perform servers, memory CHANGING A CACHE HOST TO A NON-CACHE HOST
capacity planning installer? and the /gac switch
capacity planning requirements, and
guidance Use this procedure if you want to change a cache host into a non-cache host.
topology Yes
Run the
Installation of all pre-
Install remaining pre-requisites Remove-SPDistributedCacheServiceInstance Perform post
requisites are complete. Start Stop
cmdlet on the cache host you are changing to a reconfiguration checks
non-cache host
© 2013 Microsoft Corporation. All rights reserved. To send feedback about this documentation, please write to us at ITSPDocs@microsoft.com.