Cinder-multi Glusterfs Volume backends

Source: Internet
Author: User
Tags glusterfs

Cinder supports a variety of backends in the backend, and it really fits the needs of the user. Recently, our company's own internal OpenStack platform with SATA, SSD glusterfs volume, studied the configuration of the next cinder multi backends. Actually, the main thing is cinder.conf.


The cinder.conf configuration file is as follows:

[default]enabled_backends = glusterfs1,glusterfs2 # enable two glusterfs volumedefault_volume_type = GLUSTERFS1 # Default SATA volume [GLUSTERFS1] Glusterfs_shares_config=/etc/cinder/glusterfs_shares1volume_driver= Cinder.volume.drivers.glusterfs.glusterfsdrivervolume_backend_name=openstack # used when setting cinder type key [GLUSTERFS2 ]glusterfs_shares_config=/etc/cinder/glusterfs_shares2volume_driver= Cinder.volume.drivers.glusterfs.glusterfsdrivervolume_backend_name=ssd

[[Email protected] cinder (keystone_admin)]# Cat glusterfs_shares1gluster002.sh.99cloud.net:/openstack # SATA Volume path [[Email protected] cinder (keystone_admin)]# Cat GLUSTERFS_SHARES2GLUSTER002.SH.99CLOUD.NET:/SSD # SSD Volume path

Cinder type-create SATA # Cinder SATA type cinder Type-key SATA set Volume_backend_name=openstack #为sata类型设置key value, with the above C Inder.conf inside the configuration file corresponding to the Cinder Type-create SSD # cinder SSD type cinder Type-key SSD set VOLUME_BACKEND_NAME=SSD # for SSD type set key VA Lue


Reference: Redhat OpenStack Certified Training materials



This article is from the "The-way-to-cloud" blog, make sure to keep this source http://iceyao.blog.51cto.com/9426658/1601613

Cinder-multi Glusterfs Volume backends

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.