Skip to content

Commit f2d2e24

Browse files
Merge pull request #32593 from openshift/revert-32411-bz1959400-break-out-ocp-3-4
Revert "BZ1959400: Break out OCP 3 to 4 migration into top level doc"
2 parents 2d06da0 + b9d5d26 commit f2d2e24

File tree

59 files changed

+191
-202
lines changed

Some content is hidden

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

59 files changed

+191
-202
lines changed

_topic_map.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,29 +1938,27 @@ 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 and upgrading the Migration Toolkit for Containers
1952-
File: installing-and-upgrading-3-4
1953-
- Name: Configuring object storage for a replication repository
1954-
File: configuring-replication-repository-3-4
1955-
- Name: Migrating your applications
1956-
File: migrating-applications-3-4
1957-
- Name: Troubleshooting
1958-
File: troubleshooting-3-4
1959-
---
19601941
Name: Migration Toolkit for Containers
19611942
Dir: migration
19621943
Distros: openshift-enterprise,openshift-origin
19631944
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
19641962
- Name: Migrating from OpenShift Container Platform 4.1
19651963
Dir: migrating_4_1_4
19661964
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:../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].
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].
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

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/images

Lines changed: 0 additions & 1 deletion
This file was deleted.

migrating_from_ocp_3_to_4/modules

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[id="about-migrating-from-3-to-4"]
2-
= About migrating from {product-title} 3 to 4
1+
[id="about-migration"]
2+
= About migrating {product-title} 3 to 4
33
include::modules/common-attributes.adoc[]
4-
:context: about-migrating-from-3-to-4
4+
:context: about-migration
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:../migrating_from_ocp_3_to_4/planning-migration-3-4.adoc#planning-migration-3-4[Planning your transition]::
12+
xref:../../migration/migrating_3_4/planning-migration-3-to-4.adoc#planning-migration-3-to-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:../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.
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.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[id='configuring-replication-repository']
2+
= Configuring object storage for a replication repository
3+
include::modules/common-attributes.adoc[]
4+
:context: migrating-3-4
5+
:migrating-3-4:
6+
7+
toc::[]
8+
9+
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.
10+
11+
{mtc-short} supports the xref:../../migration/migrating_3_4/migrating-application-workloads-3-4.adoc#migration-understanding-data-copy-methods_migrating-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.
12+
13+
The following storage providers are supported:
14+
15+
* xref:../../migration/migrating_3_4/configuring-replication-repository-3-4.adoc#migration-configuring-mcg_migrating-3-4[Multi-Cloud Object Gateway (MCG)]
16+
* xref:../../migration/migrating_3_4/configuring-replication-repository-3-4.adoc#migration-configuring-aws-s3_migrating-3-4[Amazon Web Services (AWS) S3]
17+
* xref:../../migration/migrating_3_4/configuring-replication-repository-3-4.adoc#migration-configuring-gcp_migrating-3-4[Google Cloud Provider (GCP)]
18+
* xref:../../migration/migrating_3_4/configuring-replication-repository-3-4.adoc#migration-configuring-azure_migrating-3-4[Microsoft Azure]
19+
* Generic S3 object storage, for example, Minio or Ceph S3
20+
21+
In a restricted environment, you can create an internally hosted replication repository.
22+
23+
.Prerequisites
24+
25+
* All clusters must have uninterrupted network access to the replication repository.
26+
* If you use a proxy server with an internally hosted replication repository, you must ensure that the proxy allows access to the replication repository.
27+
28+
include::modules/migration-configuring-mcg.adoc[leveloffset=+1]
29+
include::modules/migration-configuring-aws-s3.adoc[leveloffset=+1]
30+
include::modules/migration-configuring-gcp.adoc[leveloffset=+1]
31+
include::modules/migration-configuring-azure.adoc[leveloffset=+1]
32+
33+
:!migrating-3-4:

migrating_from_ocp_3_to_4/installing-and-upgrading-3-4.adoc renamed to migration/migrating_3_4/deploying-cam-3-4.adoc

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
[id='installing-and-upgrading-3-4']
1+
[id='deploying-cam-3-4']
22
= Installing and upgrading the Migration Toolkit for Containers
33
include::modules/common-attributes.adoc[]
4-
:context: installing-3-4
5-
:installing-3-4:
4+
:context: migrating-3-4
5+
:migrating-3-4:
66

77
toc::[]
88

@@ -22,11 +22,10 @@ You must install the same {mtc-short} version on all clusters.
2222

2323
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+2]
2424
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+2]
25+
:!migrating-3-4:
2526

26-
:!installing-3-4:
27-
28-
:context: installing-disconnected-3-4
29-
:installing-disconnected-3-4:
27+
:context: disconnected-3-4
28+
:disconnected-3-4:
3029
[id='installing-mtc_{context}']
3130
== Installing the {mtc-full} in a restricted environment
3231

@@ -37,10 +36,7 @@ You can install the {mtc-full} ({mtc-short}) in a restricted environment.
3736
You must install the same {mtc-short} version on all clusters.
3837
====
3938

40-
[id="creating-local-operator-catalog_{context}"]
41-
=== Creating a local Operator catalog
42-
43-
You can create a mirror image of the Operator catalog, push the image to a local registry, and then install the {mtc-full} Operator by using the {product-title} web console.
39+
You can build a custom Operator catalog image for {product-title} 4, push it to a local mirror image registry, and configure Operator Lifecycle Manager (OLM) to install the {mtc-full} Operator from the local registry.
4440

4541
include::modules/olm-restricted-networks-configuring-operatorhub.adoc[leveloffset=+3]
4642
include::modules/olm-pruning-index-image.adoc[leveloffset=+3]
@@ -49,10 +45,10 @@ include::modules/olm-creating-catalog-from-index.adoc[leveloffset=+3]
4945

5046
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+2]
5147
include::modules/migration-installing-mtc-on-ocp-3.adoc[leveloffset=+2]
52-
:!installing-disconnected-3-4:
48+
:!disconnected-3-4:
5349

54-
:context: upgrading-3-4
55-
:upgrading-3-4:
50+
:context: migrating-3-4
51+
:migrating-3-4:
5652
[id="upgrading-the-mtc_{context}"]
5753
== Upgrading the {mtc-full}
5854

@@ -68,4 +64,4 @@ If you are upgrading {mtc-short} version 1.3, you must perform an additional pro
6864
include::modules/migration-upgrading-mtc-on-ocp-4.adoc[leveloffset=+2]
6965
include::modules/migration-upgrading-mtc-on-ocp-3.adoc[leveloffset=+2]
7066
include::modules/migration-upgrading-from-mtc-1-3.adoc[leveloffset=+2]
71-
:!upgrading-3-4:
67+
:!migrating-3-4:

migration/migrating_3_4/images

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

67
toc::[]
78

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-
109
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.
1110

12-
[IMPORTANT]
11+
[NOTE]
1312
====
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].
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].
1516
====
1617

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].
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.
1819

1920
{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.
2021

2122
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.
2223

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.
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+
====
2435

2536
include::modules/migration-mtc-workflow.adoc[leveloffset=+1]
2637
include::modules/migration-mtc-custom-resources.adoc[leveloffset=+1]
2738
include::modules/migration-understanding-data-copy-methods.adoc[leveloffset=+1]
2839
include::modules/migration-about-migration-hooks.adoc[leveloffset=+1]
40+
:!migrating-3-4:

0 commit comments

Comments
 (0)