Multimaster setup and Cannot find best cluster Exception

18 views
Skip to first unread message

Pradeep B K

unread,
Sep 1, 2015, 10:14:38 PM9/1/15
to OrientDB
Hi All, 
How can I configure multimaster in distributed environment?  Currently I have two node setup and one of the node is becoming master and another node discovers the master as below

2015-08-31 17:11:11:511 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] Sending master question to Address[10.0.20.x]:2434 [TcpIpJoiner]

2015-08-31 17:11:11:511 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] NOT sending master question to blacklisted endpoints: {} [TcpIpJoiner]

2015-08-31 17:11:11:512 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] Sending master question to Address[10.0.20.x]:2434 [TcpIpJoiner]

2015-08-31 17:11:11:513 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] Handling master response: Address[10.0.20.x]:2434 from: Address[10.0.20.x]:2434 [ClusterService]

2015-08-31 17:11:11:514 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] ** setting master address to Address[10.0.20.x]:2434 [Node]

2015-08-31 17:11:11:515 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] Handling master response: Address[10.0.20.x]:2434 from: Address[10.0.20.x]:2434 [ClusterService]

2015-08-31 17:11:11:515 FINES [10.0.20.55]:2434 [orientdb] [3.3.5] ** setting master address to Address[10.0.20.x]:2434 [Node]

2


because of this I am getting below exception


com.orientechnologies.common.exception.OException: Cannot find best cluster for class 'MasterTable' on server 'node2'. ClusterStrategy=local


The master is always the node which I bring up first and the exception is thrown on another node. 



Can someone please help me on this? 


Thanks






Reply all
Reply to author
Forward
0 new messages