中文
注册

配置Cinder_backup集成Ceph

在OpenStack上集成Ceph块存储之前,需要修改Cinder_backup配置文件,从而配置Cinder_backup集成Ceph。

  1. 在Cinder节点上,修改配置文件“/etc/cinder/cinder.conf”。
    1. 打开文件。
      vi /etc/cinder/cinder.conf
    2. 按“i”进入编辑模式,修改并新增以下内容。
      [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的配置项。

    1. 按“Esc”键退出编辑模式,输入:wq!,按“Enter”键保存并退出文件。
  2. 重启cinder-backup服务进程。
    systemctl restart openstack-cinder-backup.service
搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词