Planning and Configuring the Distributed Cache
2015-11-16 16:39
369 查看
SharePoint2013 includes a new caching
mechanismknown as the Distributed Cache
service.Various SharePoint features depend on
thisservice, including micro-blogging and
newsfeeds. The Distributed Cache service also
improves the performance of various other
features,including authentication, page load,
search, OneNote client access, and security
trimming.
TheDistributed Cache service is built on Windows
Server AppFabric, which is installed as part of the
prerequisites for SharePoint 2013.
Changing the allocated memory
Thereare two circumstances when you may need to change the memory allocated to theDistributed
Cache service:
•If you add physical memory to the server, the Distributed Cache service willnot automatically
recalculatethe 10 percent memory
allocation.You should manually change the amount of memory
allocated to the service.
•If you run the Distributed Cache service in dedicated mode, you should reserve2 GB memory for
systemprocesses and services, and assign the remaining memory to the DistributedCache service.
Remember that noother SharePoint services should run on a dedicated Distributed Cache server
You canuse the following procedure to change the allocated memory for the DistributedCache service:
1.Stop the Distributed Cache service on every cache host. You can do this fromthe Services on server
page inthe Central Administration website.
2.Open the SharePoint 2013 Management Shell on one of the cache hosts, and runthe following
command, where<CacheSize> is the desired memory allocation in MB.
Update-SPDistributedCacheSize –CacheSizeInMB<CacheSize>
3.Restart the Distributed Cache service on all cache hosts. You can do this fromthe Services on server
page inthe Central Administration website.
Adding and removing cache hosts
Insome circumstances, you may need to add or remove servers from the cachecluster. For example, if
youwant to repair or upgrade a server in the server farm, you should remove itfrom the cache cluster,
performyour maintenance, and then add it back into the cache cluster.
Toadd a server to the cache cluster, run the following Windows PowerShell cmdleton the server you
want to add.
Add-SPDistributedCacheServiceInstance
Removinga Cache Host from a Cache Cluster
Stop-SPDistributedCacheServiceInstance –Graceful
Remove-SPDistributedCacheServiceInstance
mechanismknown as the Distributed Cache
service.Various SharePoint features depend on
thisservice, including micro-blogging and
newsfeeds. The Distributed Cache service also
improves the performance of various other
features,including authentication, page load,
search, OneNote client access, and security
trimming.
TheDistributed Cache service is built on Windows
Server AppFabric, which is installed as part of the
prerequisites for SharePoint 2013.
Changing the allocated memory
Thereare two circumstances when you may need to change the memory allocated to theDistributed
Cache service:
•If you add physical memory to the server, the Distributed Cache service willnot automatically
recalculatethe 10 percent memory
allocation.You should manually change the amount of memory
allocated to the service.
•If you run the Distributed Cache service in dedicated mode, you should reserve2 GB memory for
systemprocesses and services, and assign the remaining memory to the DistributedCache service.
Remember that noother SharePoint services should run on a dedicated Distributed Cache server
You canuse the following procedure to change the allocated memory for the DistributedCache service:
1.Stop the Distributed Cache service on every cache host. You can do this fromthe Services on server
page inthe Central Administration website.
2.Open the SharePoint 2013 Management Shell on one of the cache hosts, and runthe following
command, where<CacheSize> is the desired memory allocation in MB.
Update-SPDistributedCacheSize –CacheSizeInMB<CacheSize>
3.Restart the Distributed Cache service on all cache hosts. You can do this fromthe Services on server
page inthe Central Administration website.
Adding and removing cache hosts
Insome circumstances, you may need to add or remove servers from the cachecluster. For example, if
youwant to repair or upgrade a server in the server farm, you should remove itfrom the cache cluster,
performyour maintenance, and then add it back into the cache cluster.
Toadd a server to the cache cluster, run the following Windows PowerShell cmdleton the server you
want to add.
Add-SPDistributedCacheServiceInstance
Removinga Cache Host from a Cache Cluster
Stop-SPDistributedCacheServiceInstance –Graceful
Remove-SPDistributedCacheServiceInstance
相关文章推荐
- SharePoint 客户端对象模型 (一) ECMA Script
- 在Javascript里访问SharePoint列表数据的实现方法
- 3ff8 《sharepoint 2010云计算解决方案》使用SQL Azure 的BI 解决方案
- sharepoint国内网站一览表(转发)
- sharepoint 错误 6398
- sharepoint基本知识介绍
- sharepoint实践经验的速查手册
- Sharepoint任务甘特图和资源甘特图Webpart
- SharePoint Workspace 2010 概述 协作专家升级来了。
- SharePoint Workspace 2010 入门 - SharePoint 工作区 - Microsoft Office
- 下载详细信息: SharePoint 2010:专业开发人员评估指南和演练
- SharePoint 2010 新体验4 - SharePoint Workspace - Kaneboy的博客 - 51CTO技术博客
- SharePoint Workspace 2010 中的新增功能 - SharePoint 工作区 - Microsoft Office
- 沟通与协作:使用 Groove 和 SharePoint 创建强大的连接
- 支持的 SharePoint 外接程序和报表服务器的组合
- 处方1-1使用对象模型新建站点集
- 归档,SharePoint的好伙伴
- sharepoint 术语库
- SharePoint 各版本简称
- SharePoint 2010 导航菜单定制