lxc project promote-replica

Promote project to leader mode for replication

Synopsis

Description: Promotes the project to leader mode for replication.

The project must take part in a replication topology: one with no replica mode set requires at least one replicator, and one in standby mode requires the replica.cluster config key. This also validates that all replicator targets are in standby mode, and that the cluster the project replicates with is no longer in leader mode. Use –force to skip these checks.

lxc project promote-replica [<remote>:]<project> [flags]

Options

  -f, --force   Skip validation of the replication topology and remote project states

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