OpenStack - Glance and Cinder Modules

download OpenStack - Glance and Cinder Modules

of 34

  • date post

  • Category


  • view

  • download


Embed Size (px)


OpenStack - Glance and Cinder Modules

Transcript of OpenStack - Glance and Cinder Modules

  • 1. Cleverson LedurRodrigo BremmProf. Dr. Tiago FerretoCinder and Glance ModulesPPGCC - PUCRS

2. Roteiro Introduction OpenStack Modules Cinder Functions Architecture Commands Glance Functions Architecture Commands Demo Conclusion 3. OpenStackOpenStack is an open source cloud computingplatform for public and private clouds. A seriesof interrelated projects deliver a cloudinfrastructure solution. This guide showsOpenStack admin users how to create andmanage resources in an OpenStack cloud withOpenStack client commands.Font: 4. OpenStackFont: 5. OpenStackFont: 6. Font: 7. Font: 8. OpenStack - ReleasesFont: 9. OpenStackProject SizeFont: 10. Cinder - Block Storage 11. What is Cinder?Cinder provides an infrastructure for managingvolumes in OpenStack. It was originally a Novacomponent called nova-volume, but hasbecome an independent project since theFolsom release.Font: 12. What is Cinder?Cinder is an OpenStack project to provideblock storage as a service.It's designed to allow the use of either areference implementation (LVM) to presentstorage resources to end users that can beconsumed by the OpenStack Compute Project(Nova).Font: 13. What is Cinder?It virtualizes pools of block storage devices andprovides end users with a self service API torequest and consume those resources withoutrequiring any knowledge of where their storageis actually deployed or on what type of device.Font: 14. Cinder ArchitectureFont: | 15. Block StorageComponentes Back-end Storage Devices Users and Tenants (Projects) Volumes, Snapshots, and Backups 16. Block StorageComponentes Back-end Storage Devices Users and Tenants (Projects) Volumes, Snapshots, and BackupsThe Block Storage service requires some form of back-end storage that theservice is built on. The default implementation is to use LVM on a local volumegroup named "cinder-volumes." In addition to the base driver implementation,the Block Storage service also provides the means to add support for otherstorage devices to be utilized such as external Raid Arrays or other storageappliances. These back-end storage devices may have custom block sizeswhen using KVM or QEMU as the hypervisor.Font: 17. Block StorageComponentes Back-end Storage Devices Users and Tenants (Projects) Volumes, Snapshots, and BackupsThe Block Storage service can be used by many different cloud computingconsumers or customers (tenants on a shared system), using role-basedaccess assignments. Roles control the actions that a user is allowed toperform.For tenants, quota controls are available to limit: The number of volumes that can be created. The number of snapshots that can be created. The total number of GBs allowed per tenant (shared between snapshotsand volumes).Font: 18. Block StorageComponentes Back-end Storage Devices Users and Tenants (Projects) Volumes, Snapshots, and BackupsThe basic resources offered by the Block Storage service are volumes andsnapshots which are derived from volumes and volume backups: Volumes. Allocated block storage resources that can be attached toinstances as secondary storage or they can be used as the root store toboot instances. Snapshots. A read-only point in time copy of a volume. The snapshot canbe created from a volume that is currently in use Backups. An archived copy of a volume currently stored in OpenStackObject Storage (swift).Font: 19. Cinder - Dataand ControlFont: IBM 20. Cinder - Commands 21. Cinder - Commands 22. Glance - Image Store 23. What is Glance? The Glance project provides a service where users canupload and discover data assets that are meant to beused with other services. This currently includes imagesand metadata definitions. Glance image services include discovering, registering,and retrieving virtual machine images. Glance has aRESTful API that allows querying of VM imagemetadata as well as retrieval of the actual image.Font: 24. What is Glance? VM images made available through Glance can bestored in a variety of locations from simple filesystemsto object-storage systems like the OpenStack Swiftproject.Font: 25. Glance ArchitectureFont: 26. Glance Architecture glance-api : It accepts Image API calls forimage discovery, image retrieval and imagestorage. glance-registry : it stores, processes andretrieves metadata about images (size, type,etc.). glance database : A database to store theimage metadata.Font: 27. Glance ConfigurationFilesglance-api.conf The configuration file for theImage Service API is found in the glance-api.conf file.glance-registry.conf Configuration for the ImageService's registry, which stores the metadataabout images, is found in the glance-registry.conf file.Font: 28. Glance ConfigurationFilesglance-api-paste.ini Configuration for the ImageService's API middleware pipeline is found inthe glance-api-paste.ini file.glance-registry-paste.ini The Image Service'smiddleware pipeline for its registry is found inthe glance-registry-paste.ini file.Font: 29. Glance ConfigurationFilesglance-scrubber.conf glance-scrubber is autility for the Image Service that cleans upimages that have been deleted; itsconfiguration is stored in the glance-scrubber.conf file.policy.json The /etc/glance/policy.json filedefines additional access controls that apply tothe Image Service.Font: 30. Glance - Commands# glance image-list# glance image-show# glance image-create imageName# glance image-update imageName# glance image-delete imageName 31. Demo 32. Conclusion Openstack Cinder Glance Architecture Commands Demonstration 33. References