volume_driver的值要和以下目录对应,有的早期版本是emc
/usr/lib/python2.7/site-packages/cinder/volume/drivers/
volume_backend_name的值和上面对应
san_ip是gateway的IP,san_login和san_password注意是MDM的用户名和密码
sio_storage_pools的命令格式是protection:storage pool,如有多个可用逗号隔开
编辑保存后,重启Cinder服务:
service openstack-cinder-api restart
service openstack-cinder-scheduler restart
service openstack-cinder-volume restart
然后可以查看/var/log/cinder/volume.log,可以看到已经认出了Pool ID,Free Capacity是480GB,和VxFlex GUI显示的一样。
然后通过以下命令创建卷类型,再查询cinder type-list,可以看到卷类型scaleio已经创建出来了。
下面就可以建卷了,test1是卷名称,16是卷大小,必须是8的倍数
#cinder create --volume-type scaleio --display_name test1 16
然后再查询是否已建成功
#cinder list
再到Dashboard上验证,已经成功创建并且是可用状态。
再到VxFlex GUI上验证,也已经成功创建16GB Volume了。
更多资料可参考:
VxFlex 2.6 :
https://docs.openstack.org/cinder/rocky/configuration/block-storage/drivers/dell-emc-vxflex-driver.html
VxFlex 3.0:
https://docs.openstack.org/cinder/latest/configuration/block-storage/drivers/dell-emc-vxflex-driver.html#cg-configuration-options-emc