forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Distributed Server Manager
lvca edited this page Dec 14, 2012
·
2 revisions
Java class: com.orientechnologies.orient.server.handler.distributed.ODistributedServerManager
Configure a distributed clustered architecture. This task is configured as a Server handler. The task can be configured in easy way by changing parameters:
- enabled: Enabled the plugin: true to enable, false to disable it
- name: Cluster name. Default value is "default". Multiple clusters can coexist in the same network but using different names
- security.algorithm: Name of the algorithm used to encrypt data sent over the network. Default is "Blowfish"
- network.multicast.address: Multicast IP address. Default is "235.1.1.1"
- network.multicast.port: Multicast IP port. Default is "2424"
- network.multicast.heartbeat: Time in seconds between the sending of multicast heartbeat message to check if server nodes are alive. Default is "10" seconds.
- server.update.delay: Delay time in ms the server is updated in asynchronous way. Default is "5000" ms
- server.electedForLeadership: Tells if the current Server node is eligible for Leadership. Default is "true"
- security.key: Security key used to encrypt data sent over the network. It's auto generated by default the first time the server starts
Default configuration in orientdb-server-config.xml
<handler class="com.orientechnologies.orient.server.handler.distributed.ODistributedServerManager">
<parameters>
<parameter name="enabled" value="true"/>
<parameter name="replication.conflictResolver.strategy" value="com.orientechnologies.orient.server.replication.conflict.ODefaultReplicationConflictResolver"/>
<parameter name="replication.conflictResolver.ignoreIfSameContent" value="true"/>
<parameter name="replication.conflictResolver.ignoreIfMergeOk" value="false"/>
<parameter name="replication.conflictResolver.latestAlwaysWin" value="false"/>
<parameter name="name" value="default"/>
<parameter name="security.algorithm" value="Blowfish"/>
<parameter name="network.multicast.address" value="235.1.1.1"/>
<parameter name="network.multicast.port" value="2424"/>
<parameter name="network.multicast.heartbeat" value="10"/>
<parameter name="server.update.delay" value="5000"/>
<parameter name="server.electedForLeadership" value="true"/>
<parameter name="security.key" value="J5jzKmiJtZe0szez"/>
</parameters>
</handler>