Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

rbd-mirror daemon

Hi,

 

I have created two CEPH clusters (local and remote). Then configured  two clusters for mirror pools. Everything is working flawlessly.  My question is how to create rbd-mirror service. At the moment I am starting  rbd-mirror with the following commands:

/usr/bin/rbd-mirror --conf=/opt/petasan/config/etc/ceph/local.conf ( local cluster)

and

/usr/bin/rbd-mirror --conf=/opt/petasan/config/etc/ceph/remote.conf (remote cluster).

My second question is: can I attach mirrored image? When I try to attach to iscsi target I am receiving:

Alert!

This disk has not been created by PetaSAN. The Ceph rbd image will be renamed to match the PetaSAN naming standard.

Currently we do not support this. Currently there is no kernel support for rbd mirroring. Ofcourse we have plans to support this, including mirroring to some cloud providers. You best option now is use snapshots and export diff files to be sent on scheduled basis.