如何在 2 个单独的服务器上运行 2 个定位器



Server 1,运行以下代码:

start locator --name=locator1 --bind-address=xxx.xx.xx.111 --port=10334 --properties-file=..configgemfire.properties

服务器 2,

connect --locator=locator1[10334]

然后

start locator --name=locator2 --bind-address=xxx.xx.xx.222 --port=10335 --properties-file=..configgemfire.properties

列出成员时:

list members

我确实看到了两个定位器,但第二个定位器似乎卡在无限循环的起始阶段。日志不是很有帮助。我是否正确启动了定位器?

这个问题的解决方案是端口... 完全禁用防火墙允许第二个定位器成功启动。

下一步是打开正确的端口。

更具体地说,它是第二个定位器上的端口,因为它们正在相互通信

最新更新