ProphetStor Fibre Channel 和 iSCSI 驱动程序

ProhetStor Fibre Channel 和 iSCSI 驱动程序通过 Block Storage 服务添加了对 ProphetStor Flexvisor 的支持。 ProphetStor Flexvisor 利用成熟的 ZFS 磁盘管理技术,将通用 x86 硬件作为软件定义存储,提供企业级存储服务,例如快照、具有不同 RAID 级别的的数据保护、复制和去重。

DPLFCDriverDPLISCSIDriver 驱动程序通过 HTTPS 与 ProphetStor 存储系统通信来运行卷操作。

支持的操作

  • 创建、删除、附加和分离卷。

  • 创建、列出和删除卷快照。

  • 从快照创建卷。

  • 将镜像复制到卷。

  • 将卷复制到镜像。

  • 克隆卷。

  • 扩展卷。

启用 Fibre Channel 或 iSCSI 驱动程序

DPLFCDriverDPLISCSIDriver 与 OpenStack 软件一起安装。

  1. 查询存储池 ID 以配置 cinder.conf 文件的 dpl_pool

    1. 使用管理员权限登录存储系统。

      $ ssh root@STORAGE_IP_ADDRESS
      
    2. 查看当前可用的池 ID。

      $ flvcli show pool list
      - d5bd40b58ea84e9da09dcf25a01fdc07 : default_pool_dc07
      
    3. 使用 d5bd40b58ea84e9da09dcf25a01fdc07 配置 /etc/cinder/cinder.conf 文件的 dpl_pool

      注意

      可以使用帮助命令 flvcli -h 引用其他管理命令。

  2. 在卷节点 /etc/cinder/cinder.conf 文件上进行以下更改。

    # IP address of SAN controller (string value)
    san_ip=STORAGE IP ADDRESS
    
    # Username for SAN controller (string value)
    san_login=USERNAME
    
    # Password for SAN controller (string value)
    san_password=PASSWORD
    
    # Use thin provisioning for SAN volumes? (boolean value)
    san_thin_provision=true
    
    # The port that the iSCSI daemon is listening on. (integer value)
    iscsi_port=3260
    
    # DPL pool uuid in which DPL volumes are stored. (string value)
    dpl_pool=d5bd40b58ea84e9da09dcf25a01fdc07
    
    # DPL port number. (integer value)
    dpl_port=8357
    
    # Uncomment one of the next two option to enable Fibre channel or iSCSI
    # FIBRE CHANNEL(uncomment the next line to enable the FC driver)
    #volume_driver=cinder.volume.drivers.prophetstor.dpl_fc.DPLFCDriver
    # iSCSI (uncomment the next line to enable the iSCSI driver)
    #volume_driver=cinder.volume.drivers.prophetstor.dpl_iscsi.DPLISCSIDriver
    
  3. 保存对 /etc/cinder/cinder.conf 文件的更改,并重启 cinder-volume 服务。

现在已在您的 OpenStack 系统上启用了 ProphetStor Fibre Channel 或 iSCSI 驱动程序。 如果遇到问题,请查看 Block Storage 服务日志文件中的错误。

下表包含 ProphetStor 存储驱动程序支持的选项。

ProphetStor Fibre Channel 和 iSCSi 驱动程序配置选项说明

配置选项 = 默认值

描述

[DEFAULT]

dpl_pool =

(字符串) 存储 DPL 卷的 DPL 池 UUID。

dpl_port = 8357

(端口号) DPL 端口号。

iscsi_port = 3260

(端口号) iSCSI 守护程序正在侦听的端口

san_ip =

(字符串) SAN 控制器的 IP 地址

san_login = admin

(字符串) SAN 控制器的用户名

san_password =

(字符串) SAN 控制器的密码

san_thin_provision = True

(布尔值) 是否为 SAN 卷使用稀疏配置?