zoukankan      html  css  js  c++  java
  • cinder-backup驱动配置

    一、后端采用nfs
    1、安装nfs客户端

    # yum -y install nfs-utils
    
    • 1

    2、配置/etc/cinder/cinder.conf

    [DEFAULT]
    backup_driver = cinder.backup.drivers.nfs
     
    backup_mount_point_base = $state_path/backup_mount  
    backup_share=172.16.8.99:/backup
    格式:<hostname | ipv4addr | ipv6addr>:<share path>
    

    二、后端采用glusterfs
    1、安装glusterfs客户端

    # yum --enablerepo=epel -y install glusterfs glusterfs-fuse
    
    • 1

    2、配置/etc/cinder/cinder.conf

    [DEFAULT]
    backup_driver = cinder.backup.drivers.glusterfs
    glusterfs_backup_mount_point = $state_path/backup_mount
    glusterfs_backup_share = 172.16.8.90:/vol_striped
    格式:<hostname | ipv4addr | ipv6addr>:<gluster_vol_name>

    三、后端采用ceph

    [DEFAULT]
    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
    

    四、后端采用swift

    [DEFAULT]
    backup_swift_url = http://10.146.32.17:9024/v1/
    backup_swift_auth_url = http://192.168.0.5:5000/v3
    swift_catalog_info = object-store:swift:publicURL
    backup_swift_auth = per_user
    backup_swift_auth_version = 3
    backup_swift_container = volumebackups
    backup_swift_object_size = 52428800
    backup_swift_block_size = 32768
    backup_swift_retry_attempts = 3
    backup_swift_retry_backoff = 2
    backup_swift_enable_progress_timer = true
    backup_driver = cinder.backup.drivers.swift
    

    五、重启cinder-volume、cinder-backup服务

    # systemctl restart openstack-cinder-volume  openstack-cinder-backup
    
    • 1

    六、horizon启动cinder backup功能,配置/etc/openstack-dashboard/local_settings

    OPENSTACK_CINDER_FEATURES = {
        'enable_backup': True,
    }
  • 相关阅读:
    PHP开发者必须养成的十大优良习惯
    Centos7下编译安装PHP
    linux 强制删除yum安装的php7.2
    php和go的web性通对比
    最好的编程语言及其它
    管理哲学新解
    继甲骨文裁员、Java服软Python后,国产原创IT技术已经成熟,让中国科技不再受制于人!
    雷军:我是个失败的创业者,因为我是劳模
    当95后进入大厂
    如何避免自high式分享
  • 原文地址:https://www.cnblogs.com/ztxd/p/13629087.html
Copyright © 2011-2022 走看看