Question

J'ai eu des problèmes à obtenir un cluster AppFabric en cours d'exécution avec 2 hôtes. Je l'ai vérifié que cela fonctionne avec seulement 1 hôte (c.-à-count élément de cache augmente à mesure que naviguer l'application Web.), Mais lorsque je tente de rejoindre le 2e hôte au cluster Je reçois l'exception suivante:

Failed to read remote registry key from host 289851-cache2: 
Microsoft.ApplicationServer.Caching.DataCacheException: 
ErrorCode<ERRCAdmin026>:SubStatus<ES0001>:Remote registry access failed on host 289851-cache2.
Check if the required permissions are available. ---> System.IO.IOException: The network path was not found.

    at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode, String str)

    at Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey, String machineName, RegistryView view)

    at Microsoft.ApplicationServer.Caching.AdminApi.CacheAdmin.GetRemoteRegistryKey(String hostName, Boolean writable)

    --- End of inner exception stack trace ---

    at Microsoft.ApplicationServer.Caching.AdminApi.CacheAdmin.GetRemoteRegistryKey(String hostName, Boolean writable)

    at Microsoft.ApplicationServer.Caching.AdminApi.CacheAdmin.GetServerVersion(String 

hostName),DistributedCache.CacheAdmin,Error

Où 289851-cache2 est le nom du second hôte.

Bien que l'exception a dit vérifier les permissions, j'ai changé le compte de connexion de cache pour mon compte de domaine et a accès partout - le compte est un administrateur sur les deux machines hôtes AppFabric, a accès au partage réseau, et je exécutez l'AppFabric PowerShell en tant qu'administrateur. Mais après je lance Start-CacheCluster le premier hôte aura un statut de l'UP alors que le second hôte aura un statut de démarrage indéfiniment. Je dois redémarrer la machine pour faire quoi que ce soit d'autre, car il ne me laisse pas arrêter, de démarrer ou de tuer le processus même par le gestionnaire de tâches ou par le biais des services dans le panneau de contrôle.

Nous exécutant Windows Server 2008 64 bits avec WindowsServerAppFabricSetup_x64_6.0 installés (pas 6.1 car je crois que requiert Windows Server 2008 R2) avec la configuration stockée sur un partage réseau.

Le DistributedCacheAgent.config hôte de 1:

  <host replicationPort="22236" arbitrationPort="22235" clusterPort="22234" hostId="1739552749" size="1228" leadHost="true" account="<domain account>" name="localhost" cacheHostName="AppFabricCachingService" cachePort="22233" />

Le DistributedCacheAgent.config hôte de 2:

  <host replicationPort="22236" arbitrationPort="22235" clusterPort="22234" hostId="1739552749" size="1228" leadHost="false" account="<domain account>" name="localhost" cacheHostName="AppFabricCachingService" cachePort="22233" />

Merci d'avance.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top