Planning and Configuring the Distributed Cache

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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值