You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This section describes advanced options for automating your migration and for modifying the migration plan.
9
+
You can automate your migrations and modify the `MigPlan` and `MigrationController` custom resources in order to perform large-scale migrations and to improve performance.
You can configure the following options for the `MigPlan` and `MigrationController` CRs.
30
+
You can configure the following options for the `MigPlan` and `MigrationController` custom resources (CRs) to perform large-scale migrations and to improve performance.
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or from the command line.
9
+
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or from the xref:../migrating_from_ocp_3_to_4/advanced-migration-options-3-4.adoc#migrating-your-applications-api_advanced-migration-options-3-4[command line].
10
+
11
+
You can use stage migration and cutover migration to migrate an application between clusters:
12
+
13
+
* Stage migration copies data from the source cluster to the target cluster without stopping the application. You can run a stage migration multiple times to reduce the duration of the cutover migration.
14
+
* Cutover migration stops the transactions on the source cluster and moves the resources to the target cluster.
15
+
16
+
You can use state migration to migrate an application's state:
17
+
18
+
* State migration copies selected persistent volume claims (PVCs) and Kubernetes resources.
19
+
* You can use state migration to migrate a namespace within the same cluster.
10
20
11
21
Most cluster-scoped resources are not yet handled by {mtc-short}. If your applications require cluster-scoped resources, you might have to create them manually on the target cluster.
Copy file name to clipboardExpand all lines: migration_toolkit_for_containers/about-mtc.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ toc::[]
7
7
8
8
The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloads between {product-title} 4 clusters at the granularity of a namespace.
9
9
10
+
You can migrate applications within the same cluster by using state migration.
11
+
10
12
{mtc-short} provides a web console and an API, based on Kubernetes custom resources, to help you control the migration and minimize application downtime.
11
13
12
14
The {mtc-short} console is installed on the target cluster by default. You can configure the {mtc-full} Operator to install the console on a link:https://access.redhat.com/articles/5064151[remote cluster].
This section describes advanced options for automating your migration and for modifying the migration plan.
8
+
You can automate your migrations and modify the `MigPlan` and `MigrationController` custom resources in order to perform large-scale migrations and to improve performance.
You can configure the following options for the `MigPlan` and `MigrationController` CRs.
30
+
You can configure the following options for the `MigPlan` and `MigrationController` custom resources (CRs) to perform large-scale migrations and to improve performance.
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or from the command line.
8
+
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or from the xref:../migration_toolkit_for_containers/advanced-migration-options-mtc.adoc#migration-migrating-applications-api_advanced-migration-options-mtc[command line].
9
9
10
10
Most cluster-scoped resources are not yet handled by {mtc-short}. If your applications require cluster-scoped resources, you might have to create them manually on the target cluster.
11
11
12
+
You can use stage migration and cutover migration to migrate an application between clusters:
13
+
14
+
* Stage migration copies data from the source cluster to the target cluster without stopping the application. You can run a stage migration multiple times to reduce the duration of the cutover migration.
15
+
* Cutover migration stops the transactions on the source cluster and moves the resources to the target cluster.
16
+
17
+
You can use state migration to migrate an application's state:
18
+
19
+
* State migration copies selected persistent volume claims (PVCs) and Kubernetes resources.
20
+
* You can use state migration to migrate a namespace within the same cluster.
21
+
12
22
During migration, the {mtc-full} ({mtc-short}) preserves the following namespace annotations:
Copy file name to clipboardExpand all lines: modules/migration-about-state-migration.adoc
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,13 @@
8
8
9
9
You can use {mtc-full} ({mtc-short}) to migrate an application's state.
10
10
11
-
State migration copies selected persistent volume claims (PVCs) and Kubernetes objects that store an application's state.
11
+
State migration copies selected persistent volume claims (PVCs) and Kubernetes objects that constitute an application's state.
12
12
13
13
If you have a CI/CD pipeline, you can migrate stateless components by deploying them on the target cluster. Then you can migrate the application's state by using {mtc-short}.
14
14
15
+
You can migrate an application within the same cluster by using state migration.
16
+
15
17
[IMPORTANT]
16
18
====
17
-
Do not use state migration to migrate a namespace.
19
+
Do not use state migration to migrate namespaces between clusters. Use stage or cutover migration instead.
Copy file name to clipboardExpand all lines: modules/migration-running-migration-plan-cam.adoc
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,16 @@ The {mtc-short} web console must contain the following:
29
29
. Log in to the {mtc-short} web console and click *Migration plans*.
30
30
. Click the Options menu {kebab} next to a migration plan and select one of the following options under *Migration*:
31
31
32
-
* *Stage* copies data from the source cluster to the target cluster without stopping the application. You can run a stage migration multiple times to reduce the duration of the cutover migration.
33
-
32
+
* *Stage* copies data from the source cluster to the target cluster without stopping the application.
34
33
* *Cutover* stops the transactions on the source cluster and moves the resources to the target cluster.
35
34
+
36
35
Optional: In the *Cutover migration* dialog, you can clear the *Halt transactions on the source cluster during migration* checkbox.
37
36
38
-
* *State* copies selected persistent volume claims (PVCs) and Kubernetes resources that store an application's state.
37
+
* *State* copies selected persistent volume claims (PVCs) and Kubernetes resources that constitute an application's state. You can use state migration to migrate a namespace within the same cluster.
39
38
+
40
39
[IMPORTANT]
41
40
====
42
-
Do not use state migration to migrate a namespace.
41
+
Do not use state migration to migrate a namespace between clusters. Use stage or cutover migration instead.
43
42
====
44
43
45
44
** Select one or more PVCs in the *State migration* dialog and click *Migrate*.
@@ -10,6 +10,13 @@ You can perform repeatable, state-only migrations by selecting specific persiste
10
10
11
11
If you have a CI/CD pipeline, you can migrate stateless components by deploying them on the target cluster. Then you can migrate stateful components by using {mtc-short}.
12
12
13
+
You can use state migration to migrate namespaces within the same cluster.
14
+
15
+
[IMPORTANT]
16
+
====
17
+
Do not use state migration to migrate namespaces between clusters. Use stage or cutover migration instead.
18
+
====
19
+
13
20
You can migrate PV data from the source cluster to PVCs that are already provisioned in the target cluster by mapping PVCs in the `MigPlan` CR. This ensures that the target PVCs of migrated applications are synchronized with the source PVCs.
14
21
15
22
You can perform a one-time migration of Kubernetes objects that store application state.
@@ -79,7 +86,7 @@ spec:
79
86
[id="migrating-kubernetes-objects_{context}"]
80
87
== Migrating Kubernetes objects
81
88
82
-
You can perform a one-time migration of Kubernetes objects that store an application's state.
89
+
You can perform a one-time migration of Kubernetes objects that constitute an application's state.
0 commit comments