I am unable to change the service account for the App Fabric Distributed Cache.
I am following the instructions in the Change Service Account section here:
http://technet.microsoft.com/en-us/library/jj219613.aspx#changesvcacct
When I get to the part where I deploy my changes (with this line of PowerShell script: $cacheService.ProcessIdentity.Deploy()), I get the following error:
Exception calling "Deploy" with "0" arguments(s): "This operation uses the SharePoint Administration service (spadminV4), which could not be contacted. If the service is stopped or disabled, start it and try the operation again."
I have a 3 server farm with an app server and a web server.
- The distributed cache is running on the web server but not on the app server. The app server runs search and Microsoft recommends not running the distributed cache on the same server as the search server.
- I am running the PowerShell scripts using the Install account, which has admin permissions to the farm, the distributed cache and both the app server and the web server. Note that I get the same error if I try to run the commands using the farm account, which does not have admin privileges to the web server or the app server but has admin privileges to the distributed cache and the farm.
- Central Administration is running on the App server but not on the web server
It appears that the PowerShell commands are trying to access Central Administration on the server that hosts the distributed cache (the web server), but Central Administration isn't there.
Am I missing something? How do I get past this error and change the service account used by the distributed cache. I could try moving the distributed cache to app server, but that seems silly considering I just want to change the service account.
Doug Hemminger http://www.sharepointdoug.com