Hi Dileep, The best thing is that you prepare a default-distributed-db-config.json file where you decide how to distributed the database, then start OrientDB instances.
Best Regards, Luca Garulli Founder & CEO OrientDB <http://orientdb.com/> On 9 May 2016 at 07:35, dileep kandimalla <[email protected]> wrote: > In the process of scaling orientDB i am looking into sharding. Here i > tried sharding a class by creating clusters and storing into different > servers as mentioned in > http://orientdb.com/docs/2.1/Distributed-Sharding.html , but i could not > able to find clusters at desired servers as per the configuration. Can any > one of you let me know is my configuration correct or am i doing the > changes as desired? > > Steps Followed: > > 1) Started a node1 in dserver mode, > > 2) Once node1 is active started node2 & node3, Here i could see like all > the three node are connected. > > 3) created a database at node1 as "autoDeploy" is true, database started > replicating to node2, node3 as well. > > 4) Created a class "actionevent" at node1, now it should create a > default, actionevent_node1, actionevent_node2, actionevent_node3 clusters > and those clusters should be placed at the servers as mentioned in the > config file. but i could not see like clusters are being placed at the > servers as mentioned in the config file. > > My default-distributed-db-config.json file is (actionevent is a class) > > { > "autoDeploy": true, > "hotAlignment": false, > "executionMode": "undefined", > "readQuorum": 1, > "writeQuorum": 2, > "failureAvailableNodesLessQuorum": false, > "readYourWrites": true, > "servers": { > "*": "master" > }, > "clusters": { > "internal": { > }, > "index": { > }, > "actionevent_node1": { > "servers" : [ "node1", "node2", "node3" ] > }, > "actionevent_node2": { > "servers" : [ "node1", "node2" ] > }, > "actionevent_node3": { > "servers" : [ "node3" ] > }, > "*": { > "servers": [ "<NEW_NODE>" ] > } > } > } > > ------------------------------ > Sharding | OrientDB Manual > <http://orientdb.com/docs/2.1/Distributed-Sharding.html> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
