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
- One empty RDG must be created on the Aerodisk storage system.
- Full network connectivity must be provided between OpenStack hosts and Aerodisk storage controllers on port 80 for HTTP access.
- Fiber Channel links and zoning between Openstack hosts and storage controllers for block access must be correctly configured.
Actions for host with cinder-volume:¶
Download aos-aerodisk-driver package from link.
Unzip to cinder drivers folder, for example:
/usr/lib/python3/dist-packages/cinder/volume/drivers/aero
.In
/etc/cinder/
create a filecinder_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.
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
Create a volume type:
openstack volume type create aero
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:¶
- Install the
apt install sysfsutils
package needed to properly detectwwn
. - To enable nova to work with
multipath
devices, you need to set the parametervolume_use_multipath = True
in the/etc/nova/nova.conf
file in thelibvirt
section.