Installation and configuration

Important

To work correctly, you need python3-os-brick version 2.10.7-5 or higher. The software version on the Aerodisk storage system is at least 4.0.6.

Important

  1. One empty RDG must be created on the Aerodisk storage system.
  2. Full network connectivity must be provided between OpenStack hosts and Aerodisk storage controllers on port 80 for HTTP access.
  3. Fiber Channel links and zoning between Openstack hosts and storage controllers for block access must be correctly configured.

Actions for host with cinder-volume:

  1. Download aos-aerodisk-driver package from link.

  2. Unzip to cinder drivers folder, for example:/usr/lib/python3/dist-packages/cinder/volume/drivers/aero.

  3. In /etc/cinder/ create a file cinder_aero_conf.json with the following content.

    Example cinder_aero_conf.json:

    {
        "engine_ips":[
            "192.168.2.70",
            "192.168.2.71"
        ],
        "engine_port":"80",
        "engine_url":"cinder",
        "engine_user":"cinder",
        "engine_password":"PASSCinder",
        "engine_type":"ENGINE-N2"
    }
    

    where 192.168.2.70 is the IP address of the Aerodisk storage system, engine user is the user on the storage system, engine_password is the password for the engine_user.

  4. Set cinder-volume to work with the new driver, to do this, in the file /etc/cinder/cinder.conf, make the following changes:

    4.1. Add a new backend, for this, add the following values u200bu200bwith the Default section:

    default_volume_type = aero (Optional parameter)
    enabled_backends = driver1, aero
    

    4.2. Specify the driver used with the new backend in the [aero] section:

    [aero]
    volume_driver = cinder.volume.drivers.aero.aero_driver.AerodiskFCDriver
    volume_backend_name = aero
    
  5. Create a volume type:

    openstack volume type create aero
    
  6. Bind the volume type to the backend added in step 4:

    openstack volume type set aero --property volume_backend_name=aero
    

Actions for cloud compute node:

  1. Install the apt install sysfsutils package needed to properly detect wwn.
  2. To enable nova to work with multipath devices, you need to set the parameter volume_use_multipath = True in the /etc/nova/nova.conf file in the libvirt section.