Skip to content

Commit 2599ecc

Browse files
BZ1962494 fix: Migration preparation from BPG added to MTC
1 parent 09afe91 commit 2599ecc

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

migrating_from_ocp_3_to_4/premigration-checklists-3-4.adoc

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,26 @@ toc::[]
77

88
Before you migrate your application workloads with the {mtc-full} ({mtc-short}), review the following checklists.
99

10-
[id="source-cluster-checklist_{context}"]
11-
== Source cluster checklist
10+
[id="resources_{context}"]
11+
== Resources
12+
13+
* [ ] If your application uses an internal service network or an external route for communicating with services, the relevant route exists.
14+
* [ ] If your application uses cluster-level resources, you have re-created them on the target cluster.
15+
* [ ] You have xref:../migrating_from_ocp_3_to_4/advanced-migration-options-3-4.adoc#migration-excluding-resources_advanced-migration-options-3-4[excluded] persistent volumes (PVs), image streams, and other resources that you do not want to migrate.
16+
* [ ] PV data has been backed up in case an application displays unexpected behavior after migration and corrupts the data.
17+
18+
[id="source-cluster_{context}"]
19+
== Source cluster
1220

1321
* [ ] The cluster meets the link:https://docs.openshift.com/container-platform/3.11/install/prerequisites.html#hardware[minimum hardware requirements].
1422
* [ ] You have installed the correct legacy {mtc-full} Operator version:
1523
** `operator-3.7.yml` on {product-title} version 3.7.
1624
** `operator.yml` on {product-title} versions 3.9 to 4.5.
25+
* [ ] The {mtc-short} version is the same on all clusters.
1726
* [ ] All nodes have an active {product-title} subscription.
18-
* [ ] 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.
19-
* [ ] All the link:https://docs.openshift.com/container-platform/3.11/day_two_guide/environment_health_checks.html[environment health checks] have been performed.
20-
* [ ] You have checked for persistent volumes (PVs) with abnormal configurations stuck in a *Terminating* state by running the following command:
27+
* [ ] You have performed 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].
28+
* [ ] You have performed all the link:https://docs.openshift.com/container-platform/3.11/day_two_guide/environment_health_checks.html[environment health checks].
29+
* [ ] You have checked for PVs with abnormal configurations stuck in a *Terminating* state by running the following command:
2130
+
2231
[source,terminal]
2332
----
@@ -42,13 +51,7 @@ $ oc get pods --all-namespaces --field-selector=status.phase=Running \
4251
+
4352
Even if the pods are in a *Running* state, a high restart count might indicate underlying problems.
4453

45-
* [ ] You have deleted old images by running the following command:
46-
+
47-
[source,terminal]
48-
----
49-
$ oc adm prune images
50-
----
51-
54+
* [ ] You have removed old builds, deployments, and images from each namespace to be migrated by xref:../applications/pruning-objects.adoc#pruning-objects[pruning].
5255
* [ ] The internal registry uses a link:https://docs.openshift.com/container-platform/3.11/scaling_performance/optimizing_storage.html#registry[supported storage type].
5356
* [ ] Direct image migration only: The internal registry is link:https://docs.openshift.com/container-platform/3.11/install_config/registry/securing_and_exposing_registry.html#exposing-the-registry[exposed] to external traffic.
5457
* [ ] You can read and write images to the registry.
@@ -64,8 +67,8 @@ $ oc get csr -A | grep pending -i
6467

6568
* [ ] The link:https://docs.openshift.com/container-platform/3.11/install_config/configuring_authentication.html#overview[identity provider] is working.
6669

67-
[id="target-cluster-checklist_{context}"]
68-
== Target cluster checklist
70+
[id="target-cluster_{context}"]
71+
== Target cluster
6972

7073
* [ ] You have installed {mtc-full} Operator version 1.5.1.
7174
* [ ] All xref:../migrating_from_ocp_3_to_4/migrating-applications-3-4.adoc#migration-prerequisites_migrating-applications-3-4[{mtc-short} prerequisites] are met.
@@ -84,10 +87,20 @@ NFS does not require a defined storage class.
8487
If an application uses an internal image in the `openshift` namespace that is not supported by {product-title} {product-version}, you can manually update the xref:../migrating_from_ocp_3_to_4/troubleshooting-3-4.adoc#migration-updating-deprecated-internal-images_troubleshooting-3-4[{product-title} 3 image stream tag] with `podman`.
8588
* [ ] The target cluster and the replication repository have sufficient storage space.
8689
* [ ] The xref:../authentication/understanding-identity-provider.adoc#supported-identity-providers[identity provider] is working.
90+
* [ ] DNS records for your application exist on the target cluster.
8791
* [ ] Set the value of the `annotation.openshift.io/host.generated` parameter to `true` for each {product-title} route to update its host name for the target cluster. Otherwise, the migrated routes retain the source cluster host name.
92+
* [ ] Certificates that your application uses exist on the target cluster.
93+
* [ ] You have configured appropriate firewall rules on the target cluster.
94+
* [ ] You have correctly configured load balancing on the target cluster.
95+
* [ ] If you migrate objects to an existing namespace on the target cluster that has the same name as the namespace being migrated from the source, the target namespace contains no objects of the same name and type as the objects being migrated.
96+
+
97+
[NOTE]
98+
====
99+
Do not create namespaces for your application on the target cluster before migration because this might cause quotas to change.
100+
====
88101

89-
[id="performance-checklist_{context}"]
90-
== Performance checklist
102+
[id="performance_{context}"]
103+
== Performance
91104

92105
* [ ] The migration network has a minimum throughput of 10 Gbps.
93106
* [ ] The clusters have sufficient resources for migration.

0 commit comments

Comments
 (0)