Skip to content

Commit 3b0cae3

Browse files
authored
Merge pull request #69 from hhpatel14/oadp-1.1.3
OADP v1.1.3 updates
2 parents 599fd54 + 136af1f commit 3b0cae3

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

oadp/bookbag/workshop/content/Conclusion.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
|===
1717
|Type |Link
1818
|Source Code |https://github.com/openshift/oadp-operator
19-
|Velero Documentation |https://velero.io/docs/v1.7
19+
|Velero Documentation |https://velero.io/docs/v1.9/
2020
|YouTube Channel |https://www.youtube.com/channel/UCBDU5UK5Okg3mlIMygpkbNA?view_as=subscriber
2121
|===

oadp/bookbag/workshop/content/Environment.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:markup-in-source: verbatim,attributes,quotes
33
:OCP4_PASSWORD: %ocp4_password%
44
:CLUSTER_ADMIN_USER: %cluster_admin_user%
5+
:CLUSTER_ADMIN_PASSWORD: %cluster_admin_password%
56
:APPS_URL: %apps_url%
67
:API_URL: %api_url%
78
== Overview
@@ -18,7 +19,7 @@ The following lab environment has been provisioned for you to use with this Lab.
1819
|OCP Console |http://console-openshift-console.{APPS_URL}
1920
|API |{API_URL}
2021
|OCP admin username| {CLUSTER_ADMIN_USER}
21-
|OCP admin password| {OCP4_PASSWORD}
22+
|OCP admin password| {CLUSTER_ADMIN_PASSWORD}
2223
|===
2324

2425
On the right, you will see two split terminals. We will generally use the lower terminal for most executions while upper terminal will be reserved for reviewing yaml files and watching result of executions.
@@ -45,7 +46,7 @@ echo copy
4546
You copy `{CLUSTER_ADMIN_USER}` password here if you need it.
4647
[source,bash,role=copy]
4748
----
48-
%ocp4_password%
49+
%cluster_admin_password%
4950
----
5051

5152
We have also setup credentials for aws cli to be used with openshift storage.

oadp/bookbag/workshop/content/Prereqs.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
:markup-in-source: verbatim,attributes,quotes
33
:OCP4_PASSWORD: %ocp4_password%
44
:CLUSTER_ADMIN_USER: %cluster_admin_user%
5+
:CLUSTER_ADMIN_PASSWORD: %cluster_admin_password%
56
:APPS_URL: %apps_url%
67
:API_URL: %api_url%
78

89

910
Login as {CLUSTER_ADMIN_USER}
1011
[source,bash,role=execute]
1112
----
12-
oc login -u %cluster_admin_user% -p %ocp4_password%
13+
oc login -u %cluster_admin_user% -p %cluster_admin_password%
1314
----
1415

1516
Verify OpenShift version

oadp/bookbag/workshop/content/exercises/Ex1.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
:markup-in-source: verbatim,attributes,quotes
33
:OCP4_PASSWORD: %ocp4_password%
44
:CLUSTER_ADMIN_USER: %cluster_admin_user%
5+
:CLUSTER_ADMIN_PASSWORD: %cluster_admin_password%
56
:APPS_URL: %apps_url%
67
:API_URL: %api_url%
78

89
== Backing up single namespace
910

10-
We are going to protecting a simple Product Inventory web-based application front-end, backed by Microsoft SQL Server. This application has been pre-deployed on your OCP 4 cluster in the `mssql-persistent` namespace, using a single PV backed by NFS for persistent storage.
11-
11+
We are going to protecting a simple Product Inventory web-based application front-end, backed by Microsoft SQL Server. This application has been pre-deployed on your OCP 4 cluster in the `mssql-persistent` namespace.
1212
In our source OCP 4 cluster terminal, we can see the app running:
1313

1414
[source,bash,role=execute]
@@ -62,6 +62,10 @@ You can check on the backup progress by running the following
6262
velero backup describe mssql-backup
6363
----
6464
When the backup `Phase:` is `Completed`., proceed to next section.
65+
[source,bash,role=execute]
66+
----
67+
velero backup describe mssql-backup | grep Phase:
68+
----
6569

6670
=== Viewing backup content in S3 storage
6771
Backup content is stored in S3 storage in the specified content in the prefix location under folder backup inside the backup name's folder.

oadp/bookbag/workshop/content/exercises/Ex2.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
:markup-in-source: verbatim,attributes,quotes
33
:OCP4_PASSWORD: %ocp4_password%
44
:CLUSTER_ADMIN_USER: %cluster_admin_user%
5+
:CLUSTER_ADMIN_PASSWORD: %cluster_admin_password%
56
:APPS_URL: %apps_url%
67
:API_URL: %api_url%
78

89
== Backing up multiple namespaces
910

1011
In previous exercise, we backed up a single namespace using `--include-namespaces` flag from Velero CLI. This flag actually accepts a `stringArray`. We can backup multiple namespaces using the flag separating them by `,`.
1112

12-
In addition to the Microsoft SQL Server application, we have pre-deployed for you a second application called `parks-app`. This application has been pre-deployed on your OCP 4 cluster in the `parks-app` namespace, using a single PV backed by NFS for persistent storage.
13-
13+
In addition to the Microsoft SQL Server application, we have pre-deployed for you a second application called `parks-app`. This application has been pre-deployed on your OCP 4 cluster in the `parks-app` namespace.
1414
In our source OCP 4 cluster terminal, we can see the app running:
1515

1616
[source,bash,role=execute]

oadp/bookbag/workshop/content/exercises/Ex3.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:markup-in-source: verbatim,attributes,quotes
33
:OCP4_PASSWORD: %ocp4_password%
44
:CLUSTER_ADMIN_USER: %cluster_admin_user%
5+
:CLUSTER_ADMIN_PASSWORD: %cluster_admin_password%
56
:APPS_URL: %apps_url%
67
:API_URL: %api_url%
78

oadp/bookbag/workshop/content/exercises/troubleshooting/velero-pod-errors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ velero backup logs mssql-backup | grep -i error
1717
----
1818
We don't expect any errors here so the result should be empty.
1919

20-
https://github.com/openshift/oadp-operator/blob/master/TROUBLESHOOTING.md[Link to commonly encountered errors when using Velero to backup and restore Kubernetes clusters.]
20+
https://github.com/openshift/oadp-operator/blob/oadp-1.1/docs/TROUBLESHOOTING.md[Link to commonly encountered errors when using Velero to backup and restore Kubernetes clusters.]

0 commit comments

Comments
 (0)