cluster

Manages the MicroCeph cluster.

Usage:

microceph cluster [flags]
microceph cluster [command]

Available commands:

add         Generates a token for a new server
bootstrap   Sets up a new cluster
config      Manage Ceph Cluster configs
export      Generates cluster token for given Remote cluster
join        Joins an existing cluster
list        List servers in the cluster
migrate     Migrate automatic services from one node to another
remove      Removes a server from the cluster
sql         Runs a SQL query against the cluster database

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

add

Generates a token for a new server

Usage:

microceph cluster add <NAME> [flags]

bootstrap

Sets up a new cluster

Usage:

microceph cluster bootstrap [flags]

Flags:

--microceph-ip    string Network address microceph daemon binds to.
--mon-ip          string Public address for bootstrapping ceph mon service.
--public-network  string Public network Ceph daemons bind to.
--cluster-network string Cluster network Ceph daemons bind to.

config

Manages Ceph Cluster configs.

Usage:

microceph cluster config [flags]
microceph cluster config [command]

Available Commands:

get         Get specified Ceph Cluster config
list        List all set Ceph level configs
reset       Clear specified Ceph Cluster config
set         Set specified Ceph Cluster config

config get

Gets specified Ceph Cluster config.

Usage:

microceph cluster config get <key> [flags]

config list

Lists all set Ceph level configs.

Usage:

microceph cluster config list [flags]

config reset

Clears specified Ceph Cluster config.

Usage:

microceph cluster config reset <key> [flags]

Flags:

--wait           Wait for required ceph services to restart post config reset.
--skip-restart   Don't perform the daemon restart for current config.

config set

Sets specified Ceph Cluster config.

Usage:

microceph cluster config set <Key> <Value> [flags]

Flags:

--wait           Wait for required ceph services to restart post config set.
--skip-restart   Don't perform the daemon restart for current config.

export

Generates cluster token for Remote cluster with given name.

Usage:

microceph cluster export <remote-name> [flags]

Flags:

--json   output as json string

join

Joins an existing cluster.

Usage:

microceph cluster join <TOKEN> [flags]

Flags:

--microceph-ip    string Network address microceph daemon binds to.

list

Lists servers in the cluster.

Usage:

microceph cluster list [flags]

migrate

Migrates automatic services from one node to another.

Usage:

microceph cluster migrate <SRC> <DST [flags]

remove

Removes a server from the cluster.

Syntax:

microceph cluster remove <NAME> [flags]

Flags:

-f, --force   Forcibly remove the cluster member

sql

Runs a SQL query against the cluster database.

Usage:

microceph cluster sql <query> [flags]