TOYOU NetStor Cinder 驱动¶
TOYOU NetStor 系列卷驱动程序为 OpenStack Compute 实例提供对 TOYOU NetStor 系列存储系统的访问。
TOYOU NetStor 存储可以使用 iSCSI 或 FC 连接。
本文档解释了如何配置和连接块存储节点到 TOYOU NetStor 系列存储。
驱动程序选项¶
下表包含 TOYOU NetStor iSCSI/FC 驱动程序支持的配置选项。
配置选项 = 默认值 |
描述 |
|---|---|
|
(整数(最小值=3, 最大值=100)) 在卷复制任务进行时,刷新卷状态的间隔。 |
|
(布尔值) 启用后允许卷无限制地附加到多个主机。 |
|
(字符串列表) 用于卷的存储系统存储池的逗号分隔列表。 |
支持的操作¶
创建、列出、删除、附加(映射)和分离(取消映射)卷。
创建、列出和删除卷快照。
从快照创建卷。
将镜像复制到卷。
将卷复制到镜像。
克隆卷。
扩展卷。
迁移卷。
管理/取消管理卷。
恢复到快照。
多点挂载。
稀疏配置。
扩展已附加卷。
配置 TOYOU NetStor iSCSI/FC 后端¶
本节详细介绍了配置 TOYOU NetStor 存储 cinder 驱动程序所需的步骤。
在
cinder.conf配置文件中的[DEFAULT]部分,使用 iSCSI 或 FC 后端组设置 enabled_backends 参数。对于光纤通道
[DEFAULT] enabled_backends = toyou-fc-1
对于 iSCSI
[DEFAULT] enabled_backends = toyou-iscsi-1
为 enabled_backends 参数中指定的后端组添加一个后端组部分。
在新创建的后端组部分,设置以下配置选项
对于光纤通道
[toyou-fc-1] # The TOYOU NetStor driver path volume_driver = cinder.volume.drivers.toyou.acs5000.acs5000_fc.Acs5000FCDriver # Management IP of TOYOU NetStor storage array san_ip = 10.0.0.10 # Management username of TOYOU NetStor storage array san_login = cliuser # Management password of TOYOU NetStor storage array san_password = clipassword # The Pool used to allocated volumes acs5000_volpool_name = pool01 # Backend name volume_backend_name = toyou-fc
对于 iSCSI
[toyou-iscsi-1] # The TOYOU NetStor driver path volume_driver = cinder.volume.drivers.toyou.acs5000.acs5000_iscsi.Acs5000ISCSIDriver # Management IP of TOYOU NetStor storage array san_ip = 10.0.0.10 # Management username of TOYOU NetStor storage array san_login = cliuser # Management password of TOYOU NetStor storage array san_password = clipassword # The Pool used to allocated volumes acs5000_volpool_name = pool01 # Backend name volume_backend_name = toyou-iscsi