During maintainence and operational work there is specific sequence that needs to be followed for Dsitributed cache to disconnect and connect in existing farm.
Below points are noteworthy:
- Stop and then Start the Distributed cache service.
- Change memory allocation
- Add or remove a server in Distributed Cache Cluster
- Graceful shutdown of Distributed Cache server
- Finetune
- Repair
Refer:
https://social.technet.microsoft.com/wiki/contents/articles/20348.sharepoint-2013-appfabric-and-distributed-cache-service.aspx
https://docs.microsoft.com/en-us/SharePoint/administration/manage-the-distributed-cache-service#graceful
Below points are noteworthy:
- Stop and then Start the Distributed cache service.
- Change memory allocation
Use-CacheCluster
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"
Update-SPDistributedCacheSize -CacheSizeInMB CacheSize
- Add or remove a server in Distributed Cache Cluster
Add-SPDistributedCacheServiceInstance
Remove-SPDistributedCacheServiceInstance
- Graceful shutdown of Distributed Cache server
- Finetune
- Repair
Refer:
https://social.technet.microsoft.com/wiki/contents/articles/20348.sharepoint-2013-appfabric-and-distributed-cache-service.aspx
https://docs.microsoft.com/en-us/SharePoint/administration/manage-the-distributed-cache-service#graceful