You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migrating_from_ocp_3_to_4/premigration-checklists-3-4.adoc
+29-16Lines changed: 29 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,26 @@ toc::[]
7
7
8
8
Before you migrate your application workloads with the {mtc-full} ({mtc-short}), review the following checklists.
9
9
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
12
20
13
21
* [ ] The cluster meets the link:https://docs.openshift.com/container-platform/3.11/install/prerequisites.html#hardware[minimum hardware requirements].
14
22
* [ ] You have installed the correct legacy {mtc-full} Operator version:
15
23
** `operator-3.7.yml` on {product-title} version 3.7.
16
24
** `operator.yml` on {product-title} versions 3.9 to 4.5.
25
+
* [ ] The {mtc-short} version is the same on all clusters.
17
26
* [ ] 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:
Even if the pods are in a *Running* state, a high restart count might indicate underlying problems.
44
53
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].
52
55
* [ ] The internal registry uses a link:https://docs.openshift.com/container-platform/3.11/scaling_performance/optimizing_storage.html#registry[supported storage type].
53
56
* [ ] 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.
54
57
* [ ] You can read and write images to the registry.
@@ -64,8 +67,8 @@ $ oc get csr -A | grep pending -i
64
67
65
68
* [ ] The link:https://docs.openshift.com/container-platform/3.11/install_config/configuring_authentication.html#overview[identity provider] is working.
66
69
67
-
[id="target-cluster-checklist_{context}"]
68
-
== Target cluster checklist
70
+
[id="target-cluster_{context}"]
71
+
== Target cluster
69
72
70
73
* [ ] You have installed {mtc-full} Operator version 1.5.1.
71
74
* [ ] 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.
84
87
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`.
85
88
* [ ] The target cluster and the replication repository have sufficient storage space.
86
89
* [ ] 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.
87
91
* [ ] 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
+
====
88
101
89
-
[id="performance-checklist_{context}"]
90
-
== Performance checklist
102
+
[id="performance_{context}"]
103
+
== Performance
91
104
92
105
* [ ] The migration network has a minimum throughput of 10 Gbps.
93
106
* [ ] The clusters have sufficient resources for migration.
0 commit comments