Image mirroring can be used when you choose to only want to mirror a specific subset of images and not an entire pool. The next recipe we will enable mirroring on a single image in the data pool and not mirror the other two images in the pool. This recipe requires you to have completed step 1 - step 9 in Disaster recovery replication using RBD mirroring recipe and have rbd-mirror running on backup site:
Configuring image mirroring
How to do it...
- Create three images in the ceph cluster as we did in the previous recipe:
# rbd create image-1 --size 1024 --pool data
--image-feature exclusive-lock,journaling
- Enable image mirroring on the data pool on the ceph and backup clusters:
# rbd mirror pool enable...