如何在Sharding模式下设置分布式orientDB(企业版2.2.9)

时间:2016-09-20 07:18:07

标签: orientdb orientdb2.2 orientdb-etl

我正在为我的项目使用Oriednt DB enterprose 2.2.9版本。我现在已经设置了2服务器集群,并在分布式环境中实现了分片。但是当我使用远程传送器从RDBMS中提取数据时,数据不会分发。它只是在两台服务器上复制数据。那么请你帮我设置一个分布式环境

我的配置文件如下: -

默认分布式-DB-config.json: - {     "复制":是的,     "集群":{         "内部":{             "复制":false         },         " index":{             "复制":false         },         " ODistributedConflict":{             "复制":false         },         " *":{             "复制":是的,             " writeQuorum":2,             "分区":{                 "策略":"循环赛",                 "默认":0,                 "分区":[                         [" manoj" ]             [" vishnu" ]                 ]             }         }     } }

hazelcast.xml              orientdb         orientdb                   假         假         假         五         1         1         1         1

</properties>
<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>
        <tcp-ip enabled="true">
                            <member>10.22.20.101:2434</member>
                            <member>10.22.20.122:2434</member>
                    </tcp-ip>

    </join>
</network>
<executor-service>
    <pool-size>16</pool-size>
</executor-service>

2 个答案:

答案 0 :(得分:0)

您可以尝试删除distributed-config.json,以便OrientDB从default-distributed-db-config.json读取吗?

答案 1 :(得分:0)

您的配置无效(这是一个旧的,过时的版本)。 2.2文档中的一些仍然反映了它,我删除了引用。

更好的信息在这里以及Oleksandr发送给您的信息: http://orientdb.com/docs/master/Distributed-Configuration-Tuning.html

-Colin