Bug 1813965 - [RFE] snapshot-based mirroring
Summary: [RFE] snapshot-based mirroring
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.0
Assignee: Ilya Dryomov
QA Contact: Gopi
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 1929661 1959686
TreeView+ depends on / blocked
 
Reported: 2020-03-16 15:17 UTC by Jason Dillaman
Modified: 2021-08-30 08:24 UTC (History)
7 users (show)

Fixed In Version: ceph-16.0.0-8633.el8cp
Doc Type: Enhancement
Doc Text:
.Snapshot-based mirroring of RBD images The journal-based mirroring provides fine-grained crash-consistent replication at the cost of double-write penalty where every update to the image is first recorded to the associated journal before modifying the actual image. With this release, in addition to journal-based mirroring, snapshot-based mirroring is supported. It provides coarse-grained crash-consistent replication where the image is mirrored using the mirror snapshots which can be created manually or periodically with a defined schedule. This is supported by all clients and requires a less stringent recovery point objective (RPO).
Clone Of:
Environment:
Last Closed: 2021-08-30 08:23:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1136 0 None None None 2021-08-30 00:12:46 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:24:33 UTC

Description Jason Dillaman 2020-03-16 15:17:07 UTC
In addition to the existing support for journal-based mirroring, RBD will now support snapshot-based mirroring. This feature is enabled on a per-image basis which means that rbd-mirror must be configured in image mode:

  $ rbd mirror pool enable <pool-name> image

To enable the feature on a specific image:

  $ rbd mirror image enable <image-spec> snapshot

To create a mirror snapshot:

  $ rbd mirror image snapshot <image-spec>

Additionally, mirror snapshots can be scheduled to be periodically created via the CLI:

  $ rbd mirror snapshot schedule add ...
  $ rbd mirror snapshot schedule rm ...
  $ rbd mirror snapshot schedule ls ...
  $ rbd mirror snapshot schedule status ...

Comment 1 RHEL Program Management 2020-03-16 15:17:14 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 4 Gopi 2021-03-05 05:04:16 UTC
Feature is working as expected, hence moving this bug to verified state.

Comment 13 errata-xmlrpc 2021-08-30 08:23:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294


Note You need to log in before you can comment on or make changes to this bug.