Clustering

These how-to guides cover common operations related to clustering in LXD.

Create and configure clusters

LXD servers can join together as members of a cluster, then be configured for features such as control plane mode and cluster healing.

Manage instances and cluster groups

Instances on cluster members can be accessed from and migrated to other members. Cluster groups and placement groups can be used to control how instances are distributed across cluster members.

Recover clusters or cluster volumes

Quorum loss from member failures and orphaned volume entries from interrupted migrations can both be recovered.

Set up a virtual IP

A highly available virtual IP provides a stable entry point for client connections even if individual cluster members go offline.

Use replicators

Replicators continuously copy storage volumes from one LXD cluster to another for disaster recovery purposes.