我有两台运行Docker的主机,我已经在我的第一台主机上成功启动了Geode定位器和服务器。
但是,当我尝试在第二台服务器上启动新的Geode定位器时:
start server --name=aloha --locators=myCache[10334]
我收到以下错误:
[info 2017/11/18 10:44:17.228 UTC aloha <main> tid=0x1] Starting membership services
[info 2017/11/18 10:44:17.304 UTC aloha <main> tid=0x1] JGroups channel created (took 76ms)
[info 2017/11/18 10:44:17.317 UTC aloha <main> tid=0x1] GemFire P2P Listener started on /172.17.0.1:41936
[info 2017/11/18 10:44:17.318 UTC aloha <Geode Failure Detection Server thread 0> tid=0x1e] Started failure detection server thread on /172.17.0.1:55542.
[info 2017/11/18 10:44:17.334 UTC aloha <main> tid=0x1] Attempting to join the distributed system through coordinator 172.17.0.7(myCache:77)<ec><v0>:1024 using address 172.17.0.1(aloha:664):1024
[info 2017/11/18 10:44:29.346 UTC aloha <main> tid=0x1] Probable coordinator is still 172.17.0.7(myCache:77)<ec><v0>:1024 - waiting for a join-response
[info 2017/11/18 10:44:41.351 UTC aloha <main> tid=0x1] Probable coordinator is still 172.17.0.7(myCache:77)<ec><v0>:1024 - waiting for a join-response
[info 2017/11/18 10:44:53.355 UTC aloha <main> tid=0x1] Probable coordinator is still 172.17.0.7(myCache:77)<ec><v0>:1024 - waiting for a join-response
[info 2017/11/18 10:45:05.359 UTC aloha <main> tid=0x1] Probable coordinator is still 172.17.0.7(myCache:77)<ec><v0>:1024 - waiting for a join-response
[info 2017/11/18 10:45:17.361 UTC aloha <main> tid=0x1] Stopping membership services
[info 2017/11/18 10:45:17.362 UTC aloha <main> tid=0x1] GMSHealthMonitor server socket is closed in stopServices().
[info 2017/11/18 10:45:17.362 UTC aloha <Geode Failure Detection Server thread 0> tid=0x1e] GMSHealthMonitor server thread exiting
[info 2017/11/18 10:45:17.363 UTC aloha <main> tid=0x1] GMSHealthMonitor serverSocketExecutor is terminated
我公开了以下端口: - 7575,1099,10334,8045和1024
我还添加了防火墙规则以允许流量(tcp / udp)到1024
但似乎我希望启动它的 aloha 服务器正在等待永远不会到来的myCache响应。
有没有人经历过这个?或者有人有解决方案吗?