- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 148字
- 2021-07-02 23:19:11
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 data image
- Add ceph cluster as a peer to backup cluster:
root@ceph-node5 # rbd mirror pool peer add
data client.local@ceph
- Validate that peer is successfully added:
# rbd mirror pool info

- 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

- Check mirror status in backup cluster to verify single image being mirrored:
# rbd mirror pool status
- 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

推薦閱讀
- Div+CSS 3.0網(wǎng)頁布局案例精粹
- 嵌入式系統(tǒng)應(yīng)用
- SCRATCH與機器人
- Hadoop 2.x Administration Cookbook
- 蕩胸生層云:C語言開發(fā)修行實錄
- Visual C# 2008開發(fā)技術(shù)實例詳解
- 自主研拋機器人技術(shù)
- Python Data Science Essentials
- C語言寶典
- Kubernetes for Developers
- 人工智能:語言智能處理
- Hands-On Data Warehousing with Azure Data Factory
- Xilinx FPGA高級設(shè)計及應(yīng)用
- Natural Language Processing and Computational Linguistics
- 基于人工免疫原理的檢測系統(tǒng)模型及其應(yīng)用