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

Disaster recovery replication using RBD mirroring

RBD mirroring is an asynchronous replication of RBD images between multiple Ceph clusters. RBD mirroring validates a point-in-time consistent replica of any change to an RBD image, including snapshots, clones, read and write IOPS and block device resizing. RBD mirroring can run in an active+active setup or an active+passive setup. RBD mirroring utilizes the RBD journaling and exclusive lock features which enables the RBD image to record all changes to the image in order of which they occur. These features validate that a crash-consistent copy of the remote image is available locally. Before mirroring can be enabled on a Ceph cluster the journaling feature must be enabled on the RBD image.

The daemon responsible for ensuring point-in-time consistency from one Ceph cluster to the other is the rbd-mirror daemon. Depending on your chosen type of replication the rbd-mirror daemon runs on either a single cluster or an each participating in the mirroring:

  • One way replication: Data is mirrored from primary site to secondary site. RBD mirror runs only on secondary site.
  • Two-way replication: Active-Active configuration. Data is mirrored from primary site to secondary site and mirrored back from a primary site to secondary site. RBD mirror runs on both primary and secondary sites.

Since we store the RBD images on both local and remote pools it is best practices to ensure the CRUSH hierarchy backing the mirrored pool is the same speed, size and type media. Also, proper bandwidth should be allocated between sites to handle the mirroring traffic.

主站蜘蛛池模板: 山阳县| 北辰区| 灵寿县| 和林格尔县| 乐陵市| 扎兰屯市| 尚志市| 汉源县| 横山县| 都兰县| 通道| 全南县| 德化县| 三门峡市| 横峰县| 深泽县| 淄博市| 兴和县| 东乌珠穆沁旗| 湖南省| 雷山县| 和龙市| 万盛区| 阿荣旗| 当阳市| 垫江县| 鄂托克旗| 堆龙德庆县| 监利县| 绥宁县| 卢氏县| 阜南县| 泗阳县| 桃源县| 噶尔县| 安阳县| 厦门市| 平罗县| 青海省| 兴和县| 虹口区|