Inspur AS13000 系列卷驱动¶
Inspur AS13000 系列卷驱动为 OpenStack Compute 实例提供对 Inspur AS13000 系列存储系统的访问。
Inspur AS13000 存储可以使用 iSCSI 连接。
本文档解释了如何配置和连接块存储节点到 Inspur AS13000 系列存储。
驱动程序选项¶
下表包含 Inspur AS13000 iSCSI 驱动程序支持的配置选项。
配置选项 = 默认值 |
描述 |
|---|---|
|
(字符串列表) Cinder 应该使用的存储池,以逗号分隔的列表。 |
|
(字符串) 创建卷时使用的元数据池,目前应该是一个复制池。如果未设置,驱动程序将从 as13000_ipsan_pools 的值中选择一个复制池。 |
|
(整数(最小值:600,最大值:3600)) token 有效时间,以秒为单位。 |
支持的操作¶
创建、列出、删除、附加(映射)和分离(取消映射)卷。
创建、列出和删除卷快照。
从快照创建卷。
将镜像复制到卷。
将卷复制到镜像。
克隆卷。
扩展卷。
配置 Inspur AS13000 iSCSI 后端¶
本节详细介绍了配置 Inspur AS13000 存储 cinder 驱动程序所需的步骤。
在
cinder.conf配置文件中的[DEFAULT]部分,设置 enabled_backends 参数。[DEFAULT] enabled_backends = AS13000-1
为 enabled_backends 参数中指定的后端组添加后端组部分。
在新创建的后端组部分,设置以下配置选项
[AS13000-1] # The driver path volume_driver = cinder.volume.drivers.inspur.as13000.as13000_driver.AS13000Driver # Management IP of Inspur AS13000 storage array san_ip = 10.0.0.10 # The Rest API port san_api_port = 8088 # Management username of Inspur AS13000 storage array san_login = root # Management password of Inspur AS13000 storage array san_password = passw0rd # The Pool used to allocated volumes as13000_ipsan_pools = Pool0 # The Meta Pool to use, should be a replication Pool as13000_meta_pool = Pool_Rep # Backend name volume_backend_name = AS13000
保存对
/etc/cinder/cinder.conf文件的更改,并重启cinder-volume服务。