Ask Your Question
0

Cinder Multiple Storage Backend using ceph

asked 2014-10-23 08:18:19 -0600

senyapsudah gravatar image

updated 2014-10-23 08:19:01 -0600

Hi Guys,

would like to check with you. is it possible for us to create multiple storage backend using ceph? for example i have 1ceph cluster of 7.2k disk and 1 ceph cluster of 10k disk and also 1 ceph cluster of 15k disk. So user will be able to select which storage they can use to create additional disk for instance.

Please advise.

thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
4

answered 2014-10-23 16:56:31 -0600

jtaguinerd gravatar image

Hi, Cinder allows multiple drivers to be used concurrently, say for example NetApp and Ceph. But I don't understand why you would use 3 different cluster of ceph. If you are aiming for different iops per use case, you can attain this by crushmap and 3 separate pools for (7.2, 10k and 15k RPM).

Regards

edit flag offensive delete link more

Comments

hi jtaguinerd,

Thanks for the suggestion, yes i know that cinder can make multiple backend. since i am a newbie on ceph. i'm really not sure how to seperated disk based on IOPS. do you know any document guide that i can follow to achieve this?

senyapsudah gravatar imagesenyapsudah ( 2014-10-23 20:51:30 -0600 )edit

hi jtaguinerd,

thanks for your help again. now i got an overview on how to achieve this, :) thanks for your help.

senyapsudah gravatar imagesenyapsudah ( 2014-10-23 21:38:12 -0600 )edit

Glad to help :)

jtaguinerd gravatar imagejtaguinerd ( 2014-10-23 22:42:37 -0600 )edit
0

answered 2016-10-13 14:13:16 -0600

You can achieve this manually by following the steps outlined here: https://medium.com/@michaelgugino/deploying-cinder-with-multiple-ceph-cluster-backends-2cd90d64b10 (https://medium.com/@michaelgugino/dep...)

You can also automate this process with OpenStack-Ansible (Newton and later): http://docs.openstack.org/developer/openstack-ansible-ceph_client/configure-ceph.html#extra-client-configuration-files (http://docs.openstack.org/developer/o...)

Synopsis:

Cinder needs configuration for the new backend to point to a different ceph.conf file (ie, /etc/ceph/ceph-new.conf).
/etc/ceph/ceph-new.conf must specify a keyfile directly
The username for each ceph client user must be unique across clusters (ie, cinder, cinder2)
A new secret-uuid is used to define a new libvirt secret (along with new client name and appropriate key), and is provided to cinder.conf

If you're not using authentication, you can most likely just provide the additional ceph.conf file to cinder.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-23 08:18:19 -0600

Seen: 522 times

Last updated: Oct 13 '16