Fungible Storage Driver

Fungible Storage 卷驱动程序为 OpenStack Compute 实例提供对 Fungible Storage 集群的访问。

本文档解释了如何配置 Cinder 以与 Fungible Storage 集群一起使用。

驱动程序要求

  • Fungible Storage 集群

  • FSC 版本 >= 4.0

  • nvme cli 版本 >= v1.13

  • Block Storage 节点还应具有到 Fungible Storage 集群的数据路径,用于以下操作

    • 将卷复制到镜像

    • 将镜像复制到卷

驱动程序选项

下表包含 Fungible Storage 驱动程序支持的配置选项。

Fungible Storage 集群配置选项说明

配置选项 = 默认值

描述

api_enable_ssl = True

(布尔值) 指定访问 composer APIs 时是否使用 SSL

fsc_clone_volume_timeout = 1800

(整数) 创建克隆卷的超时时间,单位为秒

iops_for_image_migration = 250000

(整数) 在主机辅助迁移期间,卷在读取卷数据时可以获得的最大读取 IOPS

nvme_connect_port = 4420

(端口(最小值:0,最大值:65535)) 从主机进行 nvme connect 时要使用的端口号

支持的操作

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

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

  • 将镜像复制到卷

  • 将卷复制到镜像

  • 从快照创建卷

  • 克隆卷

  • 扩展卷

配置 Fungible Storage 集群后端

本节详细介绍了配置 Fungible Storage cinder 驱动程序所需的步骤。

  1. cinder.conf 配置文件中的 [DEFAULT] 部分,设置 enabled_backends 参数。

    [DEFAULT]
    enabled_backends = fungible
    
  2. 为 enabled_backends 参数中指定的后端组添加一个后端组部分。

  3. 在新创建的后端组部分,设置以下配置选项

    [fungible]
    # Backend name
    volume_backend_name=fungible
    # The driver path
    volume_driver=cinder.volume.drivers.fungible.driver.FungibleDriver
    # Fungible composer details
    san_ip = <composer node VIP>
    san_login = <composer username>
    san_password = <composer password>
    # List below are optional
    nvme_connect_port = <nvme target endpoint port>
    api_enable_ssl = True/False
    iops_for_image_migration = <IOPS value>