0

我尝试在 OrientDB 中使用复制机制配置分布式数据库。我使用了教程:(https://github.com/orientechnologies/orientdb/wiki/Tutorial%3A-setup-a-distributed-database

一个 DB 在我的本地主机上:192.168.2.100,另一个在带有桥接网络接口的 VirtualMachine 192.168.2.179 上。Ping 成功。当我启动第一个数据库然后启动第二个数据库时,一切正常,直到将数据库复制到另一台机器。我收到以下错误消息/异常:

error on installing database TEST_DATABASE in C:\orientdb-community-1.7-rc2/databases/TEST_DATABASE
-> com.orientechnologies.orient.core.storage.impl.local.OStorageLocal cannot be cast to
com.orientechnologies.orient.server.distributed.ODistributedStorage

-> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.executeOnLocalNode(OHazelcastPlugin.java:644)

-> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.onMessage(OHazelcastDistributedDatabase.java:404)

-> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase$1.run(OHazelcastDistributedDatabase.java:282)

并引发以下异常:

-> java.lang.Thread.run(Unknown Source)Exception in thread "main"
com.orientechnologies.orient.server.distributed.ODistributedException:
No response received from remote nodes for auto-deploy of database
        at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabases(OHazelcastPlugin.java:815)
        at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:194)
        at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:654)
        at com.orientechnologies.orient.server.OServer.activate(OServer.java:220)
        at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:32)

我的 TEST_DATABASE 被创建为 plocal。它是一个对象数据库。我也尝试手动将数据库复制到另一台机器。问题是当在一台机器上进行更改时,不会复制任何数据。所有配置都是标准配置,所以我没有更改。请你帮助我好吗?

谢谢

4

0 回答 0