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.
Supported features
Requires Red Hat Ceph Storage version 4.0 or newer or Ceph v14.2.0 Nautilus or newer
Incremental backup
Supported (RBD snap-diff)
Secondary backup destination
Supported
Restore
Supported
Single item restore
Supported
Access to files backup over iSCSI
Supported
Name-based policy assignment
Supported
Adding a Ceph RBD Storage Provider
Before adding the provider, install the required Ceph client packages on the Storware Backup & Recovery node.
Install the Ceph client packages on each Storware Backup & Recovery Node responsible for Ceph RBD backup and restore operations.
For Storware Backup & Recovery node installed on RHEL 8:
sudo subscription-manager repo --enable=rhceph-4-tools-for-rhel-8-x86_64-rpmsFor Storware Backup & Recovery node installed on CentOS Stream 9:
sudo yum install epel-releaseAdd Ceph repository
vi /etc/yum.repos.d/ceph.repo[ceph]
name=Ceph packages for $basearch
baseurl=https://download.ceph.com/rpm-reef/el9/$basearch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.ascInstall the rbd-nbd and ceph-common packages, with all dependencies:
yum install rbd-nbd ceph-commonInstall the Ceph client packages on each Storware Backup & Recovery Node responsible for Ceph RBD backup and restore operations.
These instructions apply to Ubuntu 22.04 and Debian 12.5.
Update the package index and check the available versions:
sudo apt update apt-cache policy ceph-common rbd-nbd
Install both required packages with their dependencies:
sudo apt install ceph-common rbd-nbd
After configuring the repository, repeat the package index update, version check and installation commands above.
Verify that the required commands are available:
command -v ceph rbd rbd-nbd ceph --version rbd --version rbd-nbd --versionEnsure that the NBD kernel module can be loaded:
sudo modprobe nbdIf the module is unavailable, install the kernel modules package appropriate for the running kernel and operating system before proceeding.
Install the Ceph client packages on each Storware Backup & Recovery Node responsible for Ceph RBD backup and restore operations.
Ensure that the node is registered and has access to the Basesystem Module repositories and updates matching its installed Service Pack.
Check the registered extensions and configured repositories:
Refresh the repositories and check the available package versions:
Install both required packages with their dependencies:
If either package is unavailable, verify that the Basesystem Module repositories are enabled and accessible for your installed Service Pack.
Verify that the required commands are available:
Ensure that the NBD kernel module can be loaded:
If the module is unavailable, install the kernel modules package appropriate for the running kernel and operating system before proceeding.
Go to Storage > Storage Providers.
Click + Create to open the Add Storage Provider window.
In Select Storage Provider, select Ceph RBD.
In the General tab:
Specify Node configuration for the nodes communicating with the Ceph cluster.
Enter a descriptive Name for the provider.
Enter the Ceph User associated with the keyring that you will upload.
In the Ceph RBD Settings tab:
Click Upload keyring file and select the 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:
Click Save.
Inventory Synchronization
Start inventory synchronization when prompted after saving the provider. You can also use the provider's Inventory Synchronization action later.
Wait for synchronization to complete.
Go to Storage > Instances to view the discovered volumes and configure their protection.
Run a test backup and restore to verify the integration.
Last updated