Wednesday, November 21, 2012

Microsoft AppFabric 1.1 ERRPS024

q: After performing an in place upgrade of AppFabric 1.0 to 1.1 we were unable to run the Grant-CacheAllowedClientAccount command without receiving this response.

Grant-CacheAllowedClientAccount : ErrorCode<ERRPS024>:SubStatus<ES0001>:This co
mmand is not currently allowed. Changes to the cache cluster configuration is r
estricted during a rolling upgrade of the caching service.
At line:1 char:32
+ Grant-CacheAllowedClientAccount <<<<  domain\username
   + CategoryInfo          : NotSpecified: (:) [Grant-CacheAllowedClientAccou
  nt], DataCacheException
   + FullyQualifiedErrorId : ERRPS024,Microsoft.ApplicationServer.Caching.Com
  mands.GrantCacheAllowedClientAccountCommand


a: We finally found the solution on a Russian MSDN Page.

http://msdn.microsoft.com/ru-ru/library/hh343304(v=azure.10).aspx
  • Open the Elevated AppFabric PowerShell prompt
  • run - Get-CacheHost (Notice the version 3[1,3])
HostName : CachePort Service Name            Service Status Version Info
-------------------- ------------            -------------- ------------
HOSTNAME:22233         AppFabricCachingService UP             3 [1,3][1,1]
  • run - Update-CacheHostAllowedVersions -BeginServerVersion 3
  • run - Get-CacheHost (Notice the version 3[3,3])
HostName : CachePort Service Name            Service Status Version Info
-------------------- ------------            -------------- ------------
HOSTNAME:22233         AppFabricCachingService UP             3 [3,3][1,1]
  • Run - Update-CacheHostAllowedVersions -EndClientVersion 3
  • Run - Get-CacheHost
HostName : CachePort Service Name            Service Status Version Info
-------------------- ------------            -------------- ------------
HOSTNAME:22233         AppFabricCachingService UP             3 [3,3][1,3]
  • Run - Update-CacheConfigurationStore
WARNING: The changes will take effect only when the hosts are restarted.
  • Run - Stop-CacheCluster
HostName : CachePort     Service Name            Service Status Version Info
--------------------     ------------            -------------- ------------
HOSTNAME.gdcii.local:22233 AppFabricCachingService DOWN           3 [3,3][1,3]
  • Run - Start-CacheCluster
HostName : CachePort     Service Name            Service Status Version Info
--------------------     ------------            -------------- ------------
HOSTNAME.gdcii.local:22233 AppFabricCachingService UP             3 [3,3][1,3]

No comments:

Post a Comment