heketi-cli (8) - Linux Manuals
heketi-cli: Command line program for Heketi
NAME
heketi-cli - Command line program for Heketi
SYNOPSIS
heketi-cli [commands] [options]
DESCRIPTION
Command line program for Heketi
COMMANDS
Cluster Commands
-
heketi-cli cluster create
Create a cluster
Example
$ heketi-cli cluster create
-
heketi-cli cluster delete <CLUSTER-ID>
Delete a cluster
Example
$ heketi-cli cluster delete 886a86a868711bef83001
-
heketi-cli cluster info <CLUSTER-ID>
Retrieves information about cluster
Example
$ heketi-cli cluster info 886a86a868711bef83001
-
heketi-cli cluster list
Lists the clusters managed by Heketi
Example
$ heketi-cli cluster list
Device Commands
- heketi-cli device add --name=<DEVICE-NAME> --node=<NODE-ID> Add new device to node to be managed by Heketi
- Options
--name=""
--node=""
--cluster=""
--management-host-name=""
--storage-host-name=""
--zone=-1
--listfile="heketi-storage.json"
-j, --json=""
--clusters=""
--disperse-data=4
--durability="replicate"
--gid=0
--name=""
--persistent-volume[=false]
--persistent-volume-endpoint=""
--persistent-volume-file=""
--redundancy=2
--replica=3
--size=-1
--snapshot-factor=1
Node Commands
Setup OpenShift/Kubernetes persistent storage for Heketi
Topology Commands
Volume Commands
Optional: Comma separated list of cluster ids where this volume
must be allocated. If omitted, Heketi will allocate the volume
on any of the configured clusters which have the available space.
Providing a set of clusters will ensure Heketi allocates storage
for this volume only in the clusters specified.
Optional: Dispersion value for durability type 'disperse'.
Default is 4
Optional: Durability type.
Values are:
none: No durability. Distributed volume only.
replicate: (Default) Distributed-Replica volume.
disperse: Distributed-Erasure Coded volume.
Optional: Initialize volume with the specified group id
Default is 0
Optional: Name of volume. Only set if really necessary
Optional: Output to standard out a persistent volume JSON file for OpenShift or
Kubernetes with the name provided.
Optional: Endpoint name for the persistent volume
Optional: Create a persistent volume JSON file for OpenShift or
Kubernetes with the name provided.
Optional: Redundancy value for durability type 'disperse'.
Default is 2
Replica value for durability type 'replicate'.
Default is 3
Size of volume in GB
Optional: Amount of storage to allocate for snapshot support.
Must be greater 1.0. For example if a 10TiB volume requires 5TiB of
snapshot storage, then snapshot-factor would be set to 1.5. If the
value is set to 1, then snapshots will not be enabled for this volume