replication

Usage:

microceph replication [command]

Available commands:

configure   Configure replication parameters for RBD resource (Pool or Image)
disable     Disable replication for RBD resource (Pool or Image)
enable      Enable replication for RBD resource (Pool or Image)
list        List all configured replications.
status      Show RBD resource (Pool or Image) replication status

Global options:

-d, --debug       Show all debug messages
-h, --help        Print help
    --state-dir   Path to store state information
-v, --verbose     Show all information messages
    --version     Print version number

enable

Enable replication for RBD resource (Pool or Image)

Usage:

microceph replication enable rbd <resource> [flags]

Flags:

--remote string      remote MicroCeph cluster name
--schedule string    snapshot schedule in days, hours, or minutes using d, h, m suffix respectively
--skip-auto-enable   do not auto enable rbd mirroring for all images in the pool.
--type string        'journal' or 'snapshot', defaults to journal (default "journal")

status

Show RBD resource (Pool or Image) replication status

Usage:

microceph replication status rbd <resource> [flags]

Flags:

--json   output as json string

list

List all configured remotes replication pairs.

Usage:

microceph replication list rbd [flags]
--json          output as json string
--pool string   RBD pool name

disable

Disable replication for RBD resource (Pool or Image)

Usage:

microceph replication disable rbd <resource> [flags]
--force   forcefully disable replication for rbd resource

promote

Promote local cluster to primary

microceph replication promote [flags]
--remote         remote MicroCeph cluster name
--force          forcefully promote site to primary

demote

Demote local cluster to secondary

Usage:

microceph replication demote [flags]
--remote         remote MicroCeph cluster name