---
title: 'lfd:clustering'
url: 'https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-clustering'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-clustering.md'
date: '2026-09-24'
description: 'Configure a group of servers to share blocks and configuration changes. juggernaut --task=lfd:clustering Option Value Default Description --CLUSTER_SENDTO <string1,string2> The cluster member IP addresses to send requests to (comma separated). --CLUSTER_SENDTO_add <string> Add a si…'
taxonomy:
  category:
    - docs
  tag:
    - clustering
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Lfd       lfd:clustering    

# lfd:clustering

Configure a group of servers to share blocks and configuration changes.

```
juggernaut --task=lfd:clustering
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--CLUSTER_SENDTO` | <string1,string2> |  | The cluster member IP addresses to send requests to (comma separated). |
| `--CLUSTER_SENDTO_add` | <string> |  | Add a single entry to CLUSTER\_SENDTO. |
| `--CLUSTER_SENDTO_del` | <string> |  | Remove a single entry from CLUSTER\_SENDTO. |
| `--CLUSTER_RECVFROM` | <string1,string2> |  | The cluster member IP addresses to receive requests from (comma separated). |
| `--CLUSTER_RECVFROM_add` | <string> |  | Add a single entry to CLUSTER\_RECVFROM. |
| `--CLUSTER_RECVFROM_del` | <string> |  | Remove a single entry from CLUSTER\_RECVFROM. |
| `--CLUSTER_MASTER` | <string> |  | IP address of the master node in the cluster allowed to send CLUSTER\_CONFIG changes. |
| `--CLUSTER_NAT` | <string> |  | The public IP address of this server (For servers behind a NAT). |
| `--CLUSTER_LOCALADDR` | <string> |  | Send requests on an IP address other than the default IP address. |
| `--CLUSTER_PORT` | <string> | 7777 | The cluster communication port (must be the same on all cluster member servers). There is no need to open this port in the firewall as the firewall will automatically add in and out bound rules to allow communication between cluster members. |
| `--CLUSTER_KEY` | <string> |  | The secret key used to encrypt cluster communications using the Blowfish algorithm. It should be between 8 and 56 characters long. |
| `--CLUSTER_BLOCK` | <1\|0> | 1 | Automatically send login failure blocks to all members of CLUSTER\_SENDTO. Those servers must have this servers IP address listed in their CLUSTER\_RECVFROM. |
| `--CLUSTER_CONFIG` | <1\|0> | 0 | Allow cluster configuration options to be received. |
| `--CLUSTER_CHILDREN` | <1-100> | 10 | The maximum number of child processes to listen on. High blocking rates or large clusters may need to increase this. |
| `--default` | <yes> |  | Reset all settings to their default values. |
| `--default_option` | <option> |  | Reset a specific setting to its default value. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// add an IP address to CLUSTER_SENDTO
juggernaut --task=lfd:clustering --CLUSTER_SENDTO_add=203.0.113.1 --restart=yes

// reset CLUSTER_PORT back to default
juggernaut --task=lfd:clustering --default_option=CLUSTER_PORT --restart=yes

// reset all settings back to default
juggernaut --task=lfd:clustering --default=yes --restart=yes
```

## Related Pages

- [LFD Clustering](https://docs.danami.com/juggernaut/user-guide/lfd-clustering "LFD Clustering")
- [LFD Clustering](https://docs.danami.com/juggernaut/settings/login-failure-daemon/lfd-clustering "LFD Clustering")

 [ ](https://docs.danami.com/juggernaut/user-guide/lfd-clustering) [](https://docs.danami.com/juggernaut/settings/login-failure-daemon/lfd-clustering)

---

## Navigation

- Previous: [lfd:allow](https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-allow.md)
- Next: [lfd:country](https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-country.md)
