Subtask #13296
closedFeature #12901: librbd: zone + zonegroup configuration
Mirroring API + rbd CLI updates for images
0%
Description
A new "mirroring enabled" field should be added to the RBD image header. Mirroring should not rely on a feature bit.
* rbd mirror image enable <image-spec> This is an alias for 'rbd feature enable mirroring' * rbd mirror image disable <image-spec> This is an alias for 'rbd feature disable mirroring' * rbd mirror image resync <image-spec> This will delete the local image and initiate a full resync with a remote primary image. This can be used to fix an inconsistent secondary image.
Also add journal details/mirroring status support to 'rbd info' and 'rbd status'
Updated by Jason Dillaman over 8 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
Updated by Jason Dillaman about 8 years ago
- Status changed from In Progress to 12
- Assignee deleted (
Jason Dillaman)
Updated by Ricardo Dias about 8 years ago
Jason Dillaman wrote:
A new "mirroring enabled" field should be added to the RBD image header. Mirroring should not rely on a feature bit.
[...]
Also add journal details/mirroring status support to 'rbd info' and 'rbd status'
Since the commit #28e2d1b, image mirroring information is being stored in the "image directory" under the "rbd_mirroring" object.
Is the following command:
rbd mirror image enable <image-spec>
supposed to change the state kept in the image_directory?
Updated by Jason Dillaman about 8 years ago
Correct, the description is from an old design. We are using http://pad.ceph.com/p/rbd_mirror_daemon to track the current design. The current design involves using the 'rbd_mirroring' object to denote which images have mirroring enabled. This simplified the requirements of the RBD mirroring daemon so that it no longer needed to open each image in the pool to determine if the image should be mirrored.
Updated by Ricardo Dias about 8 years ago
- Status changed from 12 to In Progress
- Assignee set to Ricardo Dias
Updated by Ricardo Dias about 8 years ago
Jason Dillaman wrote:
Also add journal details/mirroring status support to 'rbd info' and 'rbd status'
What journal details should be shown?
Updated by Jason Dillaman about 8 years ago
- Status changed from In Progress to Resolved