O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

In the last recipe, we learned to configure Glance to use Ceph. In this recipe, we will learn to use the Ceph RBD with the Cinder service of OpenStack:

  1. Since in this demonstration we are not using multiple backend cinder configurations, comment the enabled_backends option from the /etc/cinder/cinder.conf file:
  2. Navigate to the options defined in cinder.volume.drivers.rbd section of the /etc/cinder/cinder.conf file and add the following (replace the secret UUID with your environments value):
        volume_driver = cinder.volume.drivers.rbd.RBDDriver        rbd_pool = volumes        rbd_user = cinder        rbd_secret_uuid = e279566e-bc97-46d0-bd90-68080a2a0ad8        rbd_ceph_conf = /etc/ceph/ceph.conf        rbd_flatten_volume_from_snapshot = false rbd_max_clone_depth ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required