- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 255字
- 2021-07-02 23:19:10
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.

- 商戰(zhàn)數據挖掘:你需要了解的數據科學與分析思維
- 返璞歸真:UNIX技術內幕
- 21天學通Java
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- 工業(yè)控制系統(tǒng)測試與評價技術
- Grome Terrain Modeling with Ogre3D,UDK,and Unity3D
- Building a BeagleBone Black Super Cluster
- 電腦日常使用與維護322問
- 過程控制系統(tǒng)
- R Data Analysis Projects
- 中文版AutoCAD 2013高手速成
- IBM? SmartCloud? Essentials
- SQL Server數據庫應用基礎(第2版)
- 步步驚“芯”
- 運動控制系統(tǒng)