> Source: https://docs.cyberelements.io/bastion/4.7/hr/Usage/Reference/SystemConsole/ClusterSettings/

# Cluster settings

The **Cluster settings** module tunes the behaviour of an existing cluster: how a node decides it is no longer able to serve, and which virtual IPs the cluster carries. It is intended for an administrator adjusting the failover conditions, or adding an address to the cluster.

> **Settings that can stop the platform**
>
> Both groups of this window carry the same two warnings: *Caution: Incorrectly changing these settings may prevent the platform from working*, and *Any modification may trigger a web server restart*.

ⓘ The module is only offered on a server that is **not standalone**. The role itself is chosen in [Switch mode](https://docs.cyberelements.io/bastion/4.7/hr/Usage/Reference/SystemConsole/SwitchMode/).

---

## Cluster

This group governs what makes a node hand over to the other.

| Field | Description |
|---|---|
| **Disable VIP when the wire is unplugged from the NIC** | The node drops its virtual IPs as soon as its network interface loses the link, so that the other node takes over rather than an unreachable node keeping the addresses. |
| **Disable ping** | Stops the node from answering ping. |
| **Check gateway connections** | Makes the health of the node depend on its gateway connections, and reveals the field below. |
| **Gateway pattern** | Which gateways are taken into account by the previous check. |

## Virtual IP

The second group lists the addresses the cluster answers on, whichever node is active.

| Column | Description |
|---|---|
| **Type** | Nature of the address: **User**, **Web virtual IP**, **ZEO virtual IP** or **SSL Router virtual IP**. |
| **IP address** | The address itself. |
| **Settings** | Mode of the address: **Load balancing** or **Failover VIP on main interface**. |

### Adding or editing an address

The **Add a virtual IP** and **Modification of a virtual IP** windows carry the same fields.

| Field | Description |
|---|---|
| **IP Address** | Mandatory. The virtual address. |
| **Load balancing** / **Failover** | Two exclusive options: the address is shared between the nodes, or it moves to the surviving node. |
| **Virtual IP on the main interface** | Places the address on the main interface rather than on a dedicated one. |
| **Master interface** | Network interface carrying the address on the master. |
| **Slave interface** | Network interface carrying the address on the slave. |

> **An interface is required**
>
> If the address is not placed on the main interface, the two interface fields must be filled: otherwise the window reports *You must set a network interface* and refuses to save.

**Validate** saves the address, **Cancel** closes the window.
