Showing posts with label AppFabric. Show all posts
Showing posts with label AppFabric. Show all posts

Thursday, April 16, 2015

Distributed cache in SharePoint2013

SharePoint is a new service called Distributed Cache. This service is built on Windows Server AppFabric, which implements the AppFabric Caching service. Windows Server AppFabric installs with the prerequisites for SharePoint Server 2013. Start and Stop Distributed cache 1.Central Admin, open Application Management.
2.Click Service Applications,and then click Manage Services on Server.
3.On the Services the page, locate the Distributed Cache service.Start and Stop the service


Add new Distributed cache in SharePoint2013 in Powershell



Add-SPDistributedCacheServiceInstance

Start Distributed cache in SharePoint2013 in Powershell


$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Provision()
Stop Distributed cache in SharePoint2013 in Powershell


$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Unprovision()
Delete Distributed cache in SharePoint2013 in Powershell


$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.remove()
Update the memory allocation in SharePoint2013 in Powershell


Update-SPDistributedCacheSize -CacheSizeInMB CacheSize
The Distributed Cache service is importance of the following features: Authentication
Newsfeeds
OneNote client access
Security Trimming
Page load performance