Unable to adjust size of 2nd Dist Cache Server

After adding in one server as the DC, I can adjust the ram, however after adding the 2nd server to the cluster I get an error when adjusting the size

What is the difference between these commands?

Are the both needed?

Update-SPDistributedCacheSize

Set-CacheHostConfig -CacheSize

Commands and Error below

Add-SPDistributedCacheServiceInstance

Use-CacheCluster Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"

Update-SPDistributedCacheSize -CacheSizeInMB CacheSize

Set-CacheHostConfig -CacheSize  -HostName YourHostSharePoint -CachePort 22233

Update-SPDistributedCacheSize :
ErrorCode<ERRCAdmin010>:SubStatus<ES0001>:Specified host is not present in
cluster.
At line:1 char:1
+ Update-SPDistributedCacheSize -CacheSizeInMB 7168
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...ibutedCacheSize:
   SPCmdletConfigureDistributedCacheSize) [Update-SPDistributedCacheSize], Cm
  dletInvocationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConfigur
   eDistributedCacheSize


February 27th, 2015 1:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics