openstack:cinder-volume配置lvm/glusterfs/IP-SAN等多种后端,openstacklvm


这里配置了三种后端:

(1)本地创建逻辑卷lvm后端

(2)glusterfs后端

(3)使用openstack中第三方驱动的IP-SAN,型号为IBM Storwize系列

cinder.conf配置如下:

[DEFAULT]
enabled_backends = lvm,glusterfs,ibm

[lvm]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_backend_name=LVM
volume_group = cinder-volumes
iscsi_protocol = iscsi
iscsi_helper = lioadm

[glusterfs]
volume_driver=cinder.volume.drivers.glusterfs.GlusterfsDriver
volume_backend_name=GlusterFS
glusterfs_shares_config=/etc/cinder/shares.conf
glusterfs_mount_point_base=/var/lib/cinder/glusterfs

[ibm]
volume_driver = cinder.volume.drivers.ibm.storwize_svc.StorwizeSVCDriver
san_ip = 172.28.21.10
san_login = superuser
san_password = 123456
storwize_svc_volpool_name = vtt1
storwize_svc_connection_protocol = iSCSI
volume_backend_name=IBM



版权声明:本文为博主原创文章,未经博主允许不得转载。

相关内容