0
我无法配置分布式数据库使用https://github.com/orientechnologies/orientdb/wiki/Tutorial%3A-setup-a-distributed-databaseOrient db分布式数据库配置
我正在使用orientdb community 1.7.5版本。 节点不能相互连接。我将它配置在同一台服务器上,并遵循上面链接中给出的每条指令。
更新: 之前没有任何错误,但上次尝试时发生此错误。 此处没有任何错误。但得到了下面的错误,当我试图最后一次......
00:55:15:315 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Accepting socket connection from /152.144.227.223:56818 [SocketAcceptor]
2014-07-23 00:55:15:321 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] 2434 accepted socket connection from /152.144.227.223:56818 [TcpIpConnectionManager]
2014-07-23 00:55:16:321 WARN [152.144.227.223]:2434 [orientdb] [3.2.2] Invalid join request from: Address[152.144.227.223]:2435, reason:Incompatible joiners! -vs- tcp-ip [ClusterService]
2014-07-23 00:55:16:325 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Connection [Address[152.144.227.223]:2435] lost. Reason: Socket explicitly closed [TcpIpConnection]
还发现以下hazlecase configuration.its相同的两个节点。节点在同一台机器上。
<network>
<port auto-increment="true">2434</port>
<join>
<multicast enabled="false">
<multicast-group>235.1.1.1</multicast-group>
<multicast-port>2434</multicast-port>
</multicast>
</join>
<tcp-ip enabled="true">
<member>152.144.227.223:2434</member>
<member>152.144.227.223:2435</member>
</tcp-ip>
</network>
tried by changing the port in hazlecast to 152.144.227.223:2424/2425 and got below warning when starting node1.
2014-07-23 01:14:27:157 INFO null [orientdb] [3.2.2] Picked Address[152.144.227.223]:2434, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=2434], bind any local is true [DefaultAddressPicker]
2014-07-23 01:14:27:252 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Hazelcast Community Edition 3.2.2 (20140527) starting at Address[152.144.227.223]:2434 [system]
2014-07-23 01:14:27:254 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Copyright (C) 2008-2014 Hazelcast.com [system]
2014-07-23 01:14:27:258 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Address[152.144.227.223]:2434 is STARTING [LifecycleService]
2014-07-23 01:14:27:424 WARN [152.144.227.223]:2434 [orientdb] [3.2.2] No join method is enabled! Starting standalone. [Node]
2014-07-23 01:14:27:457 INFO [152.144.227.223]:2434 [orientdb] [3.2.2] Address[152.144.227.223]:2434 is STARTED [LifecycleService]
新的错误
得到下面的错误的两个节点上
2014-08-08 16:27:37:309 INFO [192.168.159.134]:2434 [orientdb] [3.2.2] Hazelcast Community Edition 3.2.2 (20140527) starting at Address[192.168.159.134]:2434 [system]
2014-08-08 16:27:37:309 INFO [192.168.159.134]:2434 [orientdb] [3.2.2] Copyright (C) 2008-2014 Hazelcast.com [system]
2014-08-08 16:27:37:356 INFO [192.168.159.134]:2434 [orientdb] [3.2.2] Address[192.168.159.134]:2434 is STARTING [LifecycleService]
2014-08-08 16:27:38:494 WARN [192.168.159.134]:2434 [orientdb] [3.2.2] No join method is enabled! Starting standalone. [Node]
2014-08-08 16:27:38:869 INFO [192.168.159.134]:2434 [orientdb] [3.2.2] Address[192.168.159.134]:2434 is STARTED [LifecycleService]
问题是什么?你使用Windows?你有日志吗? – Lvca
@Lvca它的窗户。之前没有任何错误。更新原始帖子,提供错误详情。 –
通过阅读日志问题,这是一个Hazelcast问题:“无效的加入请求来自:地址[152.144.227.223]:2435,原因:不兼容的加入者!-vs- tcp-ip”。仔细检查所有节点具有相同的配置。另请参阅:http://hazelcast.org/docs/3.1/manual/html/ch14s02.html#ConfigSpecifyInterfaces – Lvca