跳转到: 导航, 搜索

Manila/Quobyte

Quobyte Manila 驱动配置

Quobyte Manila 驱动提供对驻留在 Quobyte 卷上的共享存储的访问。使用以下配置选项:

quobyte_api_url
Quobyte API 服务器的 URL(http 或 https)。
quobyte_api_ca
用于验证服务器证书的 X.509 CA 文件。
quobyte_delete_shares
实际删除共享(而非取消导出)。
quobyte_api_username
Quobyte API 服务器的用户名。
quobyte_api_password
Quobyte API 服务器的密码。
quobyte_volume_configuration
用于新共享的卷配置名称。
quobyte_default_volume_user
新卷的默认所有者用户。
quobyte_default_volume_group
新卷的默认所有者组。

示例在 /etc/manila/manila.conf

[default]
enabled_share_backends = quobyte
enabled_share_protocols = NFS,CIFS

default_share_type = quobyte

[quobyte]
share_driver = manila.share.drivers.quobyte.quobyte.QuobyteShareDriver
driver_handles_share_servers = False
share_backend_name = QUOBYTE
quobyte_api_url = https://<Quobyte API server>:51030
quobyte_api_ca = <path to API server verification certificate>
quobyte_api_username = <api_user>
quobyte_api_password = <api_user_pwd>
quobyte_delete_shares = False
quobyte_volume_configuration = BASE
quobyte_default_volume_user = <defaultuser>
quobyte_default_volue_group = <defaultgroup>