Skip to content

Commit 923da24

Browse files
authored
Merge pull request #35761 from apinnick/mig-802-legacy-operator
MIG-802: legacy MTC operator for OCP 3.7 to 4.5 (MTC 1.5.1)
2 parents e164213 + f8dbbed commit 923da24

17 files changed

+191
-191
lines changed

migrating_from_ocp_3_to_4/about-mtc-3-4.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloads from {product-title} 3.7, 3.9, 3.10, or 3.11 to {product-version} at the granularity of a namespace.
8+
The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloads from {product-title} 3 to {product-version} at the granularity of a namespace.
99

1010
[IMPORTANT]
1111
====

migrating_from_ocp_3_to_4/installing-3-4.adoc

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

77
toc::[]
88

9-
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and on {product-title} {product-version} clusters.
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and 4.
1010

11-
[IMPORTANT]
12-
====
13-
You must install the same {mtc-short} version on all clusters.
14-
====
11+
After you install the {mtc-full} Operator on {product-title} {product-version} by using the Operator Lifecycle Manager, you manually install the legacy {mtc-full} Operator on {product-title} 3.
1512

1613
By default, the {mtc-short} web console and the `Migration Controller` pod run on the target cluster. You can configure the `Migration Controller` custom resource manifest to run the {mtc-short} web console and the `Migration Controller` pod on a link:https://access.redhat.com/articles/5064151[source cluster or on a remote cluster].
1714

1815
After you have installed {mtc-short}, you must configure an object storage to use as a replication repository.
1916

2017
include::modules/migration-compatibility-guidelines.adoc[leveloffset=+1]
18+
include::modules/migration-installing-legacy-operator.adoc[leveloffset=+1]
2119
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
22-
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+1]
2320
include::modules/migration-configuring-proxies.adoc[leveloffset=+1]
2421

2522
For more information, see xref:../networking/enable-cluster-wide-proxy.adoc#nw-proxy-configure-object_config-cluster-wide-proxy[Configuring the cluster-wide proxy].
@@ -31,10 +28,6 @@ You must configure an object storage to use as a replication repository. The {mt
3128

3229
{mtc-short} supports the xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-understanding-data-copy-methods_about-mtc-3-4[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.
3330

34-
All clusters must have uninterrupted network access to the replication repository.
35-
36-
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
37-
3831
The following storage providers are supported:
3932

4033
* xref:../migrating_from_ocp_3_to_4/installing-3-4.adoc#migration-configuring-mcg_installing-3-4[Multicloud Object Gateway]
@@ -43,17 +36,21 @@ The following storage providers are supported:
4336
* xref:../migrating_from_ocp_3_to_4/installing-3-4.adoc#migration-configuring-azure_installing-3-4[Microsoft Azure Blob]
4437
* Generic S3 object storage, for example, Minio or Ceph S3
4538

46-
[id="{context}_configuring-replication-repository-additional-resources"]
47-
[discrete]
48-
=== Additional resources for configuring a replication repository
39+
[id="replication-repository-prerequisites_{context}"]
40+
=== Prerequisites
4941

50-
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-mtc-workflow_about-mtc-3-4[{mtc-short} workflow]
51-
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-understanding-data-copy-methods_about-mtc-3-4[About data copy methods]
52-
* xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migration-adding-replication-repository-to-cam_migrating-applications-3-4[Adding a replication repository to the {mtc-short} web console]
42+
* All clusters must have uninterrupted network access to the replication repository.
43+
* If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
5344

5445
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
5546
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+2]
5647
include::modules/migration-configuring-gcp.adoc[leveloffset=+2]
5748
include::modules/migration-configuring-azure.adoc[leveloffset=+2]
5849

50+
[id="{context}_configuring-replication-repository-additional-resources"]
51+
=== Additional resources for configuring a replication repository
52+
53+
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-mtc-workflow_about-mtc-3-4[{mtc-short} workflow]
54+
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-understanding-data-copy-methods_about-mtc-3-4[About data copy methods]
55+
* xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migration-adding-replication-repository-to-cam_migrating-applications-3-4[Adding a replication repository to the {mtc-short} web console]
5956
:installing-3-4!:

migrating_from_ocp_3_to_4/installing-restricted-3-4.adoc

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,17 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and on {product-title} {product-version} in a restricted network environment.
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and 4 in a restricted network environment.
1010

11-
[IMPORTANT]
12-
====
13-
You must install the same {mtc-short} version on all clusters.
14-
====
11+
After you install the {mtc-full} Operator on {product-title} {product-version} by using the Operator Lifecycle Manager, you manually install the legacy {mtc-full} Operator on {product-title} 3.
1512

16-
By default, the {mtc-short} web console and the `Migration Controller` pod run on the target cluster.
17-
18-
You can configure the `Migration Controller` custom resource manifest to run the {mtc-short} web console and the `Migration Controller` pod on a link:https://access.redhat.com/articles/5064151[source cluster or on a remote cluster].
13+
By default, the {mtc-short} web console and the `Migration Controller` pod run on the target cluster. You can configure the `Migration Controller` custom resource manifest to run the {mtc-short} web console and the `Migration Controller` pod on a link:https://access.redhat.com/articles/5064151[source cluster or on a remote cluster].
1914

2015
After you have installed {mtc-short}, you must configure an object storage to use as a replication repository.
2116

2217
include::modules/migration-compatibility-guidelines.adoc[leveloffset=+1]
2318
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
24-
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+1]
19+
include::modules/migration-installing-legacy-operator.adoc[leveloffset=+1]
2520
include::modules/migration-configuring-proxies.adoc[leveloffset=+1]
2621

2722
For more information, see xref:../networking/enable-cluster-wide-proxy.adoc#nw-proxy-configure-object_config-cluster-wide-proxy[Configuring the cluster-wide proxy].
@@ -33,18 +28,19 @@ The Multicloud Object Gateway is the only supported option for a restricted netw
3328

3429
{mtc-short} supports the xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-understanding-data-copy-methods_about-mtc-3-4[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.
3530

36-
All clusters must have uninterrupted network access to the replication repository.
31+
[id="replication-repository-prerequisites_{context}"]
32+
=== Prerequisites
33+
34+
* All clusters must have uninterrupted network access to the replication repository.
35+
* If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
3736

38-
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
37+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
3938

4039
[id="{context}_configuring-replication-repository-additional-resources"]
41-
[discrete]
4240
=== Additional resources for configuring a replication repository
4341

4442
* link:https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.8/html-single/planning_your_deployment/index#disconnected-environment_rhocs[Disconnected environment] in the Red Hat OpenShift Container Storage documentation.
4543
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-mtc-workflow_about-mtc-3-4[{mtc-short} workflow]
4644
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-understanding-data-copy-methods_about-mtc-3-4[About data copy methods]
4745
* xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migration-adding-replication-repository-to-cam_migrating-applications-3-4[Adding a replication repository to the {mtc-short} web console]
48-
49-
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
5046
:installing-restricted-3-4!:

migrating_from_ocp_3_to_4/premigration-checklists-3-4.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Before you migrate your application workloads with the {mtc-full} ({mtc-short}),
1111
== Source cluster checklist
1212

1313
* [ ] The cluster meets the link:https://docs.openshift.com/container-platform/3.11/install/prerequisites.html#hardware[minimum hardware requirements].
14-
* [ ] The {product-title} version is 3.7, 3.9, 3.10, or 3.11.
15-
* [ ] The {mtc-short} version is the same on all clusters.
14+
* [ ] You have installed the correct legacy {mtc-full} Operator version:
15+
** `operator-3.7.yml` on {product-title} version 3.7.
16+
** `operator.yml` on {product-title} versions 3.9 to 4.5.
1617
* [ ] All nodes have an active {product-title} subscription.
1718
* [ ] All the link:https://docs.openshift.com/container-platform/3.11/day_two_guide/run_once_tasks.html#day-two-guide-default-storage-class[run-once tasks] have been performed.
1819
* [ ] All the link:https://docs.openshift.com/container-platform/3.11/day_two_guide/environment_health_checks.html[environment health checks] have been performed.
@@ -66,7 +67,7 @@ $ oc get csr -A | grep pending -i
6667
[id="target-cluster-checklist_{context}"]
6768
== Target cluster checklist
6869

69-
* [ ] The {mtc-short} version is the same on all clusters.
70+
* [ ] You have installed {mtc-full} Operator version 1.5.1.
7071
* [ ] All xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migration-prerequisites_migrating-applications-3-4[{mtc-short} prerequisites] are met.
7172
* [ ] The cluster meets the minimum hardware requirements for the specific platform and installation method, for example, on xref:../installing/installing_bare_metal/installing-bare-metal.adoc#minimum-resource-requirements_installing-bare-metal[bare metal].
7273
* [ ] The cluster has xref:../storage/dynamic-provisioning.adoc#defining-storage-classes_dynamic-provisioning[storage classes] defined for the storage types used by the source cluster, for example, block volume, file system, or object storage.

migrating_from_ocp_3_to_4/upgrading-3-4.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
= Upgrading the Migration Toolkit for Containers
33
include::modules/common-attributes.adoc[]
44
:context: upgrading-3-4
5+
:upgrading-3-4:
56

67
toc::[]
78

8-
You can upgrade the {mtc-full} ({mtc-short}) by using the {product-title} web console.
9+
You can upgrade the {mtc-full} ({mtc-short}) on {product-title} {product-version} by using the Operator Lifecycle Manager.
10+
11+
You can upgrade {mtc-short} on {product-title} versions 3.7 to 3.11 by installing the legacy {mtc-full} Operator.
912

1013
[IMPORTANT]
1114
====
12-
You must ensure that you upgrade to the same {mtc-short} version on all clusters.
13-
14-
If you are upgrading from {mtc-short} version 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
15+
If you are upgrading from {mtc-short} version 1.3 to {mtc-version}, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
1516
====
1617

1718
include::modules/migration-upgrading-mtc-on-ocp-4.adoc[leveloffset=+1]
18-
include::modules/migration-upgrading-mtc-on-ocp-3.adoc[leveloffset=+1]
19+
include::modules/migration-upgrading-mtc-with-legacy-operator.adoc[leveloffset=+1]
1920
include::modules/migration-upgrading-from-mtc-1-3.adoc[leveloffset=+1]
21+
:upgrading-3-4!:

migration_toolkit_for_containers/about-mtc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloads between {product-title} clusters at the granularity of a namespace.
8+
The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloads between {product-title} 4 clusters at the granularity of a namespace.
99

1010
{mtc-short} provides a web console and an API, based on Kubernetes custom resources, to help you control the migration and minimize application downtime.
1111

migration_toolkit_for_containers/installing-mtc-restricted.adoc

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ toc::[]
88

99
You can install the {mtc-full} ({mtc-short}) on {product-title} 4 in a restricted network environment.
1010

11-
[IMPORTANT]
12-
====
13-
You must install the same {mtc-short} version on all clusters.
14-
====
11+
After you install the {mtc-full} Operator on {product-title} {product-version} by using the Operator Lifecycle Manager, you manually install the legacy {mtc-full} Operator on the {product-title} 4 source cluster.
1512

16-
By default, the {mtc-short} web console and the `Migration Controller` pod run on the target cluster.
17-
18-
You can configure the `Migration Controller` custom resource manifest to run the {mtc-short} web console and the `Migration Controller` pod on a link:https://access.redhat.com/articles/5064151[remote cluster].
13+
By default, the {mtc-short} web console and the `Migration Controller` pod run on the target cluster. You can configure the `Migration Controller` custom resource manifest to run the {mtc-short} web console and the `Migration Controller` pod on a link:https://access.redhat.com/articles/5064151[remote cluster].
1914

2015
After you have installed {mtc-short}, you must configure an object storage to use as a replication repository.
2116

2217
include::modules/migration-compatibility-guidelines.adoc[leveloffset=+1]
2318
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
19+
include::modules/migration-installing-legacy-operator.adoc[leveloffset=+1]
2420
include::modules/migration-configuring-proxies.adoc[leveloffset=+1]
2521

2622
For more information, see xref:../networking/enable-cluster-wide-proxy.adoc#nw-proxy-configure-object_config-cluster-wide-proxy[Configuring the cluster-wide proxy].
@@ -32,18 +28,19 @@ The Multicloud Object Gateway is the only supported option for a restricted netw
3228

3329
{mtc-short} supports the xref:../migration_toolkit_for_containers/about-mtc.adoc#migration-understanding-data-copy-methods_about-mtc[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.
3430

35-
All clusters must have uninterrupted network access to the replication repository.
31+
[id="replication-repository-prerequisites_{context}"]
32+
=== Prerequisites
33+
34+
* All clusters must have uninterrupted network access to the replication repository.
35+
* If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
3636

37-
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
37+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
3838

3939
[id="{context}_configuring-replication-repository-additional-resources"]
40-
[discrete]
4140
=== Additional resources for configuring a replication repository
4241

4342
* link:https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.8/html-single/planning_your_deployment/index#disconnected-environment_rhocs[Disconnected environment] in the Red Hat OpenShift Container Storage documentation.
4443
* xref:../migration_toolkit_for_containers/about-mtc.adoc#migration-mtc-workflow_about-mtc[{mtc-short} workflow]
4544
* xref:../migration_toolkit_for_containers/about-mtc.adoc#migration-understanding-data-copy-methods_about-mtc[About data copy methods]
4645
* xref:../migration_toolkit_for_containers/migrating-applications-with-mtc.adoc#migration-adding-replication-repository-to-cam_migrating-applications-with-mtc[Adding a replication repository to the {mtc-short} web console]
47-
48-
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
4946
:installing-mtc-restricted!:

0 commit comments

Comments
 (0)