Problem with use-cachecluster command (ErrorCode<ERRCAdmin040>:SubStatus<ES0001>)
-
2012年1月5日 14:39
Hi,
I've just installed the version 1.1 of Windows Server AppFabric caching on my development machine.
I have a problem when I try to execute the command use-cachecluster, I've got this error :PS C:\Windows\system32> use-cachecluster
Use-CacheCluster : ErrorCode<ERRCAdmin040>:SubStatus<ES0001>:Failed to connect to hosts in the cluster
At line:1 char:17
+ use-cachecluster <<<<
+ CategoryInfo : NotSpecified: (:) [Use-CacheCluster], DataCacheException
+ FullyQualifiedErrorId : Microsoft.ApplicationServer.Caching.DataCacheException, Microsoft.ApplicationServer.Caching.Commands.UseCacheClusterCommandI have the same result with xml or sql configuration provider.
Is someone have an idea or workaround for this problem ?Best regards,
Matthieu
すべての返信
-
2012年1月6日 15:14
Are you on a VM without any network connected to it, perhaps?
I know there's an issue with accessing the cache when the server isn't connected to a network.
Two options
1) Modify your hosts file (system32\drivers\etc\) and point your host name to 127.0.0.1. See http://social.msdn.microsoft.com/Forums/en/velocity/thread/abbb7ea0-5e0e-4c7b-b182-0e0b8eb52398.
2) Install the loopback adapter and disable your other NICs when you're not connected to a network. See http://blogs.msdn.com/b/bizintegration1/archive/2011/10/23/playing-with-windows-server-appfabric-cache-error-creating-cache-errorcode-lt-errps009-gt-substatus-lt-es0001-gt-datacacheexception.aspx.
-
2012年1月9日 11:06
I'm not on a VM. AppFabric is installed on my computer which is connected to a network.
So I have tried the first option, but it didn't change anything. I have the same behavior with the commande get-cacheclusterhealth.An other thing is really strange. I could do a start/stop-cachecluster. My host start, but the the version information is 0 [0,0] [0,0].
HostName : CachePort Service Name Service Status Version Info
-------------------- ------------ -------------- ------------
MyHost:22233 AppFabricCachingService UP 0 [0,0][0,0] -
2012年1月10日 18:06Matthieu I am having the exact same issue you are seeing. Adding my machine name to the hosts file fixed the Use-CacheCluster issue but now when I start the cache cluster I get time-out error. My cache creating scripts worked fine in AppFabric 1.0. I have found that this issue for me at least only occurs when setting up AppFabric 1.1 in a domain. The issue does not reveal itself in a workgroup environment.
- 編集済み PasteUserNameHere 2012年1月10日 20:49
-
2012年1月12日 5:20
Matthieu - I had the same problem. These two steps resolved it: 1. Start the Remote Registry service, if not started. AppFabric uses this service even to connect to your local machine (unless the hosts file is modified). If this step doesn't resolve the issue (which was the case with me), do Restart-CacheCluster from AppFabric Caching Admin PowerShell prompt, after remote registry is started.
Hope this helps.
- 回答の候補に設定 Matthieu Klotz 2012年1月16日 15:09
-
2012年1月12日 20:21Thanks Siva! Remote Registry service solved my issue.
-
2012年1月16日 15:09Thanks Siva, your solution also solved my issue :)
-
2012年5月13日 8:36
hi Siva , i also have the issue, Remote Registry service is running and my computer is connecting to network good. but when i run program "Cache management PowerShell" the error is appear.
-
2012年5月23日 5:48
Hi Lention,
Are you running the Caching Administration Windows PowerShell as an administrator?
The admin tries to ping all the machines in the cluster while it opens. When it is not able to reach them because of network issue or lack of administrative permissions, you could face this issue
If the above step doesnt solve your issue, please check whether you running the Caching Administration Windows PowerShell under the same domain account you used to create the cluster
-
2012年6月19日 13:21
The Remote Registry start fixed my connection issue as well. Thanks for the tip.Matthieu - I had the same problem. These two steps resolved it: 1. Start the Remote Registry service, if not started. AppFabric uses this service even to connect to your local machine (unless the hosts file is modified). If this step doesn't resolve the issue (which was the case with me), do Restart-CacheCluster from AppFabric Caching Admin PowerShell prompt, after remote registry is started.
Hope this helps.
Brendan Sullivan
-
2012年7月4日 7:59
Restart-CacheCluster fixed the same issue on my laptop. The Remote Registry service remains disabled.Matthieu - I had the same problem. These two steps resolved it: 1. Start the Remote Registry service, if not started. AppFabric uses this service even to connect to your local machine (unless the hosts file is modified). If this step doesn't resolve the issue (which was the case with me), do Restart-CacheCluster from AppFabric Caching Admin PowerShell prompt, after remote registry is started.
Hope this helps.
-
2012年12月6日 15:32
Matthieu - I had the same problem. These two steps resolved it: 1. Start the Remote Registry service, if not started. AppFabric uses this service even to connect to your local machine (unless the hosts file is modified). If this step doesn't resolve the issue (which was the case with me), do Restart-CacheCluster from AppFabric Caching Admin PowerShell prompt, after remote registry is started.
Hope this helps.
That fixed my problem: remote registry service was disabled.
Thanks !
-
2013年2月22日 19:11
I am having trouble with this.
Environment:
1 SQL 2008R2 server for the caching database
3 AppFabric caching servers in a cluster
I get this same error when running the Get-CacheClusterHealth command.
I am running the console as Administrator
The servers are all running on the network
Remote Registry is running
The Firewalls have been enabled both inbound and outbound
Permissions on the database have been enabledGot any suggestions on what is next?
- 編集済み ArkAngelSeattle 2013年2月22日 19:13 I wasn't done with the post.

