Skip to content

Commit 6dec6a2

Browse files
committed
OADP 3183 Doc improvements - Installing and configuring OADP & Uninstalling OADP
1 parent 779e98e commit 6dec6a2

9 files changed

+32
-26
lines changed

backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include::snippets/snip-noobaa-and-mcg.adoc[]
2323
:FeatureName: The `CloudStorage` API, which automates the creation of a bucket for object storage,
2424
include::snippets/technology-preview.adoc[]
2525

26-
You can back up persistent volumes (PVs) by using snapshots or Restic.
26+
You can back up persistent volumes (PVs) by using snapshots or a File System Backup (FSB).
2727

2828
To back up PVs with snapshots, you must have a cloud provider that supports either a native snapshot API or Container Storage Interface (CSI) snapshots, such as one of the following cloud providers:
2929

backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You install the OpenShift API for Data Protection (OADP) with {rh-storage} by in
1212

1313
include::snippets/oadp-mtc-operator.adoc[]
1414

15-
You can configure xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc#installing-oadp-mcg[Multicloud Object Gateway] or any S3-compatible object storage as a backup location.
15+
You can configure xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc#installing-oadp-mcg[Multicloud Object Gateway] or any AWS S3-compatible object storage as a backup location.
1616

1717
:FeatureName: The `CloudStorage` API, which automates the creation of a bucket for object storage,
1818
include::snippets/technology-preview.adoc[]

modules/about-installing-oadp-on-multiple-namespaces.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[id="about-installing-oadp-on-multiple-namespaces_{context}"]
88
= Installation of OADP on multiple namespaces
99

10-
You can install OADP into multiple namespaces on the same cluster so that multiple project owners can manage their own OADP instance. This use case has been validated with Restic and CSI.
10+
You can install OpenShift API for Data Protection (OADP) into multiple namespaces on the same cluster so that multiple project owners can manage their own OADP instance. This use case has been validated with File System Backup (FSB) and Container Storage Interface (CSI).
1111

1212
You install each instance of OADP as specified by the per-platform procedures contained in this document with the following additional requirements:
1313

modules/migration-configuring-azure.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ifdef::installing-3-4,installing-mtc[]
1212
You configure a Microsoft Azure Blob storage container as a replication repository for the {mtc-full} ({mtc-short}).
1313
endif::[]
1414
ifdef::installing-oadp-azure[]
15-
You configure a Microsoft Azure for the OpenShift API for Data Protection (OADP).
15+
You configure Microsoft Azure for the OpenShift API for Data Protection (OADP).
1616
endif::[]
1717

1818
.Prerequisites

modules/oadp-about-backup-snapshot-locations-secrets.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You specify backup and snapshot locations and their secrets in the `DataProtecti
1616
[discrete]
1717
== Backup locations
1818

19-
You specify S3-compatible object storage, such as Multicloud Object Gateway or MinIO, as a backup location.
19+
You specify AWS S3-compatible object storage, such as Multicloud Object Gateway or MinIO, as a backup location.
2020

2121
Velero backs up {product-title} resources, Kubernetes objects, and internal images as an archive file on object storage.
2222

@@ -28,7 +28,7 @@ If you use your cloud provider's native snapshot API to back up persistent volum
2828

2929
If you use Container Storage Interface (CSI) snapshots, you do not need to specify a snapshot location because you will create a `VolumeSnapshotClass` CR to register the CSI driver.
3030

31-
If you use Restic, you do not need to specify a snapshot location because Restic backs up the file system on object storage.
31+
If you use File System Backup (FSB), you do not need to specify a snapshot location because FSB backs up the file system on object storage.
3232

3333
[id="secrets_{context}"]
3434
[discrete]

modules/oadp-installing-dpa-1-2-and-earlier.adoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ spec:
198198
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
199199
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
200200
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
201-
<5> Secret key that contain credentials. For Google workload identity federation cloud authentication use `service_account.json`.
201+
<5> Secret key that contains credentials. For Google workload identity federation cloud authentication use `service_account.json`.
202202
<6> Secret name that contains credentials. If you do not specify this value, the default name, `{credentials}`, is used.
203203
<7> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
204204
<8> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
@@ -347,7 +347,7 @@ endif::[]
347347
[id="verifying-oadp-installation-1-2_{context}"]
348348
== Verifying the installation
349349

350-
. Verify the installation by viewing the OADP resources by running the following command:
350+
. Verify the installation by viewing the {oadp-first} resources by running the following command:
351351
+
352352
[source,terminal]
353353
----
@@ -379,11 +379,11 @@ replicaset.apps/oadp-operator-controller-manager-67d9494d47 1 1
379379
replicaset.apps/velero-588db7f655 1 1 1 96s
380380
----
381381

382-
. Verify that the DPA is reconciled by running the following command:
382+
. Verify that the `DataProtectionApplication` (DPA) is reconciled by running the following command:
383383
+
384384
[source,terminal]
385385
----
386-
oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
386+
$ oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
387387
----
388388
.Example output
389389
[source,yaml]
@@ -394,13 +394,16 @@ oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
394394

395395
. Verify the `type` is set to `Reconciled`.
396396

397-
. Verify the `BackupStorageLocation` by running the following command:
397+
. Verify the backup storage location and confirm that the `PHASE` is `Available` by running the following command:
398398
+
399399
[source,terminal]
400400
----
401-
oc get backupStorageLocation -n openshift-adp
401+
$ oc get backupStorageLocation -n openshift-adp
402+
----
403+
.Example output
404+
[source,yaml]
405+
+
406+
----
402407
NAME PHASE LAST VALIDATED AGE DEFAULT
403408
dpa-sample-1 Available 1s 3d16h true
404409
----
405-
406-
. Verify that the `PHASE` is in `Available`.

modules/oadp-installing-dpa-1-3.adoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
<8> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
9393
<9> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
9494
<10> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
95-
<11> Specify a snapshot location, unless you use CSI snapshots or Restic to back up PVs.
95+
<11> Specify a snapshot location, unless you use CSI snapshots or a File System Backup (FSB) to back up PVs.
9696
<12> The snapshot location must be in the same region as the PVs.
9797
endif::[]
9898
ifdef::installing-oadp-azure[]
@@ -362,7 +362,7 @@ endif::[]
362362
[id="verifying-oadp-installation-1-3_{context}"]
363363
== Verifying the installation
364364

365-
. Verify the installation by viewing the OADP resources by running the following command:
365+
. . Verify the installation by viewing the {oadp-first} resources by running the following command:
366366
+
367367
[source,terminal]
368368
----
@@ -395,11 +395,11 @@ replicaset.apps/oadp-operator-controller-manager-67d9494d47 1 1
395395
replicaset.apps/velero-588db7f655 1 1 1 96s
396396
----
397397

398-
. Verify that the DPA is reconciled by running the following command:
398+
. Verify that the `DataProtectionApplication` (DPA) is reconciled by running the following command:
399399
+
400400
[source,terminal]
401401
----
402-
oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
402+
$ oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
403403
----
404404
.Example output
405405
[source,yaml]
@@ -410,13 +410,16 @@ oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
410410

411411
. Verify the `type` is set to `Reconciled`.
412412

413-
. Verify the `BackupStorageLocation` by running the following command:
413+
. Verify the backup storage location and confirm that the `PHASE` is `Available` by running the following command:
414414
+
415415
[source,terminal]
416416
----
417-
oc get backupStorageLocation -n openshift-adp
417+
$ oc get backupStorageLocation -n openshift-adp
418+
----
419+
.Example output
420+
[source,yaml]
421+
+
422+
----
418423
NAME PHASE LAST VALIDATED AGE DEFAULT
419424
dpa-sample-1 Available 1s 3d16h true
420425
----
421-
422-
. Verify that the `PHASE` is in `Available`.

modules/oadp-setting-resource-limits-and-requests.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
4343
[NOTE]
4444
====
45-
Kopia is an option in OADP 1.3 and later releases. You can use Kopia for file system backups, and Kopia is your only option for data mover cases with the Built-in DataMover.
45+
Kopia is an option in OADP 1.3 and later releases. You can use Kopia for file system backups, and Kopia is your only option for Data Mover cases with the built-in Data Mover.
4646
4747
Kopia is more resource intensive than Restic, and you might need to adjust the CPU and memory requirements accordingly.
4848
====

modules/oadp-velero-cpu-memory-requirements.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Memory - Request 16Gi, Limits 40Gi
4949

5050

5151

52-
|^[5]^ DataMover
52+
|^[5]^ Data Mover
5353
|N/A
5454
|N/A
5555
|10m - average usage
@@ -63,11 +63,11 @@ Memory - Request 16Gi, Limits 40Gi
6363

6464
2. Large usage - use these settings for large usage situations, such as a large PV (500GB Usage), multiple namespaces (100+), or many pods within a single namespace (2000 pods+), and for optimal performance for backup and restore involving large datasets.
6565

66-
3. Restic resource usage corresponds to the amount of data, and type of data. For example, many small files or large amounts of data can cause Restic to utilize large amounts of resources. The https://velero.io/docs/v1.11/customize-installation/#customize-resource-requests-and-limits/[Velero] documentation references 500m as a supplied default, for most of our testing we found 200m request suitable with 1000m limit. As cited in the Velero documentation, exact CPU and memory usage is dependent on the scale of files and directories, in addition to environmental limitations.
66+
3. Restic resource usage corresponds to the amount of data, and type of data. For example, many small files or large amounts of data can cause Restic to use large amounts of resources. The https://velero.io/docs/v1.11/customize-installation/#customize-resource-requests-and-limits/[Velero] documentation references 500m as a supplied default, for most of our testing we found a 200m request suitable with 1000m limit. As cited in the Velero documentation, exact CPU and memory usage is dependent on the scale of files and directories, in addition to environmental limitations.
6767

6868
4. Increasing the CPU has a significant impact on improving backup and restore times.
6969

70-
5. DataMover - DataMover default resourceTimeout is 10m. Our tests show that for restoring a large PV (500GB usage), it is required to increase the resourceTimeout to 60m.
70+
5. Data Mover - Data Mover default resourceTimeout is 10m. Our tests show that for restoring a large PV (500GB usage), it is required to increase the resourceTimeout to 60m.
7171
--
7272

7373
[NOTE]

0 commit comments

Comments
 (0)