terminated • Comes with OpenStack Compute Service (Nova) ➢ Persistent Storage • Always available, regardless of the status of virtual machine • OpenStack support two types of persistent storage • Object Storage • Block Storage • Shared Filesystem as Service Introduction to OpenStack Storage FUNCon Pune 2015
➢ Spun off from Nova ➢ Cinder volumes (block devices) are attached to VMs ➢ Volume lifecycle is independent of virtual machine instances ➢ Backend devices opaque to users ➢ Consistent API regardless of backend selection ➢ Similar to Amazon EBS ➢ Users interact with block storage by attaching volumes their VMs ➢ Cinder provides APIs such as create / delete volume, backup / restore volume, snapshot / clone volume and many more. What is Cinder FUNCon Pune 2015
to the cinder-volume for action ➢ cinder-scheduler • Selects one of the nodes to create volume • Similar to nova-scheduler ➢ cinder-volume • Interacts directly with Block Storage • Responds to read and write requests sent to the Block Storage ➢ cinder-backup • Provides backup/restore of Cinder volumes. Cinder Components FUNCon Pune 2015
bootable volume / Create volume from image • Upload volume to Glance • Snapshot a volume • Create volume from snapshot Cinder Features FUNCon Pune 2015
KVM Storage Controller iSCSI target /dev/vda Cinder iSCSI initiator iSCSI is just an example – several other protocols are also supported (e.g., FC, NFS) Persistent Volume Control Persistent Volume Data
provided by Cinder. ➢ Backend typically exports a storage pool which is used by Cinder to provision new storage (aka cinder volumes) ➢ Some of those are: • LVM (Logical Volume Manager) • Ceph • GlusterFS ➢ By default Cinder uses LVM as its backend. ➢ Backend is configured in Cinder via the cinder.conf file. ➢ To get list of all backends: https://wiki.openstack. org/wiki/CinderSupportMatrix Backend Drivers FUNCon Pune 2015
file in Gluster volume ➢ Support raw and qcow2 format Cinder volumes ➢ GlusterFS backend Cinder volumes can be attached to Nova instance in two ways: • FUSE mount • Libgfapi ➢ Supports most of the Cinder APIs including multi-backend feature. GlusterFS as a Cinder Backend FUNCon Pune 2015