Configuring RBD mirroring

In order to use the RBD mirroring functionality, we will require two Ceph clusters. We could deploy two identical clusters we have been using previously, but the number of VMs involved may exceed the capabilities of what most people's personal machines can run. Therefore, we will modify our vagrant and ansible configuration files to deploy two separate Ceph clusters each with a single monitor and an OSD node.

The hosts part at the top should now look like this:

nodes = [ { :hostname => 'ansible', :ip => '192.168.0.40', :box => 'xenial64' },  { :hostname => 'site1-mon1', :ip => '192.168.0.41', :box => 'xenial64' },  { :hostname => 'site2-mon1', :ip => '192.168.0.42', :box => 'xenial64' }, { :hostname => 'site1-osd1', ...

Get Ceph: Designing and Implementing Scalable Storage Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.