Skip to content

Sync directly to the App PVC and save crash-consistent snapshot at de…#26

Open
BenamarMk wants to merge 2 commits into
mainfrom
volsync_use_direct_and_save_crash_consistent_snapshot
Open

Sync directly to the App PVC and save crash-consistent snapshot at de…#26
BenamarMk wants to merge 2 commits into
mainfrom
volsync_use_direct_and_save_crash_consistent_snapshot

Conversation

@BenamarMk
Copy link
Copy Markdown
Owner

…stination

Signed-off-by: Benamar Mekhissi bmekhiss@redhat.com

@BenamarMk BenamarMk force-pushed the volsync_use_direct_and_save_crash_consistent_snapshot branch 7 times, most recently from e707968 to 6d21c62 Compare December 12, 2022 18:53
…stination

Set up VolSync to save the last known good snapshot at the destination. This snapshot
is replaced with a newer one every time a successful sync is complete. When the
Application is failed over or relocated, this last snapshot will be retained for as
long as the workload is deployed. Here is an example of what happens on initial
deployment, failover, relocation, failover again, and then the workload is undeployed.

Let's assume we have 2 clusters [Cp, Cf].
Cp is the preferred cluster, and Cf is the failover cluster. Sx represents the snapshot retained:

Initial Deployment
==================
Cp=
Cf=S1 after every successful sync a new snapshot is taken and the old one is deleted.

Failover to Cf
==============
Cp=S2 after every successful sync a new snapshot is taken and the old one is deleted. Cf=S1

Relocate
========
Cp=S2
Cf=S1,S3 in this scenario S1 is saved forever, but S3 is refreshed as above

Failover
========
Cp=S2,S4 in this scenario S2 is saved forever, but S4 is refreshed as above Cf=S1,S3

Updeploy the workload
=====================
Cp=
Cf=

Fixes RamenDR#665

Signed-off-by: Benamar Mekhissi <bmekhiss@redhat.com>
@BenamarMk BenamarMk force-pushed the volsync_use_direct_and_save_crash_consistent_snapshot branch from 6d21c62 to 2398fc6 Compare December 13, 2022 13:38
Signed-off-by: Benamar Mekhissi <bmekhiss@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant