Skip to content
Docs
lxc cluster enable

lxc cluster enable

Enable clustering on a single non-clustered LXD server

Synopsis

Description: Enable clustering on a single non-clustered LXD server

This command turns a non-clustered LXD server into the first member of a new LXD cluster, which will have the given name.

It's required that LXD is already available on the network. You can check this by running 'lxc config get core.https_address'. If either an IP address and port is displayed, or both, LXD is already available on the network. If no value is set, use 'lxc config set core.https_address' to set it.

lxc cluster enable [<remote>:] <name> [flags]

Options inherited from parent commands

--debug Show all debug messages --force-local Force using the local unix socket -h, --help Print help --project Override the source project -q, --quiet Don't show progress information --sub-commands Use with help or --help to view sub-commands -v, --verbose Show all information messages --version Print version number

SEE ALSO