- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 124字
- 2021-07-02 23:19:12
How to do it...
- Both clients must have the rbd-mirror installed and running:
# yum install rbd-mirror
# systemctl enable ceph-rbd-mirror.target
# systemctl enable ceph-rbd-mirror@<client-id>
# systemctl start ceph-rbd-mirror@<client-id>
- As with one way mirroring, both clients must have copies of the respective cluster configuration files and keyrings for client users for the mirrored pools.
- The pools to be replicated must have mirroring enabled at the pool or image level in both clusters:
# rbd mirror pool enable <pool> <replication type>
# rbd mirror pool enable <pool> <replication type>
- Validate that mirroring has been successfully enabled:
# rbd mirror pool status data
- The pools to be replicated must have a peer registered for mirroring in both clusters:
# rbd mirror pool peer add <pool>
client.<user>@<primary cluster name>
# rbd mirror pool peer add <pool>
client.<user>@<secondary cluster name>
推薦閱讀
- Word 2000、Excel 2000、PowerPoint 2000上機指導與練習
- Dreamweaver 8中文版商業案例精粹
- 物聯網與云計算
- 80x86/Pentium微型計算機原理及應用
- 數據通信與計算機網絡
- 人工智能趣味入門:光環板程序設計
- Deep Reinforcement Learning Hands-On
- C#求職寶典
- Puppet 3 Beginner’s Guide
- 30天學通Java Web項目案例開發
- Learning Cassandra for Administrators
- MySQL Management and Administration with Navicat
- 巧學活用AutoCAD
- Web滲透技術及實戰案例解析
- Hands-On Data Analysis with Scala