官术网_书友最值得收藏!

How to do it...

  1. 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
  1. Enable image mirroring on the data pool on the ceph and backup clusters:
        # rbd mirror pool enable data image
  1. Add ceph cluster as a peer to backup cluster:
         root@ceph-node5 # rbd mirror pool peer add 
data client.local@ceph
  1. Validate that peer is successfully added:
        # rbd mirror pool info
  1. In the ceph cluster, enable image mirroring on image-1, image-2 and image-3 will not be mirrored:
        root@ceph-node1 # rbd mirror image enable data/image-1
  1. Check mirror status in backup cluster to verify single image being mirrored:
          # rbd mirror pool status
  1. Check the image status in the backup cluster to validate the statue of this image and that image being mirrored is image-1:
         # rbd mirror image status data/image-1
主站蜘蛛池模板: 咸宁市| 峨山| 灯塔市| 新巴尔虎右旗| 泰和县| 靖边县| 湾仔区| 巴林左旗| 连江县| 五莲县| 东山县| 淮南市| 冀州市| 岳西县| 滨海县| 海盐县| 太和县| 汽车| 巧家县| 沐川县| 那坡县| 定远县| 达尔| 理塘县| 新密市| 北海市| 中牟县| 孟连| 定南县| 庄浪县| 武穴市| 高碑店市| 通许县| 广州市| 昭苏县| 张家口市| 兰溪市| 黄石市| 咸阳市| 大港区| 星座|