- 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圖文處理
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時代不能不說的事
- 精通MATLAB神經(jīng)網(wǎng)絡(luò)
- 大數(shù)據(jù)技術(shù)基礎(chǔ)
- Spark編程基礎(chǔ)(Scala版)
- 手把手教你學(xué)AutoCAD 2010
- 計算機系統(tǒng)結(jié)構(gòu)
- 數(shù)據(jù)庫系統(tǒng)原理及應(yīng)用教程(第5版)
- 我也能做CTO之程序員職業(yè)規(guī)劃
- 電氣控制與PLC技術(shù)應(yīng)用
- Visual FoxPro程序設(shè)計
- LMMS:A Complete Guide to Dance Music Production Beginner's Guide
- Spark大數(shù)據(jù)商業(yè)實戰(zhàn)三部曲:內(nèi)核解密|商業(yè)案例|性能調(diào)優(yōu)
- 機床電氣控制與PLC
- Microsoft Dynamics CRM 2013 Marketing Automation