Skip to content

Commit d175787

Browse files
authored
Merge pull request #37174 from apinnick/bz2011514-disconnected-installation
BZ2011514: Disconnected installation improvement
2 parents 0049143 + 99422b3 commit d175787

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

migrating_from_ocp_3_to_4/installing-restricted-3-4.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and 4 in a restricted network environment.
10-
11-
After you install the {mtc-full} Operator on {product-title} {product-version} by using the Operator Lifecycle Manager, you manually install the legacy {mtc-full} Operator on {product-title} 3.
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 3 and 4 in a restricted network environment by performing the following procedures:
1210

11+
* Create a xref:../operators/admin/olm-restricted-networks.adoc#olm-mirror-catalog_olm-restricted-networks[mirrored Operator catalog].
12+
+
13+
This process creates a `mapping.txt` file, which contains the mapping between the `registry.redhat.io` image and your mirror registry image. The `mapping.txt` file is required for installing the Operator on the source cluster.
14+
* Install the {mtc-full} Operator on the {product-title} {product-version} target cluster by using Operator Lifecycle Manager.
15+
+
1316
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[source cluster or on a remote cluster].
1417

15-
After you have installed {mtc-short}, you must configure an object storage to use as a replication repository.
18+
* Install the _legacy_ {mtc-full} Operator on the {product-title} 3 source cluster from the command line interface.
19+
* Configure object storage to use as a replication repository.
1620

1721
include::modules/migration-compatibility-guidelines.adoc[leveloffset=+1]
1822
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]

migration_toolkit_for_containers/installing-mtc-restricted.adoc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can install the {mtc-full} ({mtc-short}) on {product-title} 4 in a restricted network environment.
10-
11-
After you install the {mtc-full} Operator on {product-title} {product-version} by using the Operator Lifecycle Manager, you manually install the legacy {mtc-full} Operator on the {product-title} 4 source cluster.
9+
You can install the {mtc-full} ({mtc-short}) on {product-title} 4 in a restricted network environment by performing the following procedures:
1210

11+
. Create a xref:../operators/admin/olm-restricted-networks.adoc#olm-mirror-catalog_olm-restricted-networks[mirrored Operator catalog].
12+
+
13+
This process creates a `mapping.txt` file, which contains the mapping between the `registry.redhat.io` image and your mirror registry image. The `mapping.txt` file is required for installing the _legacy_ {mtc-full} Operator on an {product-title} 4.2 to 4.5 source cluster.
14+
. Install the {mtc-full} Operator on the {product-title} {product-version} target cluster by using Operator Lifecycle Manager.
15+
+
1316
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].
1417

15-
After you have installed {mtc-short}, you must configure an object storage to use as a replication repository.
18+
. Install the {mtc-full} Operator on the source cluster:
19+
20+
* {product-title} 4.6 or later: Install the {mtc-full} Operator by using Operator Lifecycle Manager.
21+
* {product-title} 4.2 to 4.5: Install the legacy {mtc-full} Operator from the command line interface.
22+
23+
. Configure object storage to use as a replication repository.
1624

1725
include::modules/migration-compatibility-guidelines.adoc[leveloffset=+1]
1826
include::modules/migration-installing-mtc-on-ocp-4.adoc[leveloffset=+1]

modules/migration-installing-legacy-operator.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ ifdef::installing-3-4,installing-restricted-3-4[]
2727
endif::[]
2828
ifdef::installing-restricted-3-4,installing-mtc-restricted[]
2929
* You must have a Linux workstation with network access in order to download files from `registry.redhat.io`.
30-
* You must first install the {mtc-full} Operator on the target cluster from a local registry.
30+
* You must create a mirror image of the Operator catalog.
31+
* You must install the {mtc-full} Operator from the mirrored Operator catalog on {product-title} {product-version}.
3132
endif::[]
3233
3334
.Procedure
@@ -77,14 +78,14 @@ $ sudo podman cp $(sudo podman create \
7778
----
7879

7980
ifdef::installing-restricted-3-4,installing-mtc-restricted[]
80-
. Obtain the Operator image mapping by running the following command on the {product-title} 4 cluster:
81+
. Obtain the Operator image mapping by running the following command:
8182
+
8283
[source,terminal,subs="attributes+"]
8384
----
8485
$ grep openshift-migration-legacy-rhel8-operator ./mapping.txt | grep rhmtc
8586
----
8687
+
87-
The output shows the mapping between the `registry.redhat.io` image and your mirror registry image.
88+
The `mapping.txt` file was created when you mirrored the Operator catalog. The output shows the mapping between the `registry.redhat.io` image and your mirror registry image.
8889
+
8990
.Example output
9091
[source,terminal]

0 commit comments

Comments
 (0)