<commit_before># Distributed Configuration

Look also at [Replication](Replication.md) and pages. The distributed configuration is made of 3 files under the **config/** directory:
- [orientdb-server-config.xml](Distributed-Configuration.md#orientdb-server-configxml)
- [default-distributed-db-config.json](Distributed-Configuration.md#default-distributed-db-configjson)
- [hazelcast.xml](Distributed-Configuration.md#hazelcastxml)
  - [Cloud support](Distributed-Configuration.md#cloud-support)

Main topics:
- [Asynchronous replication mode](Distributed-Configuration.md#asynchronous-replication-mode)


## orientdb-server-config.xml

To enable and configure the clustering between nodes, add and enable the **OHazelcastPlugin** plugin. It is configured as a [Server handler](DB-Server.md#handlers). The default configuration is reported below.

File **orientdb-server-config.xml**:
```xml
<handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
  <parameters><commit_msg>Update Distributed-Configuration.md<commit_after># Distributed Configuration

The distributed configuration consists of 3 files under the **config/** directory:
- [orientdb-server-config.xml](Distributed-Configuration.md#orientdb-server-configxml)
- [default-distributed-db-config.json](Distributed-Configuration.md#default-distributed-db-configjson)
- [hazelcast.xml](Distributed-Configuration.md#hazelcastxml)
  - [Cloud support](Distributed-Configuration.md#cloud-support)

Main topics:
- [Replication](Replication.md)
- [Asynchronous replication mode](Distributed-Configuration.md#asynchronous-replication-mode)
- [Return distributed configuration at run-time](Distributed-Configuration.md#return-distributed-configuration-at-run-time)

## orientdb-server-config.xml

To enable and configure the clustering between nodes, add and enable the **OHazelcastPlugin** plugin. It is configured as a [Server handler](DB-Server.md#handlers). The default configuration is reported below.

File **orientdb-server-config.xml**:
```xml
<handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
  <parameters>
{'fraction_non_alphanumeric': 0.1169811320754717, 'fraction_numerical': 0.0009433962264150943, 'mean_word_length': 6.769230769230769, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6701366', 'n_tokens_mistral': 609, 'n_tokens_neox': 585, 'n_words': 129}