gpt4 book ai didi

cluster-computing - AppFabric 缓存集群 - 无法启动第二台主机

转载 作者:行者123 更新时间:2023-12-04 08:36:50 25 4
gpt4 key购买 nike

我在使用 2 台主机运行 AppFabric 集群时遇到问题。我已经验证它只适用于 1 台主机(即缓存项计数随着我浏览 Web 应用程序而增加),但是当我尝试将第二台主机加入集群时,我收到以下异常:

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

其中 289851-cache2 是第二台主机的名称。

尽管异常表示检查权限,但我已将缓存连接帐户更改为我的域帐户并在任何地方授予访问权限 - 该帐户是两台 AppFabric 主机上的管理员,具有对网络共享的完全访问权限,并且我运行 AppFabric以管理员身份使用 PowerShell。但是在我运行 Start-CacheCluster 后,第一台主机的状态将变为 UP,而第二台主机的状态将无限期地变为 STARTING。我需要重新启动机器以执行其他任何操作,因为即使通过任务管理器或控制面板中的服务,它也不会让我停止、启动或终止进程。

我们正在运行 Windows Server 2008 64 位,安装了 WindowsServerAppFabricSetup_x64_6.0(不是 6.1,因为我认为它需要 Windows Server 2008 R2),并且配置存储在网络共享上。

主机 1 的 DistributedCacheAgent.config:
  <host replicationPort="22236" arbitrationPort="22235" clusterPort="22234" hostId="1739552749" size="1228" leadHost="true" account="<domain account>" name="localhost" cacheHostName="AppFabricCachingService" cachePort="22233" />

主机 2 的 DistributedCacheAgent.config:
  <host replicationPort="22236" arbitrationPort="22235" clusterPort="22234" hostId="1739552749" size="1228" leadHost="false" account="<domain account>" name="localhost" cacheHostName="AppFabricCachingService" cachePort="22233" />

提前致谢。

最佳答案

关于cluster-computing - AppFabric 缓存集群 - 无法启动第二台主机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3604326/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com