cant able to set-up distributed environment on 3 servers .

54 views
Skip to first unread message

Mahesh Wabale

unread,
May 12, 2015, 1:45:00 PM5/12/15
to orient-...@googlegroups.com
Hello every one , I am using orientdb-community-2.1-rc1 .
 I am trying to connect with 3 servers . for that i update my hazelcast file , also update the default-distributed-db-config.json  file for sharding set-up  on all 3 servers . 
they are connect sucessfully . When we create database ,at that time the clusters are not getting with  same id and it give's an error msg . Cant able to create cluster on node1 . 
 How to create successful distribute architecture for in-memory graph database with sharding+replication ?  What are the settings ?

Is it Possible or not ?

need help ? 

thanks in advance .
default-distributed-db-config.json
hazelcast.xml

Mahesh Wabale

unread,
May 12, 2015, 2:06:04 PM5/12/15
to orient-...@googlegroups.com
error is 

"com.orientechnologies.orient.server.distributed.ODistributedException: Error on creating cluster 'demo_node2' in class 'demo"

Amir Khawaja

unread,
May 12, 2015, 3:28:07 PM5/12/15
to orient-...@googlegroups.com
Hi Mahesh,

Do the nodes in your cluster see each other when you start them up via dserver.sh or dserver.bat?

Amir.

Mahesh Wabale

unread,
May 13, 2015, 2:32:46 AM5/13/15
to orient-...@googlegroups.com
Hi amir , 

thanks for reply ,  Yes cluster see nodes when  i start uo via dserver.sh but problem is , when we create a database after that if i am trying to create class that time this error is occur . 

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/ccPIvjFUp0w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amir Khawaja

unread,
May 13, 2015, 1:27:59 PM5/13/15
to orient-...@googlegroups.com
Have you checked the database folder on both machines to verify that the database exists on both machines?

Amir.

Mahesh Wabale

unread,
May 14, 2015, 3:03:34 AM5/14/15
to orient-...@googlegroups.com
Yes , Database is exist . . . .  Problem is the cluster id for each class getting different machin . 

ex . If we create class person .For class person the cluster id is 16 on node1 , 18 on noded2 , 15 on node 3 . Thats why this error is thrown . According to me cluster id should be same for same class on each machin . I didn't got soution on this . I was try this many times but not working . 
Reply all
Reply to author
Forward
0 new messages