Block Storage service in OpenStack

Since 3 weeks, I’m working on Cinder RBD (Ceph) to manage and unmanage snapshot.

I can’t start writing about my project without giving to this blog some previous data about Block Storage, RADOS, RBD, and Ceph (which is my best friend now)..

As I wrote  before, Cinder is a Block Storage service for OpenStack, but what does this mean?

The Block Storage service provides persistent block storage resources that Compute instances can consume. In addition, you can write images to a Block Storage device for Compute to use as a bootable persistent instance.  It service does not provide a shared storage solution like NFS. With the Block Storage service, you can attach a device to only one instance.

Cinder’s designed to present storage resources to end users that can be consumed by the OpenStack Compute Project (Nova). This is done through the use of either a reference implementation (LVM) or plugin drivers for other storage.

Cinder virtualizes pools of block storage devices and provides end users with a self service API to request and consume those resources without requiring any knowledge of where their storage is actually deployed or on what type of device.

Basic resources offered by the Block Storage service

  • Volumes : allocated block storage resources that can be attached to instances as secondary storage or they can be used as the root store to boot instances. Volumes are persistent R/W block storage devices most commonly attached to the compute node through iSCSI.
  • Snapshots : a read-only point in time copy of a volume. The snapshot can be created from a volume that is currently in use or in an available state. The snapshot can then be used to create a new volume through create from snapshot.
  • Backups : an archived copy of a volume.

So, Cinder provides:

  • cinder-api : a WSGI app that authenticates and routes requests throughout the Block Storage service.
  • cinder-scheduler : schedules and routes requests to the appropriate volume service.
  • cinder-volume : manages Block Storage devices, specifically the back-end devices themselves.
  • cinder-backup :  provides a means to back up a Block Storage volume to OpenStack Object Storage (swift).

*If you want to read more please check out the official  OpenStack documentation.

 

Advertisements

Author: enriquetaso

Outreachy intern. Really happy to be part of OpenStack community. LinuxChix Argentina member. Python Girl.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s