- 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

推薦閱讀
- 中文版Photoshop CS5數(shù)碼照片處理完全自學(xué)一本通
- Hands-On Neural Networks with Keras
- 影視后期制作(Avid Media Composer 5.0)
- 21天學(xué)通Java Web開發(fā)
- 西門子變頻器技術(shù)入門及實踐
- 自動化生產(chǎn)線安裝與調(diào)試(三菱FX系列)(第二版)
- 3ds Max造型表現(xiàn)藝術(shù)
- 網(wǎng)絡(luò)安全概論
- Practical Network Automation
- Mastering SQL Server 2014 Data Mining
- Flash CS3動畫制作
- 實戰(zhàn)突擊
- 商務(wù)智能
- Windows Server 2012 Automation with PowerShell Cookbook
- Cloud Native Development Patterns and Best Practices