cinder backup驅動配置

2022-08-31 15:51:23 字數 1844 閱讀 8181

一、後端採用nfs

1、安裝nfs客戶端

# yum -y install nfs-utils
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

格式::

二、後端採用glusterfs

1、安裝glusterfs客戶端

# yum --enablerepo=epel -y install glusterfs glusterfs-fuse
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

格式::

三、後端採用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 =

backup_swift_auth_url =

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
六、horizon啟動cinder backup功能,配置/etc/openstack-dashboard/local_settings

openstack_cinder_features =

cinder backup的原始碼解析

cinder backup用於將volume備份到其他儲存系統上,目前支援的備份儲存系統有swift ceph以及ibm tivoli storage manager tsm 預設為swift。cinder backup服務 位於cinder backup api.py drive.py drive...

向Linux Kconfig樹中新增驅動配置資訊

這裡使用 kconfig樹 這個詞是因為我不知道準確的說法應該是怎樣的,我想表達的意思是 make menuconfig的選單中能夠顯示我們自己寫的驅動資訊,我們可以通過make menuconfig來決定是否使用該驅動,這樣也讓核心知道我們驅動的存在,而不是讓我們寫的驅動成為乙個野生的程式以致汙染...

websphere datasource配置檔案

1 ibm websphere 6.0 配置檔案可能藏身之地 d program files ibm rational sdp 6.0 runtimes base v6 profiles default config 2 wsc副檔名 或資料夾為 wsc 為websphere config目錄 3 ...