Jump to: navigation, search

Difference between revisions of "Cinder/Quobyte"

(Cinder Driver Configuration with Quobyte: Added Quobyte Cinder driver option explanations.)
(Updated config example)
Line 25: Line 25:
 
volume_driver = cinder.volume.drivers.quobyte.QuobyteDriver
 
volume_driver = cinder.volume.drivers.quobyte.QuobyteDriver
 
quobyte_volume_url = quobyte://<server>/<Quobyte volume name>
 
quobyte_volume_url = quobyte://<server>/<Quobyte volume name>
 +
quobyte_client_cfg = /etc/quobyte/client.cfg
 +
quobyte_sparsed_volumes = True
 +
quobyte_qcow2_volumes = True
 +
quobyte_mount_point_base = /mnt/openstack/quobytemnt
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 13:01, 25 March 2015

Cinder Driver Configuration with Quobyte

The Quobyte Cinder driver allows using a Quobyte volume as storage for OpenStack Cinder. Use the following configuration options:

quobyte_volume_url
URL to the Quobyte volume, e.g. quobyte://<DIR host>/<volume name> .
quobyte_client_cfg
Path to a Quobyte Client configuration file.
quobyte_sparsed_volumes
Create volumes as sparse files which take no space.
If set to False, volume is created as regular file, in such cases volume creation may take a lot of time.
quobyte_qcow2_volumes
Create volumes as QCOW2 files rather than raw files.
quobyte_mount_point_base
Base dir containing the mount point for the Quobyte volume.

Example in /etc/cinder/cinder.conf:

[default]
ENABLED_BACKENDS = client:Quobyte
DEFAULT_VOLUME_TYPE = Quobyte

[Quobyte]
volume_driver = cinder.volume.drivers.quobyte.QuobyteDriver
quobyte_volume_url = quobyte://<server>/<Quobyte volume name>
quobyte_client_cfg = /etc/quobyte/client.cfg
quobyte_sparsed_volumes = True
quobyte_qcow2_volumes = True
quobyte_mount_point_base = /mnt/openstack/quobytemnt