Cinder/Quobyte
< Cinder
Quobyte Cinder 驱动配置
Quobyte Cinder 驱动允许将 Quobyte 卷用作 OpenStack Cinder 的存储。请使用以下配置选项
- quobyte_volume_url
- Quobyte 卷的 URL,例如 quobyte://<DIR 主机>/<卷名称> 。
- quobyte_client_cfg
- Quobyte 客户端配置文件路径。
- quobyte_sparsed_volumes
- 将卷创建为稀疏文件,不占用空间。
- 如果设置为 False,则卷将创建为常规文件,在这种情况下,卷的创建可能需要很长时间。
- quobyte_qcow2_volumes
- 将卷创建为 QCOW2 文件,而不是原始文件。
- quobyte_mount_point_base
- 包含 Quobyte 卷挂载点的基本目录。
示例在 /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
在线快照
如果计划使用在线快照功能,请确保 Cinder、Nova 和 libvirtd 配置为使用相同的 UID 或 GID,并配置 libvirtd 以使用 dynamic_ownership = 0。