Ceph RBD
General
In order to connect to Ceph RBD you need to provide the keyring and configuration files. The Ceph RBD storage provider should detect the volumes and pools in the environment and allow you to assign backup policies. Storware Backup & Recovery uses the RBD-NBD approach to mount a remote RBD snapshot over NBD and read data.
Note:
Storware Backup & Recovery needs access to the monitors specified in the Ceph configuration file.
When creating Ceph RBD storage provider for the OpenStack environment, only the credentials specified in the storage provider form are used by the OpenStack backup process - the actual technique (RBD-NBD mount or cinder in disk-attachment strategy) and node for connecting and the backup volumes depend on the OpenStack hypervisor manager settings, not in the storage provider settings.
Example
Complete the following steps to add the Ceph RBD storage provider:
Storware Backup & Recovery Node supports Ceph RBD, for which you will need to install ceph libraries:
On Storware Backup & Recovery Node enable the required repositories:
Remember to select the version of the Ceph repository that is compatible with the version of the cluster in your environment.
For Storware Backup & Recovery node installed on RHEL 7:
For Storware Backup & Recovery node installed on RHEL 8:
For Storware Backup & Recovery node installed on CentOS 7:
For Storware Backup & Recovery node installed on CentOS Stream 8:
For Storware Backup & Recovery node installed on CentOS Stream 9:
Add Ceph repository
Install the rbd-nbd and ceph-common package, with all dependencies:
Go to
Storage
->Infrastructure
and clickCreate
buttonChoose
Ceph RBD
as the type and select the node configuration responsible for backup operationsClick
Upload keyring file
button and selectCeph keyring file
which can be obtained from the Cinder host - for example in/etc/ceph/ceph.client.admin.keyring
Provide
Ceph configuration file content
, for example:
Note: Remember, above content need to end with the new line sign.
If you want to index only ceph pools of your choice, change
Storage pool management strategy
toINCLUDE
and add storage pool names.Click
Save
- now you can initiate inventory synchronization (pop-up message) to collect information about available volumes and poolslater you can use the
Inventory Synchronization
button on the right of the newly created provider on the list.
Your volumes will appear in the
Instances
section in the submenu on the left, from which you can initiate backup/restore/mount tasks or view volume backup history and its details.
Last updated