需要在OpenStack上修改Cinder_backup配置文件,从而配置Cinder_backup集成Ceph。
vi /etc/cinder/cinder.conf
[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
在配置参数back_driver时需要注释或者删除其他backup_driver的配置项。
systemctl restart openstack-cinder-backup.service