Re: (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gaurav,

The following snippets should suffice (for Cinder, at least):
[DEFAULT]
enabled_backends=rbd

[rbd]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = cinder-volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false
rbd_max_clone_depth = 5
rbd_store_chunk_size = 4
rados_connect_timeout = -1
rbd_user = cinder
rbd_secret = REDACTED

backup_driver = cinder.backup.drivers.ceph
backup_ceph_conf = /etc/ceph/ceph.conf
backup_ceph_user = cinder-backup
backup_ceph_chunk_size = 134217728
backup_ceph_pool = backups
backup_ceph_stripe_unit = 0
backup_ceph_stripe_count = 0
restore_discard_excess_bytes = true

Obviously you'd alter the directives according to your configuration and/or wishes.

And no, creating RBD volumes by hand is not needed. Cinder will do this for you.

K.

On 08-07-16 04:14, Gaurav Goyal wrote:
Yeah i didnt find additional section for [ceph] in my cinder.conf file. Should i create that manually? 
As i didnt find [ceph] section so i modified same parameters in [DEFAULT] section.
I will change that as per your suggestion.

Moreoevr checking some other links i got to know that, i must configure following additional parameters
should i do that and install tgtadm package?
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
Do i need to execute following commands? 
"pvcreate /dev/rbd1" &
"vgcreate cinder-volumes /dev/rbd1" 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux