Distributed Cache should be patched separately from SharePoint (DC updatess will not come with SharePoint CUs…).
Do not use SharePoint Distributed Cache with your custom code.
Useful commands
Connect-AFCacheClusterConfiguration Get-CacheHost Get-AFCacheClusterHealth Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} |fl Get-AFCacheHostConfiguration -ComputerName XXX -CachePort "22233" $svc=$f.Services | ? {$_.Name -eq "AppFabricCachingService"} $svc.ProcessIdentity Get-AFCacheAllowedClientAccount #Stop-SPDistributedCacheServiceInstance –Graceful #Update-SPDistributedCacheSize -CacheSizeInMB 1024 #Add-SPDistributedCacheServiceInstance #Grant-AFCacheAllowedClientAccount -Account "domain\upsa_runas_account" get-command -module DistributedCacheAdministration
=======================
Distributed Cache should be patched separately from SharePoint (DC updatess will not come with SharePoint CUs…).
Do not use SharePoint Distributed Cache with your custom code.
Useful commands
Connect-AFCacheClusterConfiguration Get-CacheHost Get-AFCacheClusterHealth Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} |fl Get-AFCacheHostConfiguration -ComputerName XXX -CachePort "22233" $svc=$f.Services | ? {$_.Name -eq "AppFabricCachingService"} $svc.ProcessIdentity Get-AFCacheAllowedClientAccount #Stop-SPDistributedCacheServiceInstance –Graceful #Update-SPDistributedCacheSize -CacheSizeInMB 1024 #Add-SPDistributedCacheServiceInstance #Grant-AFCacheAllowedClientAccount -Account "domain\upsa_runas_account" get-command -module DistributedCacheAdministration
=======================
Sources: