Configuring cinder_backup to Integrate with Ceph
Modify the configuration file for cinder_backup on OpenStack to integrate cinder_backup with Ceph.
- On the OpenStack storage node (Cinder node), modify the /etc/cinder/cinder.conf file.
- Open the file.
vi /etc/cinder/cinder.conf
- Press i to enter the insert mode and modify the file as follows:
[DEFAULT] ... #backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver ... backup_driver = cinder.backup.drivers.ceph.CephBackupDriver backup_ceph_conf = /etc/ceph/ceph.conf backup_ceph_user = cinder-backup backup_ceph_chunk_size = 4194304 backup_ceph_pool = backups backup_ceph_stripe_unit = 0 backup_ceph_stripe_count = 0 restore_discard_excess_bytes = true
When configuring the back_driver parameter, comment out or delete other backup_driver configurations.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the file.
- On the OpenStack storage node (Cinder node), restart the cinder-backup service.
systemctl restart openstack-cinder-backup.service
Parent topic: Integrating Ceph Block Storage with OpenStack