Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenStack Storage Overview

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

OpenStack Storage Overview

This presentation contains Overview of OpenStack Storage Overview.

Avatar for Bharat Kumar Kobagana

Bharat Kumar Kobagana

July 13, 2015

Other Decks in Technology

Transcript

  1. ➢ Ephemeral Storage • Disappear when a virtual machine is

    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
  2. Introduction to OpenStack Storage Cont… FUNCon Pune 2015 BLOC K

    FIL E OBJEC T •Low level I/O •Tracks & Sectors •No metadata •SCSI, SATA, ATA •SAN •Directories & Files •NFS, Local FS •Simplicity •NAS •Rigid Metadata •Containers / Buckets •Data, Metadata & •Identifier •HTTP •Abstracted Cinde r Manil a Swif t ?
  3. ❑ What is Cinder ❑ Cinder Components ❑ Cinder Architecture

    ❑ Cinder Features ❑ Backend Drivers ❑ GlusterFS as a Backend ❑ What’s next? Agenda FUNCon Pune 2015
  4. ➢ Code name for OpenStack Block Storage / Volume Storage

    ➢ 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
  5. ➢ cinder-api • Accepts API requests • Routes the requests

    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
  6. Cinder Architecture FUNCon Pune 2015 Web Dashboard Cinder client Nova

    client api Auth Manager REST AMQP Scheduler Volume Volume Volume iSCSI iSCSI iSCSI
  7. ➢ Basic Features • Attach volume to instance • Create

    bootable volume / Create volume from image • Upload volume to Glance • Snapshot a volume • Create volume from snapshot Cinder Features FUNCon Pune 2015
  8. Cinder – Nova communication FUNCon Pune 2015 Nova VM Instance

    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
  9. ➢ Volume Replication ➢ Consistency Groups ➢ Support for Volume

    Pools ➢ Volume Multi Attach ➢ Manage/Unmanage Volumes ➢ Backup Volumes ➢ Volume retype What Next FUNCon Pune 2015
  10. ➢ Backend is a storage system which implements the APIs

    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
  11. ➢ Available in upstream. ➢ 1 Cinder Volume = 1

    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
  12. Storage Backend GlusterFS as a Cinder Backend cont… FUNCon Pune

    2015 Cinder Client cinder-api cinder-volume cinder-scheduler cinder-backup Cinder DB AMQP AMQP GlusterFS