Showing posts with label Distribute Cache. Show all posts
Showing posts with label Distribute Cache. Show all posts

Sunday 9 August 2015

Request Management

I hate Request Management (RM) and I believe it is going away in SP 2016.

Issue I have seen with RM enabled:
  • Tenant Admin API can't provision Site Collections (point to the WFE's and it works)
  • Workflow sometimes don't start
  • Removing RM improved performance on an Extranet
  • Distributed Cache - One client had Distributed Cache intermittent issues.  User had to re-authenticate using STS.  As the RM was hit 1st and using distributed cache and then picking 1 of several WFE's, the issue was twice as likely to occur.  Used the NLB to direct traffic to the WFE's and the number of re-auths halved.

Wednesday 20 November 2013

Limiting the number of Distribute Cache Instances


Problem:  Revieiwing the results of the SharePoint Health Anayser, I get an error relating to the Distributed cache "This Distributed Cache host may cause cache reliability problems".  I assumed unprovioning the service instance for distributed cache was correct.

Initial Hypothesis:  I use AutoSPInstaller to install my DTAP environments, once the environment got over 4 servers I saw this error.  I run a cleanup task that "Unprovisions" the "Distributed Cache" instances on all servers except my web front-end servers.  I still get the warning.  I read Steve Mann's post "It turns out that you actually need to remove the service from the servers that shouldn't run it - not stop it - actually remove it. This can be peformed using the SharePoint PowerShell cmdlet Remove-SPDistributedCacheServiceInstance" 
 
Resolution: You want to have 4 or less instances of the Distributed Cache Service.  I put these on my SharEPoint servers performing the Web Front End Role.
Run this PS to see where your Distributed Cache services are installed (running and unprovisioned):
$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"


Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName }