lxc project demote-replica¶
Demote project to standby mode for replication
Synopsis¶
Description: Demotes the project to standby mode for replication.
The project must have replica.cluster config set to identify which cluster can replicate to it, unless –force is specified.
If a leader cluster was promoted with –force, it is possible that replication back to a standby can fail with a “split-brain” error. Demote the standby again to resolve the failure.
lxc project demote-replica [<remote>:]<project> [flags]
Options¶
-f, --force Skip validation of replica.cluster config
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 Do not 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¶
lxc project - Manage projects