Skip to content

Commit 902a069

Browse files
authored
Merge pull request #33018 from apinnick/bz1962111-reorganize-mtc-4
BZ1962111: Reorganize MTC 4
2 parents 767a036 + 718d42d commit 902a069

File tree

67 files changed

+203
-600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+203
-600
lines changed

_topic_map.yml

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,37 +1984,21 @@ Topics:
19841984
File: troubleshooting-3-4
19851985
---
19861986
Name: Migration Toolkit for Containers
1987-
Dir: migration
1987+
Dir: migration-toolkit-for-containers
19881988
Distros: openshift-enterprise,openshift-origin
19891989
Topics:
1990-
- Name: Migrating from OpenShift Container Platform 4.1
1991-
Dir: migrating_4_1_4
1992-
Distros: openshift-enterprise
1993-
Topics:
1994-
- Name: About the Migration Toolkit for Containers
1995-
File: migrating-application-workloads-4-1-4
1996-
- Name: Installing and upgrading the Migration Toolkit for Containers
1997-
File: deploying-cam-4-1-4
1998-
- Name: Configuring object storage for a replication repository
1999-
File: configuring-replication-repository-4-1-4
2000-
- Name: Migrating your applications
2001-
File: migrating-applications-with-cam-4-1-4
2002-
- Name: Troubleshooting
2003-
File: troubleshooting-4-1-4
2004-
- Name: Migrating from Openshift Container Platform 4.2 and later
2005-
Dir: migrating_4_2_4
2006-
Distros: openshift-enterprise
2007-
Topics:
2008-
- Name: About the Migration Toolkit for Containers
2009-
File: migrating-application-workloads-4-2-4
2010-
- Name: Installing and upgrading the Migration Toolkit for Containers
2011-
File: deploying-cam-4-2-4
2012-
- Name: Configuring object storage for a replication repository
2013-
File: configuring-replication-repository-4-2-4
2014-
- Name: Migrating your applications
2015-
File: migrating-applications-with-cam-4-2-4
2016-
- Name: Troubleshooting
2017-
File: troubleshooting-4-2-4
1990+
- Name: About MTC
1991+
File: about-mtc
1992+
- Name: Installing MTC
1993+
File: installing-mtc
1994+
- Name: Installing MTC in a restricted network environment
1995+
File: installing-mtc-restricted
1996+
- Name: Upgrading MTC
1997+
File: upgrading-mtc
1998+
- Name: Migrating your applications
1999+
File: migrating-applications-with-mtc
2000+
- Name: Troubleshooting
2001+
File: troubleshooting-mtc
20182002
---
20192003
Name: API reference
20202004
Dir: rest_api

migrating_from_ocp_3_to_4/configuring-replication-repository-3-4.adoc

Lines changed: 0 additions & 30 deletions
This file was deleted.

migrating_from_ocp_3_to_4/installing-restricted-3-4.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ By default, the {mtc-short} web console and the `Migration Controller` pod run o
1717

1818
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].
1919

20-
You must create an Operator catalog from a mirror image in a local registry. See xref:../operators/admin/olm-restricted-networks.adoc[Using Operator Lifecycle Manager on restricted networks] for instructions.
21-
2220
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
2321
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+1]
2422

migrating_from_ocp_3_to_4/upgrading-3-4.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can upgrade the {mtc-full} ({mtc-short}) by using the {product-title} web co
1111
====
1212
You must ensure that you upgrade to the same {mtc-short} version on all clusters.
1313
14-
If you are upgrading {mtc-short} version 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
14+
If you are upgrading from {mtc-short} version 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
1515
====
1616

1717
include::modules/migration-upgrading-mtc-on-ocp-4.adoc[leveloffset=+1]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[id="about-mtc"]
2+
= About the {mtc-full}
3+
include::modules/common-attributes.adoc[]
4+
:context: about-mtc
5+
6+
toc::[]
7+
8+
The {mtc-full} ({mtc-short}) web console and API, based on Kubernetes custom resources, enable you to migrate stateful application workloads at the granularity of a namespace.
9+
10+
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].
11+
12+
{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.
13+
14+
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.
15+
16+
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
17+
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
18+
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
19+
include::modules/migration-about-migration-hooks.adoc[leveloffset=+1]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../images
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[id="installing-mtc-restricted"]
2+
= Installing the Migration Toolkit for Containers in a restricted network environment
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-mtc-restricted
5+
:installing-mtc-restricted:
6+
7+
toc::[]
8+
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 4 in a restricted network environment.
10+
11+
[IMPORTANT]
12+
====
13+
You must install the same {mtc-short} version on all clusters.
14+
====
15+
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].
19+
20+
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
21+
22+
[id="configuring-replication-repository_{context}"]
23+
== Configuring a replication repository
24+
25+
You must configure an object storage to use as a replication repository. The {mtc-full} ({mtc-short}) copies data from the source cluster to the replication repository, and then from the replication repository to the target cluster. Multi-Cloud Object Gateway (MCG) is the only supported option for a restricted network environment.
26+
27+
{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.
28+
29+
All clusters must have uninterrupted network access to the replication repository.
30+
31+
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
32+
33+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
34+
:installing-mtc-restricted!:
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[id="installing-mtc"]
2+
= Installing the Migration Toolkit for Containers
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-mtc
5+
:installing-mtc:
6+
7+
toc::[]
8+
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 4.
10+
11+
[IMPORTANT]
12+
====
13+
You must install the same {mtc-short} version on all clusters.
14+
====
15+
16+
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].
17+
18+
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
19+
20+
[id="configuring-replication-repository_{context}"]
21+
== Configuring a replication repository
22+
23+
You must configure an object storage to use as a replication repository. The {mtc-full} ({mtc-short}) copies data from the source cluster to the replication repository, and then from the replication repository to the target cluster.
24+
25+
{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.
26+
27+
All clusters must have uninterrupted network access to the replication repository.
28+
29+
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
30+
31+
The following storage providers are supported:
32+
33+
* Multi-Cloud Object Gateway (MCG)
34+
* Amazon Web Services (AWS) S3
35+
* Google Cloud Provider (GCP)
36+
* Microsoft Azure Blob
37+
* Generic S3 object storage, for example, Minio or Ceph S3
38+
39+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
40+
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+2]
41+
include::modules/migration-configuring-gcp.adoc[leveloffset=+2]
42+
include::modules/migration-configuring-azure.adoc[leveloffset=+2]
43+
44+
:installing-mtc!:

migration/migrating_4_2_4/migrating-applications-with-cam-4-2-4.adoc renamed to migration-toolkit-for-containers/migrating-applications-with-mtc.adoc

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
[id="migrating-applications-with-cam-4-2-4"]
1+
[id="migrating-applications-with-mtc_{context}"]
22
= Migrating your applications
33
include::modules/common-attributes.adoc[]
4-
:context: migrating-4-2-4
5-
:migrating-4-2-4:
4+
:context: migrating-applications-with-mtc
65

76
toc::[]
87

9-
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or on the command line.
8+
You can migrate your applications by using the {mtc-full} ({mtc-short}) web console or from the command line.
109

1110
include::modules/migration-prerequisites.adoc[leveloffset=+1]
11+
include::modules/migration-updating-deprecated-internal-images.adoc[leveloffset=+2]
1212
include::modules/migration-creating-ca-bundle.adoc[leveloffset=+2]
1313
include::modules/migration-configuring-proxy-for-dvm.adoc[leveloffset=+2]
1414
include::modules/migration-writing-ansible-playbook-hook.adoc[leveloffset=+2]
1515

1616
[id="migrating-applications-additional-resources_{context}"]
1717
=== Additional resources
1818

19-
* xref:../../migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc#migration-about-migration-hooks_migrating-4-2-4[About migration hooks]
20-
* xref:../../migration/migrating_4_2_4/migrating-applications-with-cam-4-2-4.adoc#mighook_migrating-4-2-4[MigHook custom resource]
21-
* xref:../../migration/migrating_4_2_4/migrating-applications-with-cam-4-2-4.adoc#migplan_migrating-4-2-4[MigPlan custom resource]
19+
* xref:../migration-toolkit-for-containers/about-mtc.adoc#migration-about-migration-hooks_about-mtc[About migration hooks]
20+
* xref:../migration-toolkit-for-containers/migrating-applications-with-mtc.adoc#mighook_migrating-applications-with-mtc[MigHook custom resource]
21+
* xref:../migration-toolkit-for-containers/migrating-applications-with-mtc#migplan_migrating-applications-with-mtc[MigPlan custom resource]
2222

2323
[id="migrating-applications-mtc-web-console_{context}"]
2424
== Migrating your applications by using the {mtc-short} web console
@@ -34,7 +34,7 @@ include::modules/migration-running-migration-plan-cam.adoc[leveloffset=+2]
3434
[id="migrating-applications-mtc-cli_{context}"]
3535
== Migrating your applications from the command line
3636

37-
You can migrate your applications on the command line by using the {mtc-short} custom resources (CRs).
37+
You can migrate your applications on the command line by creating or editing the {mtc-short} custom resource (CR) manifests.
3838

3939
You can migrate applications from a local cluster to a remote cluster, from a remote cluster to a local cluster, and between remote clusters.
4040

@@ -60,11 +60,12 @@ include::modules/migration-migrating-applications-api.adoc[leveloffset=+2]
6060
include::modules/migration-mtc-cr-manifests.adoc[leveloffset=+2]
6161

6262
[id="migrating-applications-mtc-cli-additional-resources_{context}"]
63-
=== Additional resources
63+
== Additional resources
6464

65-
* xref:../../migration/migrating_4_2_4/migrating-application-workloads-4-2-4.adoc#migration-about-migration-hooks_migrating-4-2-4[About migration hooks]
66-
* xref:../../migration/migrating_4_2_4/migrating-applications-with-cam-4-2-4.adoc#mighook_migrating-4-2-4[MigHook custom resource]
67-
* xref:../../migration/migrating_4_2_4/migrating-applications-with-cam-4-2-4.adoc#migplan_migrating-4-2-4[MigPlan custom resource]
65+
* xref:../registry/securing-exposing-registry.adoc#registry-exposing-secure-registry-manually_securing-exposing-registry[Exposing a secure registry manually]
66+
* xref:../migration-toolkit-for-containers/about-mtc.adoc#file-system-copy-method_about-mtc[{mtc-short} file system copy method]
67+
* xref:../migration-toolkit-for-containers/about-mtc.adoc#snapshot-copy-method_about-mtc[{mtc-short} snapshot copy method]
68+
* xref:../migration-toolkit-for-containers/troubleshooting-mtc.adoc#migration-viewing-migration-crs_troubleshooting-mtc[Viewing migration custom resources]
6869

6970
[id="configuring-migration-plan_{context}"]
7071
== Configuring a migration plan
@@ -73,5 +74,3 @@ You can increase the number of objects to be migrated or exclude resources from
7374

7475
include::modules/migration-changing-migration-plan-limits.adoc[leveloffset=+2]
7576
include::modules/migration-excluding-resources.adoc[leveloffset=+2]
76-
77-
:!migrating-4-2-4:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules

0 commit comments

Comments
 (0)