Skip to content

Commit 27b01b7

Browse files
committed
BZ1959400: Break out OCP 3 to 4 migration into top level doc
1 parent 45178b1 commit 27b01b7

File tree

68 files changed

+371
-367
lines changed

Some content is hidden

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

68 files changed

+371
-367
lines changed

_topic_map.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,27 +1938,31 @@ Topics:
19381938
- Name: Recovering from expired control plane certificates
19391939
File: scenario-3-expired-certs
19401940
---
1941+
Name: Migrating from OpenShift Container Platform 3 to 4
1942+
Dir: migrating_from_ocp_3_to_4
1943+
Distros: openshift-enterprise,openshift-origin
1944+
Topics:
1945+
- Name: About migrating from OpenShift Container Platform 3 to 4
1946+
File: about-migrating-from-3-to-4
1947+
- Name: Planning your migration
1948+
File: planning-migration-3-4
1949+
- Name: About the Migration Toolkit for Containers
1950+
File: about-mtc-3-4
1951+
- Name: Installing MTC
1952+
File: installing-3-4
1953+
- Name: Installing MTC in a restricted network environment
1954+
File: installing-restricted-3-4
1955+
- Name: Upgrading MTC
1956+
File: upgrading-3-4
1957+
- Name: Migrating your applications
1958+
File: migrating-applications-3-4
1959+
- Name: Troubleshooting
1960+
File: troubleshooting-3-4
1961+
---
19411962
Name: Migration Toolkit for Containers
19421963
Dir: migration
19431964
Distros: openshift-enterprise,openshift-origin
19441965
Topics:
1945-
- Name: Migrating from OpenShift Container Platform 3
1946-
Dir: migrating_3_4
1947-
Topics:
1948-
- Name: About migrating from OpenShift Container Platform 3 to 4
1949-
File: about-migration
1950-
- Name: Planning your migration from OpenShift Container Platform 3 to 4
1951-
File: planning-migration-3-to-4
1952-
- Name: About the Migration Toolkit for Containers
1953-
File: migrating-application-workloads-3-4
1954-
- Name: Installing and upgrading the Migration Toolkit for Containers
1955-
File: deploying-cam-3-4
1956-
- Name: Configuring object storage for a replication repository
1957-
File: configuring-replication-repository-3-4
1958-
- Name: Migrating your applications
1959-
File: migrating-applications-with-cam-3-4
1960-
- Name: Troubleshooting
1961-
File: troubleshooting-3-4
19621966
- Name: Migrating from OpenShift Container Platform 4.1
19631967
Dir: migrating_4_1_4
19641968
Distros: openshift-enterprise

installing/installing-preparing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you want to use {product-title} but do not want to manage the cluster yoursel
3434
[id="installing-preparing-migrate"]
3535
=== Have you used {product-title} 3 and want to use {product-title} 4?
3636

37-
If you used {product-title} 3 and want to try {product-title} 4, you need to understand how different {product-title} 4 is. {product-title} 4 weaves the Operators that package, deploy, and manage Kubernetes applications and the operating system that the platform runs on, {op-system-first}, together seamlessly. Instead of deploying machines and configuring their operating systems so that you can install {product-title} on them, the {op-system} operating system is an integral part of the {product-title} cluster. Deploying the operating system for the cluster machines as part of the installation process for {product-title}. See xref:../migration/migrating_3_4/planning-migration-3-to-4.adoc#migration-comparing-ocp-3-4[Comparing OpenShift Container Platform 3 and OpenShift Container Platform 4].
37+
If you used {product-title} 3 and want to try {product-title} 4, you need to understand how different {product-title} 4 is. {product-title} 4 weaves the Operators that package, deploy, and manage Kubernetes applications and the operating system that the platform runs on, {op-system-first}, together seamlessly. Instead of deploying machines and configuring their operating systems so that you can install {product-title} on them, the {op-system} operating system is an integral part of the {product-title} cluster. Deploying the operating system for the cluster machines as part of the installation process for {product-title}. See xref:../migrating_from_ocp_3_to_4/planning-migration-3-4.adoc#migration-comparing-ocp-3-4[Comparing OpenShift Container Platform 3 and OpenShift Container Platform 4].
3838

3939
Because you need to provision machines as part of the {product-title} cluster installation process, you cannot upgrade an {product-title} 3 cluster to {product-title} 4. Instead, you must create a new {product-title} 4 cluster and migrate your {product-title} 3 workloads to them. For more information about migrating, see link:https://redhat-cop.github.io/openshift-migration-best-practices/01-planning.html[OpenShift Migration Best Practices]. Because you must migrate to {product-title} 4, you can use any type of production cluster installation process to create your new cluster.
4040

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[id="about-migration"]
2-
= About migrating {product-title} 3 to 4
1+
[id="about-migrating-from-3-to-4"]
2+
= About migrating from {product-title} 3 to 4
33
include::modules/common-attributes.adoc[]
4-
:context: about-migration
4+
:context: about-migrating-from-3-to-4
55

66
toc::[]
77

88
{product-title} 4 includes new technologies and functionality that results in a cluster that is self-managing, flexible, and automated. The way that {product-title} 4 clusters are deployed and managed drastically differs from {product-title} 3.
99

1010
To successfully transition from {product-title} 3 to {product-title} 4, it is important that you review the following information:
1111

12-
xref:../../migration/migrating_3_4/planning-migration-3-to-4.adoc#planning-migration-3-to-4[Planning your transition]::
12+
xref:../migrating_from_ocp_3_to_4/planning-migration-3-4.adoc#planning-migration-3-4[Planning your transition]::
1313
Learn about the differences between {product-title} versions 3 and 4. Prior to transitioning, be sure that you have reviewed and prepared for storage, networking, logging, security, and monitoring considerations.
1414

15-
xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#migrating-application-workloads-3-4[Performing your migration]::
16-
Learn about and use {mtc-full} ({mtc-short}) to migrate your application workloads.
15+
xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#about-mtc-3-4[About the {mtc-full}]::
16+
Learn about the {mtc-full} ({mtc-short}) to migrate your application workloads.

migration/migrating_3_4/migrating-application-workloads-3-4.adoc renamed to migrating_from_ocp_3_to_4/about-mtc-3-4.adoc

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,28 @@
1-
[id="migrating-application-workloads-3-4"]
1+
[id="about-mtc-3-4"]
22
= About the {mtc-full}
33
include::modules/common-attributes.adoc[]
4-
:context: migrating-3-4
5-
:migrating-3-4:
4+
:context: about-mtc-3-4
65

76
toc::[]
87

8+
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.
9+
910
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.
1011

11-
[NOTE]
12+
[IMPORTANT]
1213
====
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].
14+
Before you begin your migration, be sure to review the information on xref:../migrating_from_ocp_3_to_4/planning-migration-3-4.adoc#planning-migration-3-4[planning your migration].
1615
====
1716

18-
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.
17+
The {mtc-short} console is installed on the target cluster by default. You can configure the {mtc-full} Operator to install the console on an link:https://access.redhat.com/articles/5064151[{product-title} 3 source cluster or on a remote cluster].
1918

2019
{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.
2120

2221
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.
2322

24-
[NOTE]
25-
====
26-
The service catalog is deprecated in {product-title} 4. You can migrate workload resources provisioned with the service catalog from {product-title} 3 to 4 but you cannot perform service catalog actions such as `provision`, `deprovision`, or `update` on these workloads after migration.
27-
28-
The {mtc-short} web console displays a message if the service catalog resources cannot be migrated.
29-
====
30-
31-
[IMPORTANT]
32-
====
33-
Before you begin your migration, be sure to review the information on xref:../../migration/migrating_3_4/planning-migration-3-to-4.adoc#planning-migration-3-to-4[planning your migration].
34-
====
23+
The service catalog is deprecated in {product-title} 4. You can migrate workload resources provisioned with the service catalog from {product-title} 3 to 4 but you cannot perform service catalog actions such as `provision`, `deprovision`, or `update` on these workloads after migration. The {mtc-short} console displays a message if the service catalog resources cannot be migrated.
3524

3625
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
3726
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
3827
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
3928
include::modules/migration-about-migration-hooks.adoc[leveloffset=+1]
40-
:!migrating-3-4:
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[id="configuring-replication-repository-3-4"]
2+
= Configuring object storage for a replication repository
3+
include::modules/common-attributes.adoc[]
4+
:context: configuring-replication-repository-3-4
5+
6+
toc::[]
7+
8+
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.
9+
10+
{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.
11+
12+
The following storage providers are supported:
13+
14+
* xref:../migrating_from_ocp_3_to_4/configuring-replication-repository-3-4.adoc#migration-configuring-mcg_configuring-replication-repository-3-4[Multi-Cloud Object Gateway (MCG)]
15+
* xref:../migrating_from_ocp_3_to_4/configuring-replication-repository-3-4.adoc#migration-configuring-aws-s3_configuring-replication-repository-3-4[Amazon Web Services (AWS) S3]
16+
* xref:../migrating_from_ocp_3_to_4/configuring-replication-repository-3-4.adoc#migration-configuring-gcp_configuring-replication-repository-3-4[Google Cloud Provider (GCP)]
17+
* xref:../migrating_from_ocp_3_to_4/configuring-replication-repository-3-4.adoc#migration-configuring-azure_configuring-replication-repository-3-4[Microsoft Azure]
18+
* Generic S3 object storage, for example, Minio or Ceph S3
19+
20+
In a restricted environment, you can create an internally hosted replication repository.
21+
22+
.Prerequisites
23+
24+
* All clusters must have uninterrupted network access to the replication repository.
25+
* If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
26+
27+
include::modules/migration-configuring-mcg.adoc[leveloffset=+1]
28+
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+1]
29+
include::modules/migration-configuring-gcp.adoc[leveloffset=+1]
30+
include::modules/migration-configuring-azure.adoc[leveloffset=+1]

migrating_from_ocp_3_to_4/images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../images
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[id="installing-3-4"]
2+
= Installing the Migration Toolkit for Containers
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-3-4
5+
:installing-3-4:
6+
7+
toc::[]
8+
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and on {product-title} {product-version} clusters.
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[source cluster or on a remote cluster].
19+
20+
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
21+
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+1]
22+
23+
[id="configuring-replication-repository_{context}"]
24+
== Configuring a replication repository
25+
26+
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.
27+
28+
{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.
29+
30+
All clusters must have uninterrupted network access to the replication repository.
31+
32+
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
33+
34+
The following storage providers are supported:
35+
36+
* Multi-Cloud Object Gateway (MCG)
37+
* Amazon Web Services (AWS) S3
38+
* Google Cloud Provider (GCP)
39+
* Microsoft Azure Blob
40+
* Generic S3 object storage, for example, Minio or Ceph S3
41+
42+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
43+
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+2]
44+
include::modules/migration-configuring-gcp.adoc[leveloffset=+2]
45+
include::modules/migration-configuring-azure.adoc[leveloffset=+2]
46+
47+
:installing-3-4!:
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[id="installing-restricted-3-4"]
2+
= Installing the Migration Toolkit for Containers in a restricted network environment
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-restricted-3-4
5+
:installing-restricted-3-4:
6+
7+
toc::[]
8+
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and on {product-title} {product-version} 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[source cluster or on a remote cluster].
19+
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+
22+
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]
23+
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+1]
24+
25+
[id="configuring-replication-repository_{context}"]
26+
== Configuring a replication repository
27+
28+
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.
29+
30+
{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.
31+
32+
All clusters must have uninterrupted network access to the replication repository.
33+
34+
If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
35+
36+
include::modules/migration-configuring-mcg.adoc[leveloffset=+2]
37+
38+
:installing-restricted-3-4!:

migration/migrating_3_4/migrating-applications-with-cam-3-4.adoc renamed to migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
[id='migrating-applications-with-cam_{context}']
1+
[id="migrating-applications-3-4_{context}"]
22
= Migrating your applications
33
include::modules/common-attributes.adoc[]
4-
:context: migrating-3-4
5-
:migrating-3-4:
4+
:context: migrating-applications-3-4
65

76
toc::[]
87

@@ -17,9 +16,9 @@ include::modules/migration-writing-ansible-playbook-hook.adoc[leveloffset=+2]
1716
[id="migrating-applications-additional-resources_{context}"]
1817
=== Additional resources
1918

20-
* xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#migration-about-migration-hooks_migrating-3-4[About migration hooks]
21-
* xref:../../migration/migrating_3_4/migrating-applications-with-cam-3-4.adoc#mighook_migrating-3-4[MigHook custom resource]
22-
* xref:../../migration/migrating_3_4/migrating-applications-with-cam-3-4.adoc#migplan_migrating-3-4[MigPlan custom resource]
19+
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#migration-about-migration-hooks_about-mtc-3-4[About migration hooks]
20+
* xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#mighook_migrating-applications-3-4[MigHook custom resource]
21+
* xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migplan_migrating-applications-3-4[MigPlan custom resource]
2322

2423
[id="migrating-applications-mtc-web-console_{context}"]
2524
== Migrating your applications by using the {mtc-short} web console
@@ -35,7 +34,7 @@ include::modules/migration-running-migration-plan-cam.adoc[leveloffset=+2]
3534
[id="migrating-applications-mtc-cli_{context}"]
3635
== Migrating your applications from the command line
3736

38-
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.
3938

4039
You can migrate applications from a local cluster to a remote cluster, from a remote cluster to a local cluster, and between remote clusters.
4140

@@ -63,16 +62,15 @@ include::modules/migration-mtc-cr-manifests.adoc[leveloffset=+2]
6362
[id="migrating-applications-mtc-cli-additional-resources_{context}"]
6463
== Additional resources
6564

66-
* xref:../../registry/securing-exposing-registry.adoc#registry-exposing-secure-registry-manually_securing-exposing-registry[Exposing a secure registry manually on an {product-title} 4 cluster]
67-
* xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#file-system-copy-method_migrating-3-4[{mtc-short} file system copy method]
68-
* xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#snapshot-copy-method_migrating-3-4[{mtc-short} snapshot copy method]
69-
* xref:../../migration/migrating_3_4/troubleshooting-3-4.adoc#migration-viewing-migration-crs_migrating-3-4[Viewing migration custom resources]
65+
* xref:../registry/securing-exposing-registry.adoc#registry-exposing-secure-registry-manually_securing-exposing-registry[Exposing a secure registry manually on an {product-title} 4 cluster]
66+
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#file-system-copy-method_about-mtc-3-4[{mtc-short} file system copy method]
67+
* xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#snapshot-copy-method_about-mtc-3-4[{mtc-short} snapshot copy method]
68+
* xref:../migrating_from_ocp_3_to_4/troubleshooting-3-4.adoc#migration-viewing-migration-crs_troubleshooting-3-4[Viewing migration custom resources]
7069

71-
[id='configuring-migration-plan_{context}']
70+
[id="configuring-migration-plan_{context}"]
7271
== Configuring a migration plan
7372

7473
You can increase the number of objects to be migrated or exclude resources from the migration.
7574

7675
include::modules/migration-changing-migration-plan-limits.adoc[leveloffset=+2]
7776
include::modules/migration-excluding-resources.adoc[leveloffset=+2]
78-
:!migrating-3-4:

migrating_from_ocp_3_to_4/modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules

0 commit comments

Comments
 (0)