Introduction to Cinder

download Introduction to Cinder

of 24

  • date post

    08-Jan-2017
  • Category

    Technology

  • view

    328
  • download

    1

Embed Size (px)

Transcript of Introduction to Cinder

PowerPoint Presentation

Introduction to OpenStack CinderSean McGinnis

7/9/20167/9/2016

# of 24

1 Dell - Internal Use - Confidential

OpenStack ComponentsHorizonUIKeystoneIdentity ServiceNovaComputeGlanceImage ServiceNeutronNetworkingCinderBlock StorageManilaShared File StorageSwiftObject Store

7/9/20167/9/2016

# of 24Cinder Mission StatementTo implement services and libraries to provide on demand, self-service access to Block Storage resources. Provide Software Defined Block Storage via abstraction and automation on top of various traditional backend block storage devices.

7/9/20167/9/2016

# of 24What is Cinder?Created in the OpenStack Folsom release (2012)Spun off from Nova volumeCinder manages block storageDifferent than shared file storage thats ManilaDifferent than object storage thats SwiftProvides management abstraction over a variety of backendsProvides:Create/deleteAttach/detachSnapshotBackupVolumes have lifecycles independent of VMs

7/9/20167/9/2016

# of 24Where Does Cinder Fit?Cinder provides APIs to interact with vendors storage backendsExposes vendors storage hardware to the cloudProvides persistent storage to VMs, containers, bare metalEnables end users to manage their storage without knowing where that storage is coming from

7/9/20167/9/2016

# of 24Where Does Cinder Fit?Legend

Control Path Data Path

Note that iSCSI is just an example several additional protocols are supported(e.g., FC, NFS)Storage Controller

NovaVM/dev/vdaKVMiSCSIinitiatorCinderiSCSItargetVM

7/9/20167/9/2016

# of 24

6 Dell - Internal Use - Confidential

Cinder Architecturecinder-apicinder-schedulercinder-volumedrivercinder-backupSQL DBclientRESTStorageMessage Queue

7/9/20167/9/2016

# of 24Cinder ServicesAPIREST interface to CinderGenerally runs on control nodeSchedulerTakes requests from the API serviceWorks with the volume service to satisfy requestsGenerally runs on control node

7/9/20167/9/2016

# of 24Cinder ServicesVolumeInteracts with vendor storage backendsCan run on control nodeSometimes offloaded to different hostEspecially for LVM backendBackupInterface to backup volumes to storage like Swift, TSM, Google Cloud Storage, etc.Able to scale out to multiple nodes for simultaneous operations

7/9/20167/9/2016

# of 24ClientsCinder Clientpython-cinderclient is the command line interface to Cindercinder volume create 1 --name TestAlso client library for Python codeUses REST to communicate with the cinder-api serviceOpenStack ClientAll projects moving to OpenStack Clientopenstack volume create --size 1 Test

7/9/20167/9/2016

# of 24Horizon Dashboard

7/9/20167/9/2016

# of 24Cinder DriversBlock Device Driver (local)Blockbridge (iSCSI)CloudByte (iSCSI)Coho (NFS)Datera (iSCSI)Dell Equallogic (iSCSI)Dell Storage Center (iSCSI/FC)Disco (disco)DotHill (iSCSI/FC)DRBD (DRBD/iSCSI)EMC VMAX (iSCSI/FC)EMC VNX (iSCSI/FC)EMC XtremIO (iSCSI/FC)EMC ScaleIO (scaleio)Fujitsu ETERNUS (iSCSI/FC)GlusterFS (GlusterFS)HGST (NFS)HPE 3PAR (iSCSI/FC)HPE LeftHand (iSCSI)HPE MSA (iSCSI/FC)HPE XP (FC)Hitachi HBSD (iSCSI/FC)Hitachi HNAS (iSCSI/NFS)Huawei (iSCSI/FC)IBM DS8000 (FC)IBM Flashsystem (iSCSI/FC)IBM GPFS (GPFS)IBM Storwize SVC (iSCSI/FC)IBM XIV (iSCSI/FC)Infortrend (iSCSI/FC)Lenovo (iSCSI/FC)LVM (iSCSI) Reference*NetApp ONTAP (iSCSI/NFS/FC)NetApp E Series (iSCSI/FC)Nexenta (iSCSI/NFS)NFS ReferenceNimble Storage (iSCSI)Oracle Zfssa (iSCSI/NFS)Pure Storage (iSCSI/FC)ProphetStor (iSCSI/FC)Quobyte (quobyte)RBD (Ceph) - ReferenceScality SOFS (scality)Sheepdog (sheepdog)SMBFS (SMB)SolidFire (iSCSI)Tegile (iSCSI/FC)Tintri (NFS)Violin (FC)VMware (VMDK)Virtuozzo Storage (NFS)Windows (SMB)X-IO (iSCSI/FC)

(Drivers in bold are the reference for the architecture)

7/9/20167/9/2016

# of 24Minimum Driver FeaturesDrivers must implement support for the core features:

Volume Create/DeleteVolume Attach/DetachSnapshot Create/DeleteCreate Volume from SnapshotCopy Image to VolumeCopy Volume to ImageClone VolumeExtend Volume

7/9/20167/9/2016

# of 24Volume TypesUsed to request properties of volumes during creationCan also control users access to different storageOnly admins can create volume typesUsers specify the volume type when they create a volume

7/9/20167/9/2016

# of 24Volume Type Extra SpecsExtra specs are used to set type propertiesSome standard, some vendor specificvolume_backend_name=lvm1sio:provisioning_type:thinhp3par:persona=3Extra specs are only visible to the admin

7/9/20167/9/2016

# of 24Volume Type Extra SpecsExtra specs can be modified via UI, CLI, or API

# cinder type-create GoldVolume# cinder type-key GoldVolume set storagetype:storageprofile=highpriority# cinder type-create BronzeVolume# cinder type-key BronzeVolume set storagetype:storageprofile=lowpriorty

7/9/20167/9/2016

# of 24Retype and MigrationRetype is used to change settings of a volumeSome retypes can happen without moving dataSome require moving the volume to a different backendMigration is used to move a volume between two different backendsFor example from LVM to Ceph

7/9/20167/9/2016

# of 24Fibre Channel SupportFibre Channel Zone ManagerDynamically create and delete switch zoningDrivers to support fabric management:BrocadeCisco

7/9/20167/9/2016

# of 24Cinder BackupBackup and restore volumesMust be either in Available state or able to create and mount snapshotSeveral backup drivers supported:CephGoogle Cloud StorageNFSPosix FilesystemSwiftTivoli Storage Manager

7/9/20167/9/2016

# of 24Cinder BackupBackup via CLI, UI, or APINeeds to be enabled in Horizon/etc/openstack-dashboard/local_settings.pyOPENSTACK_CINDER_FEATURES = {enable_backup: True}No cron type scheduling in Cinder

# cinder backup-create --name MyBackup --description prepatch \--incremental vol1# cinder backup-restore a006718b-b583-4d59-9ddb-d1109dc98ebf

7/9/20167/9/2016

# of 24Mitaka UpdatesBasic support for replicationBackup improvementsBackup of snapshotsScale out of backup-service nodesFull and incremental backupActive/Active HA progressOS-brick library and clientRolling upgradesWork toward multiattachAPI microversions

7/9/20167/9/2016

# of 24Ongoing/Future WorkBetter support for replicationActive/Active High AvailabilityMore backend storage supportBetter user error reportingImproved OpenStack Client support

7/9/20167/9/2016

# of 24ReferencesOpenStack Documentationhttp://docs.openstack.org/

Cinder Developer Wikihttps://wiki.openstack.org/wiki/Cinder

Bug and New Feature Trackinghttps://launchpad.net/cinder

7/9/20167/9/2016

# of 24

7/9/2016

Dell - Internal Use - Confidential

#

24 Dell - Internal Use - Confidential