Docker Geode remote locator

杀马特。学长 韩版系。学妹 提交于 2019-12-11 08:38:18

问题


I have 2 hosts on which I am running Docker, I have successfully started a Geode Locator and Server on my first host.

However, when I try to start a new Geode locator on the 2nd server:

start server --name=aloha --locators=myCache[10334]

I get the following error:

[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

I am exposing the following ports: - 7575, 1099, 10334, 8045 and 1024

I have also added a firewall rule to allow traffic (tcp/udp) through 1024

But it seems that the aloha server that I wish to start it is waiting for the myCache response which never arrives.

Has anyone experienced this? Or does anyone have a solution for this?

来源:https://stackoverflow.com/questions/47365219/docker-geode-remote-locator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!