Orientdb Orient db分布式数据库配置

Orientdb Orient db分布式数据库配置,orientdb,Orientdb,我无法使用配置分布式数据库 我正在使用orientdb社区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 [So

我无法使用配置分布式数据库

我正在使用orientdb社区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配置。这两个节点的配置相同。节点位于同一台计算机上

<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]

为了能够形成集群,您需要在hazelcast配置的join标记中添加tcp ip标记。由于没有联接方法而面临的错误将得到解决。您的hazelcast配置文件应如下所示:

    <join>
        <multicast enabled="false">
            <multicast-group>235.1.1.1</multicast-group>
            <multicast-port>2434</multicast-port>
        </multicast>
  <tcp-ip enabled="true">
            <member>152.144.227.223:2434</member>
            <member>152.144.227.223:2435</member>
        </tcp-ip>
    </join>

235.1.1.1
2434
152.144.227.223:2434
152.144.227.223:2435

有什么问题吗?你在用Windows吗?你有日志吗?@Lvca有它的窗口。之前没有任何错误。更新了带有错误详细信息的原始帖子。通过阅读日志问题,这是一个Hazelcast问题:“无效的加入请求来自:地址[152.144.227.223]:2435,原因:不兼容的加入者!-vs-tcp ip”。仔细检查所有节点是否具有相同的配置。另请参见:@Lvca am正在获取新的错误集。。就是做不好。。用新错误更新了原始帖子。请升级到1.7.7。
    <join>
        <multicast enabled="false">
            <multicast-group>235.1.1.1</multicast-group>
            <multicast-port>2434</multicast-port>
        </multicast>
  <tcp-ip enabled="true">
            <member>152.144.227.223:2434</member>
            <member>152.144.227.223:2435</member>
        </tcp-ip>
    </join>