[英]How to setup distributed orientDB (Enterprise edition 2.2.9) in Sharding mode
I am using Oriednt DB enterprose 2.2.9 edition for my project. 我正在为我的项目使用Oriednt DB enterprose 2.2.9版。 I have set the 2 server cluster for now and implemented the sharding in distributed environment.
我现在已经设置了2个服务器集群,并在分布式环境中实现了分片。 But when i am pulling data from RDBMS using teleporter, data is not distributing.
但是,当我使用Teleporter从RDBMS中提取数据时,数据并未分配。 Its simply replicating the data in two servers.
它只是将数据复制到两个服务器中。 So can you please help me in setup a distributed environment
所以请您帮我建立一个分布式环境
My Config files are as follows:- 我的配置文件如下:
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" ] ] } } } } default-distributed-db-config.json:- {“复制”:true,“群集”:{“内部”:{“复制”:false},“索引”:{“复制”:false},“ ODistributedConflict” :{“ replication”:false},“ *”:{“ replication”:true,“ writeQuorum”:2,“ partitioning”:{“ strategy”:“ round-robin”,“ default”:0,“ partitions” :[[“ manoj”],[“ vishnu”]]}}}}
hazelcast.xml orientdb orientdb false false false 5 1 1 1 1 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>
您可以尝试删除distributed-config.json
以便OrientDB从default-distributed-db-config.json
读取吗?
Your configuration is invalid (that's an old, outdated version). 您的配置无效(这是一个过时的旧版本)。 Some of the 2.2 docs still reflected it, and I removed the references.
一些2.2文档仍然反映了这一点,因此我删除了参考文献。
Better information is here and what Oleksandr sent you: http://orientdb.com/docs/master/Distributed-Configuration-Tuning.html 此处提供了更好的信息以及Oleksandr给您发送的信息: http : //orientdb.com/docs/master/Distributed-Configuration-Tuning.html
-Colin -科林
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.