Skip to content

Commit c6ce604

Browse files
authored
Merge pull request #83970 from ousleyp/cnv-38773
CNV#38773: Regional-DR with ODF for virt
2 parents 7377822 + dc76e87 commit c6ce604

File tree

6 files changed

+49
-22
lines changed

6 files changed

+49
-22
lines changed

modules/virt-about-dr-methods.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ Metro-DR uses synchronous replication. It writes to storage at both the primary
1818
[id="regional-dr_{context}"]
1919
== Regional-DR
2020

21-
Regional-DR uses asynchronous replication. The data in the primary site is synchronized with the secondary site at regular intervals. For this type of replication, you can have a higher latency connection between the primary and secondary sites.
22-
23-
:FeatureName: Regional-DR
24-
include::snippets/technology-preview.adoc[]
21+
Regional-DR uses asynchronous replication. The data in the primary site is synchronized with the secondary site at regular intervals. For this type of replication, you can have a higher latency connection between the primary and secondary sites.

modules/virt-defining-apps-for-dr.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ Because data volumes create persistent volume claims (PVCs) implicitly, data vol
2323
[discrete]
2424
[id="use-import-method_{context}"]
2525
=== Use the import method when choosing a population source for your VM disk
26-
Use the import method to work around limitations in Regional-DR that prevent you from protecting VMs that use cloned PVCs.
27-
2826
Select a {op-system-base} image from the software catalog to use the import method. Red{nbsp}Hat recommends using a specific version of the image rather than a floating tag for consistent results. The KubeVirt community maintains container disks for other operating systems in a Quay repository.
2927

3028
[discrete]
@@ -33,7 +31,7 @@ Select a {op-system-base} image from the software catalog to use the import meth
3331
Use the pod `pullMethod: node` when creating a data volume from a registry source to take advantage of the {product-title} pull secret, which is required to pull container images from the Red{nbsp}Hat registry.
3432

3533
[id="best-practices-{rh-rhacm}-discovered-vm_{context}"]
36-
== Best practices when defining an {rh-rhacm}-discovered virtual machine
34+
== Best practices when defining an {rh-rhacm}-discovered VM
3735

3836
You can configure any VM in the cluster that is not an {rh-rhacm}-managed application as an {rh-rhacm}-discovered application. This includes VMs imported by using the Migration Toolkit for Virtualization (MTV), VMs created by using the {VirtProductName} web console, or VMs created by any other means, such as the CLI.
3937

@@ -44,8 +42,12 @@ There are several actions you can take to improve your experience and chance of
4442
=== Protect the VM when using MTV, the {VirtProductName} web console, or a custom VM
4543
Because automatic labeling is not currently available, the application owner must manually label the components of the VM application when using MTV, the {VirtProductName} web console, or a custom VM.
4644

47-
After creating the VM, apply a common label to the following resources associated with the VM: `VirtualMachine`, `DataVolume`, `PersistentVolumeClaim`, `Service`, `Route`, `Secret`, and `ConfigMap`. Do not label virtual machine instances (VMIs) or pods
48-
since {VirtProductName} creates and manages these automatically.
45+
After creating the VM, apply a common label to the following resources associated with the VM: `VirtualMachine`, `DataVolume`, `PersistentVolumeClaim`, `Service`, `Route`, `Secret`, `ConfigMap`, `VirtualMachinePreference`, and `VirtualMachineInstancetype`. Do not label virtual machine instances (VMIs) or pods; {VirtProductName} creates and manages these automatically.
46+
47+
[IMPORTANT]
48+
====
49+
You must apply the common label to everything in the namespace that you want to protect, including objects that you added to the VM that are not listed here.
50+
====
4951

5052
[discrete]
5153
[id="working-vm-contains_{context}"]

modules/virt-metro-dr-odf.adoc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
[id="metro-dr-odf_{context}"]
77
= Metro-DR for {rh-storage-first}
88

9-
{VirtProductName} supports the link:https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.14/html-single/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/index#metro-dr-solution[Metro-DR solution for {rh-storage}], which provides two-way synchronous data replication between managed {VirtProductName} clusters installed on primary and secondary sites. This solution combines {rh-rhacm-first}, Red{nbsp}Hat Ceph Storage, and {rh-storage} components.
9+
{VirtProductName} supports the link:https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.17/html-single/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/index#metro-dr-solution[Metro-DR solution for {rh-storage}], which provides two-way synchronous data replication between managed {VirtProductName} clusters installed on primary and secondary sites.
1010

11-
Use this solution during a site disaster to failover applications from the primary to the secondary site, and relocate the applications back to the primary site after restoring the disaster site.
11+
.Metro-DR differences
12+
* This synchronous solution is only available to metropolitan distance data centers with a network round-trip latency of 10 milliseconds or less.
13+
* Multiple disk VMs are supported.
14+
* To prevent data corruption, you must ensure that storage is fenced during failover.
15+
+
16+
[TIP]
17+
====
18+
Fencing means isolating a node so that workloads do not run on it.
19+
====
1220
13-
This synchronous solution is only available to metropolitan distance data centers with a 10-millisecond latency or less.
14-
15-
For more information about using the Metro-DR solution for {rh-storage} with {VirtProductName}, see link:https://access.redhat.com/articles/7053115[the Red{nbsp}Hat Knowledgebase] or {ibm-title}’s {rh-storage} Metro-DR documentation.
16-
17-
[role="_additional-resources-dr"]
18-
.Additional resources
19-
* link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.17/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/index[Configuring OpenShift Data Foundation Disaster Recovery for OpenShift Workloads]
21+
For more information about using the Metro-DR solution for {rh-storage} with {VirtProductName}, see {ibm-title}'s {rh-storage} Metro-DR documentation.

modules/virt-regional-dr-odf.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/backup_restore/virt-disaster-recovery.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="regional-dr-odf_{context}"]
7+
= Regional-DR for {rh-storage-first}
8+
9+
{VirtProductName} supports the link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.17/html-single/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/index#rdr-solution[Regional-DR solution for {rh-storage}], which provides asynchronous data replication at regular intervals between managed {VirtProductName} clusters installed on primary and secondary sites.
10+
11+
.Regional-DR differences
12+
* Regional-DR supports higher network latency between the primary and secondary sites.
13+
* Regional-DR uses RBD snapshots to replicate data asynchronously. Currently, your applications must be resilient to small variances between VM disks. You can prevent these variances by using single disk VMs.
14+
* Using the import method when selecting a population source for your VM disk is recommended. However, you can protect VMs that use cloned PVCs if you select a `VolumeReplicationClass` that enables image flattening. For more information, see the {rh-storage} documentation.
15+
16+
For more information about using the Regional-DR solution for {rh-storage} with {VirtProductName}, see {ibm-title}'s {rh-storage} Regional-DR documentation.

modules/virt-vm-behavior-dr.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ VMs typically act similarly to pod-based workloads during both relocate and fail
1414

1515
Use relocate to move an application from the primary environment to the secondary environment when the primary environment is still accessible. During relocate, the VM is gracefully terminated, any unreplicated data is synchronized to the secondary environment, and the VM starts in the secondary environment.
1616

17-
Becauase the terminates gracefully, there is no data loss in this scenario. Therefore, the VM operating system does not need to perform crash recovery.
17+
Because the VM terminates gracefully, there is no data loss. Therefore, the VM operating system will not perform crash recovery.
1818

1919
[discrete]
2020
[id="dr-failover_{context}"]

virt/backup_restore/virt-disaster-recovery.adoc

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ toc::[]
1111
include::modules/virt-about-dr-methods.adoc[leveloffset=+1]
1212
include::modules/virt-defining-apps-for-dr.adoc[leveloffset=+1]
1313
include::modules/virt-vm-behavior-dr.adoc[leveloffset=+1]
14-
include::modules/virt-metro-dr-odf.adoc[leveloffset=+1]
1514

16-
[role="_additional-resources-dr"]
17-
.Additional resources
15+
[id="dr-solutions-rh-managed-clusters_{context}"]
16+
== Disaster recovery solutions for Red{nbsp}Hat managed clusters
17+
18+
The following DR solutions combine {rh-rhacm-first}, Red{nbsp}Hat Ceph Storage, and {rh-storage} components. You can use them to failover applications from the primary to the secondary site, and to relocate the applications back to the primary site after you restore the disaster site.
19+
20+
include::modules/virt-metro-dr-odf.adoc[leveloffset=+2]
21+
include::modules/virt-regional-dr-odf.adoc[leveloffset=+2]
22+
23+
[role="_additional-resources"]
24+
[id="additional-resources_{context}"]
25+
== Additional resources
26+
* link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.17/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/index[Configuring {rh-storage} Disaster Recovery for OpenShift Workloads]
27+
* link:https://access.redhat.com/articles/7053115[Use {rh-storage} Disaster Recovery to Protect Virtual Machines] in the Red{nbsp}Hat Knowledgebase
1828
* link:https://docs.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.10[Red{nbsp}Hat Advanced Cluster Management for Kubernetes 2.10]

0 commit comments

Comments
 (0)