Skip to content

Commit b816ad9

Browse files
committed
rebase
1 parent ee54c19 commit b816ad9

13 files changed

+143
-49
lines changed

_topic_map.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ Topics:
18021802
File: about-migration
18031803
- Name: Planning your migration from OpenShift Container Platform 3 to 4
18041804
File: planning-migration-3-to-4
1805-
- Name: Migration tools and prerequisites
1805+
- Name: About the Migration Toolkit for Containers
18061806
File: migrating-application-workloads-3-4
18071807
- Name: Deploying the Migration Toolkit for Containers
18081808
File: deploying-cam-3-4
@@ -1820,7 +1820,7 @@ Topics:
18201820
Dir: migrating_4_1_4
18211821
Distros: openshift-enterprise
18221822
Topics:
1823-
- Name: Migration tools and prerequisites
1823+
- Name: About the Migration Toolkit for Containers
18241824
File: migrating-application-workloads-4-1-4
18251825
- Name: Deploying the Migration Toolkit for Containers
18261826
File: deploying-cam-4-1-4
@@ -1836,7 +1836,7 @@ Topics:
18361836
Dir: migrating_4_2_4
18371837
Distros: openshift-enterprise
18381838
Topics:
1839-
- Name: Migration tools and prerequisites
1839+
- Name: About the Migration Toolkit for Containers
18401840
File: migrating-application-workloads-4-2-4
18411841
- Name: Deploying the Migration Toolkit for Containers
18421842
File: deploying-cam-4-2-4

migration/migrating_3_4/deploying-cam-3-4.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can deploy the {mtc-full} ({mtc-short}) on an {product-title} {product-version} target cluster and an {product-title} 3 source cluster by installing the {mtc-full} Operator. The {mtc-full} Operator deploys {mtc-short} on the target cluster by default.
9+
You can deploy the {mtc-full} ({mtc-short}) on an {product-title} {product-version} target cluster and an {product-title} 3 source cluster by installing the {mtc-full} Operator.
1010

1111
[NOTE]
1212
====
13-
Optional: You can configure the {mtc-full} Operator to install the {mtc-short} link:https://access.redhat.com/articles/5064151[on an {product-title} 3 cluster or on a remote cluster].
13+
{mtc-short} is installed on the target cluster by default.
14+
15+
You can configure the {mtc-full} Operator to install the {mtc-short} link:https://access.redhat.com/articles/5064151[on an {product-title} 3 cluster or on a remote cluster].
1416
====
1517

1618
In a restricted environment, you can install the {mtc-full} Operator from a local mirror registry.

migration/migrating_3_4/migrating-application-workloads-3-4.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="migrating-application-workloads-3-4"]
2-
= Migration tools and prerequisites
2+
= About the {mtc-full}
33
include::modules/common-attributes.adoc[]
44
:context: migrating-3-4
55
:migrating-3-4:
@@ -8,6 +8,13 @@ toc::[]
88

99
You can migrate application workloads from {product-title} 3.7, 3.9, 3.10, and 3.11 to {product-title} {product-version} with the {mtc-full} ({mtc-short}). {mtc-short} enables you to control the migration and to minimize application downtime.
1010

11+
[NOTE]
12+
====
13+
{mtc-short} is installed on the target cluster by default.
14+
15+
You can configure the {mtc-full} Operator to install the {mtc-short} link:https://access.redhat.com/articles/5064151[on an {product-title} 3 cluster or on a remote cluster].
16+
====
17+
1118
The {mtc-short} web console and API, based on Kubernetes custom resources, enable you to migrate stateful application workloads at the granularity of a namespace.
1219

1320
{mtc-short} supports the file system and snapshot data copy methods for migrating data from the source cluster to the target cluster. You can select a method that is suited for your environment and is supported by your storage provider.
@@ -29,7 +36,8 @@ Before you begin your migration, be sure to review the information on xref:../..
2936
====
3037

3138
include::modules/migration-prerequisites.adoc[leveloffset=+1]
32-
include::modules/migration-understanding-cam.adoc[leveloffset=+1]
39+
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
40+
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
3341
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
3442
include::modules/migration-understanding-migration-hooks.adoc[leveloffset=+1]
3543
include::modules/migration-understanding-cpma.adoc[leveloffset=+1]

migration/migrating_3_4/troubleshooting-3-4.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,11 @@ include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3131

3232
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3333
include::modules/migration-known-issues.adoc[leveloffset=+1]
34+
35+
[role="_additional-resources"]
36+
== Additional resources
37+
38+
* xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#migration-mtc-workflow_migrating-3-4[{mtc-short} workflow]
39+
* xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#migration-mtc-custom-resources_migrating-3-4[{mtc-short} custom resources]
40+
3441
:!migrating-3-4:

migration/migrating_4_1_4/migrating-application-workloads-4-1-4.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="migrating-application-workloads-4-1-4"]
2-
= Migration tools and prerequisites
2+
= About the {mtc-full}
33
include::modules/common-attributes.adoc[]
44
:context: migrating-4-1-4
55
:migrating-4-1-4:
@@ -11,6 +11,8 @@ You can migrate application workloads from {product-title} 4.1 to {product-versi
1111
[NOTE]
1212
====
1313
You can migrate between {product-title} clusters of the same version, for example, from 4.1 to 4.1, as long as the source and target clusters are configured correctly.
14+
15+
{mtc-short} is installed on the target cluster by default. You can configure the {mtc-full} Operator to install the {mtc-short} link:https://access.redhat.com/articles/5064151[on a remote cluster].
1416
====
1517

1618
The {mtc-short} web console and API, based on Kubernetes custom resources, enable you to migrate stateful and stateless application workloads at the granularity of a namespace.
@@ -20,8 +22,8 @@ The {mtc-short} web console and API, based on Kubernetes custom resources, enabl
2022
You can use migration hooks to run Ansible playbooks at certain points during the migration. The hooks are added when you create a migration plan.
2123

2224
include::modules/migration-prerequisites.adoc[leveloffset=+1]
23-
include::modules/migration-understanding-cam.adoc[leveloffset=+1]
25+
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
26+
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
2427
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
2528
include::modules/migration-understanding-migration-hooks.adoc[leveloffset=+1]
26-
2729
:!migrating-4-1-4:

migration/migrating_4_1_4/troubleshooting-4-1-4.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,11 @@ include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3030

3131
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3232
include::modules/migration-known-issues.adoc[leveloffset=+1]
33+
34+
[role="_additional-resources"]
35+
== Additional resources
36+
37+
* xref:../../migration/migrating_4_1_4/migrating-application-workloads-4-1-4.adoc#migration-mtc-workflow_migrating-4-1-4[{mtc-short} workflow]
38+
* xref:../../migration/migrating_4_1_4/migrating-application-workloads-4-1-4.adoc#migration-mtc-custom-resources_migrating-4-1-4[{mtc-short} custom resources]
39+
3340
:!migrating-4-1-4:

migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="migrating-application-workloads-4-2-4"]
2-
= Migration tools and prerequisites
2+
= About the {mtc-full}
33
include::modules/common-attributes.adoc[]
44
:context: migrating-4-2-4
55
:migrating-4-2-4:
@@ -11,6 +11,8 @@ You can migrate application workloads from {product-title} 4.2 to {product-versi
1111
[NOTE]
1212
====
1313
You can migrate between {product-title} clusters of the same version, for example, from 4.2 to 4.2 or from 4.3 to 4.3, as long as the source and target clusters are configured correctly.
14+
15+
{mtc-short} is installed on the target cluster by default. You can configure the {mtc-full} Operator to install the {mtc-short} link:https://access.redhat.com/articles/5064151[on a remote cluster].
1416
====
1517

1618
The {mtc-short} web console and API, based on Kubernetes custom resources, enable you to migrate stateful and stateless application workloads at the granularity of a namespace.
@@ -20,8 +22,8 @@ The {mtc-short} web console and API, based on Kubernetes custom resources, enabl
2022
You can use migration hooks to run Ansible playbooks at certain points during the migration. The hooks are added when you create a migration plan.
2123

2224
include::modules/migration-prerequisites.adoc[leveloffset=+1]
23-
include::modules/migration-understanding-cam.adoc[leveloffset=+1]
25+
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
26+
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
2427
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
2528
include::modules/migration-understanding-migration-hooks.adoc[leveloffset=+1]
26-
2729
:!migrating-4-2-4:

migration/migrating_4_2_4/troubleshooting-4-2-4.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,11 @@ include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3030

3131
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3232
include::modules/migration-known-issues.adoc[leveloffset=+1]
33+
34+
[role="_additional-resources"]
35+
== Additional resources
36+
37+
* xref:../../migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc#migration-mtc-workflow_migrating-4-2-4[{mtc-short} workflow]
38+
* xref:../../migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc#migration-mtc-custom-resources_migrating-4-2-4[{mtc-short} custom resources]
39+
3340
:!migrating-4-2-4:
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// * migration/migrating_3_4/migrating-application-workloads-3-4.adoc
3+
// * migration/migrating_4_1_4/migrating-application-workloads-4-1-4.adoc
4+
// * migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc
5+
6+
[id='migration-mtc-custom-resources_{context}']
7+
= {mtc-full} custom resources
8+
9+
The {mtc-full} ({mtc-short}) creates the following custom resources (CRs):
10+
11+
image::migration-architecture.png[migration architecture diagram]
12+
13+
image:darkcircle-1.png[20,20] link:https://github.com/konveyor/mig-controller/blob/master/pkg/apis/migration/v1alpha1/migcluster_types.go[MigCluster] (configuration, {mtc-short} cluster): Cluster definition
14+
15+
image:darkcircle-2.png[20,20] link:https://github.com/konveyor/mig-controller/blob/master/pkg/apis/migration/v1alpha1/migstorage_types.go[MigStorage] (configuration, {mtc-short} cluster): Storage definition
16+
17+
image:darkcircle-3.png[20,20] link:https://github.com/konveyor/mig-controller/blob/master/pkg/apis/migration/v1alpha1/migplan_types.go[MigPlan] (configuration, {mtc-short} cluster): Migration plan
18+
19+
The `MigPlan` CR describes the source and target clusters, replication repository, and namespaces being migrated. It is associated with 0, 1, or many `MigMigration` CRs.
20+
21+
[NOTE]
22+
====
23+
Deleting a `MigPlan` CR deletes the associated `MigMigration` CRs.
24+
====
25+
26+
image:darkcircle-4.png[20,20] link:https://github.com/vmware-tanzu/velero/blob/main/pkg/apis/velero/v1/backupstoragelocation_types.go[BackupStorageLocation] (configuration, {mtc-short} cluster): Location of `Velero` backup objects
27+
28+
image:darkcircle-5.png[20,20] link:https://github.com/vmware-tanzu/velero/blob/main/pkg/apis/velero/v1/volume_snapshot_location.go[VolumeSnapshotLocation] (configuration, {mtc-short} cluster): Location of `Velero` volume snapshots
29+
30+
image:darkcircle-6.png[20,20] link:https://github.com/konveyor/mig-controller/blob/master/pkg/apis/migration/v1alpha1/migmigration_types.go[MigMigration] (action, {mtc-short} cluster): Migration, created every time you stage or migrate data. Each `MigMigration` CR is associated with a `MigPlan` CR.
31+
32+
image:darkcircle-7.png[20,20] link:https://github.com/vmware-tanzu/velero/blob/main/pkg/apis/velero/v1/backup.go[Backup] (action, source cluster): When you run a migration plan, the `MigMigration` CR creates two `Velero` backup CRs on each source cluster:
33+
34+
* Backup CR #1 for Kubernetes objects
35+
* Backup CR #2 for PV data
36+
37+
image:darkcircle-8.png[20,20] link:https://github.com/vmware-tanzu/velero/blob/main/pkg/apis/velero/v1/restore.go[Restore] (action, target cluster): When you run a migration plan, the `MigMigration` CR creates two `Velero` restore CRs on the target cluster:
38+
39+
* Restore CR #1 (using Backup CR #2) for PV data
40+
* Restore CR #2 (using Backup CR #1) for Kubernetes objects
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
// * migration/migrating_4_1_4/migrating-application-workloads-4-1-4.adoc
55
// * migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc
66

7-
[id='migration-understanding-cam_{context}']
8-
= About the {mtc-full}
7+
[id='migration-mtc-workflow_{context}']
8+
= {mtc-full} workflow
99

10-
The {mtc-full} ({mtc-short}) enables you to migrate Kubernetes resources, persistent volume data, and internal container images from an {product-title} source cluster to an {product-title} {product-version} target cluster, using the {mtc-short} web console or the Kubernetes API.
11-
12-
Migrating an application with the {mtc-short} web console involves the following steps:
10+
Migrating an application with the {mtc-short} web console involves the following workflow:
1311

1412
. Install the {mtc-full} Operator on all clusters.
1513
+
@@ -25,6 +23,11 @@ The source and target clusters must have network access to the replication repos
2523

2624
* *Copy*: {mtc-short} copies the data from the source cluster to the replication repository, and from the replication repository to the target cluster.
2725
+
26+
[NOTE]
27+
====
28+
If you are using direct image migration or direct volume migration, the images or volumes are copied directly from the source cluster to the target cluster.
29+
====
30+
+
2831
image::migration-PV-copy.png[]
2932

3033
* *Move*: {mtc-short} unmounts a remote volume, for example, NFS, from the source cluster, creates a PV resource on the target cluster pointing to the remote volume, and then mounts the remote volume on the target cluster. Applications running on the target cluster use the same remote volume that the source cluster was using. The remote volume must be accessible to the source and target clusters.

0 commit comments

Comments
 (0)