0

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

我的配置文件如下:-

default-distributed-db-config.json:- { "replication": true, "clusters": { "internal": { "replication": false }, "index": { "replication": false }, "ODistributedConflict" : { "replication": false }, "*": { "replication": true, "writeQuorum": 2, "partitioning": { "strategy": "round-robin", "default": 0, "partitions" : [ [ "manoj" ], [ "vishnu" ] ] } } } }

hazelcast.xml orientdb orientdb 假 假 假 5 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>

4

2 回答 2

0

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

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

-科林

于 2016-09-23T20:40:24.073 回答
0

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

于 2016-09-20T07:45:16.000 回答