Cinder – GlusterFS Integration 
GlusterNight@openstack-paris 
Deepak C Shetty 
deepakcs@redhat.com 
IRC: deepakcs
What is GlusterFS 
Openstack Paris Summit 2 
● Unified, Distributed file system 
– It aggregates local storage of many servers into a single logical volume, 
providing a global unified namespace across them 
– You can extend the volume just by adding more servers, providing a out of the box 
scale out architecture 
– Completely user space & stackable via translators 
– Works on top of commodity hardware 
– Multi-protocol access (glusterfs, nfs, cifs) 
– Multi-interface access (fuse, libgfapi) 
● Features 
– Distributed volume 
– Replicated volume 
– Striped volume 
– Distributed-Replicated and many more 
– Sync and Asyn replication 
– Openstack integration with Nova, Cinder, Manila, Swift and Glance
GlusterFS overview 
Unified Namespace 
Openstack Paris Summit 3 
Nova, Cinder, 
Glance, Swift, 
Manila 
Nova
Cinder – GlusterFS 
Openstack Paris Summit 4 
● Available upstream 
● 1 Cinder volume == 1 GlusterFS file 
● Support raw and qcow2 format cinder volumes 
● GlusterFS backed cinder volumes can be attached to Nova 
instances in 2 ways 
– Fuse 
– Libgfapi 
● Supports most of the Cinder APIs (including libgfapi based 
snapshots) 
● cinder.conf - glusterfs_shares_config lists the glusterfs 
volumes to use in hostname:/volname format 
– More info on configuring Cinder w/ GlusterFS is available @ 
http://docs.openstack.org/admin-guide-cloud/content/glusterfs_backend.html
Cinder – GlusterFS contd. 
Openstack Paris Summit 5 
● TODOs 
– Manage/Unmanage support – WIP 
– Cinder - GlusterFS upstream CI – WIP 
– backup/restore for qcow2 and disks with 
snaps 
– Support for cinder volume replication 
– Perf improvements - WIP
Cinder – GlusterFS contd. 
Openstack Paris Summit 5 
● TODOs 
– Manage/Unmanage support – WIP 
– Cinder - GlusterFS upstream CI – WIP 
– backup/restore for qcow2 and disks with 
snaps 
– Support for cinder volume replication 
– Perf improvements - WIP

GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstack Paris Nov. 2014

  • 1.
    Cinder – GlusterFSIntegration GlusterNight@openstack-paris Deepak C Shetty deepakcs@redhat.com IRC: deepakcs
  • 2.
    What is GlusterFS Openstack Paris Summit 2 ● Unified, Distributed file system – It aggregates local storage of many servers into a single logical volume, providing a global unified namespace across them – You can extend the volume just by adding more servers, providing a out of the box scale out architecture – Completely user space & stackable via translators – Works on top of commodity hardware – Multi-protocol access (glusterfs, nfs, cifs) – Multi-interface access (fuse, libgfapi) ● Features – Distributed volume – Replicated volume – Striped volume – Distributed-Replicated and many more – Sync and Asyn replication – Openstack integration with Nova, Cinder, Manila, Swift and Glance
  • 3.
    GlusterFS overview UnifiedNamespace Openstack Paris Summit 3 Nova, Cinder, Glance, Swift, Manila Nova
  • 4.
    Cinder – GlusterFS Openstack Paris Summit 4 ● Available upstream ● 1 Cinder volume == 1 GlusterFS file ● Support raw and qcow2 format cinder volumes ● GlusterFS backed cinder volumes can be attached to Nova instances in 2 ways – Fuse – Libgfapi ● Supports most of the Cinder APIs (including libgfapi based snapshots) ● cinder.conf - glusterfs_shares_config lists the glusterfs volumes to use in hostname:/volname format – More info on configuring Cinder w/ GlusterFS is available @ http://docs.openstack.org/admin-guide-cloud/content/glusterfs_backend.html
  • 5.
    Cinder – GlusterFScontd. Openstack Paris Summit 5 ● TODOs – Manage/Unmanage support – WIP – Cinder - GlusterFS upstream CI – WIP – backup/restore for qcow2 and disks with snaps – Support for cinder volume replication – Perf improvements - WIP
  • 6.
    Cinder – GlusterFScontd. Openstack Paris Summit 5 ● TODOs – Manage/Unmanage support – WIP – Cinder - GlusterFS upstream CI – WIP – backup/restore for qcow2 and disks with snaps – Support for cinder volume replication – Perf improvements - WIP