Skip to content

Commit de72aeb

Browse files
committed
MTV user guide reorganization: Rearranging prerequisites
Signed-off-by: RichardHoch <[email protected]>
1 parent a1123da commit de72aeb

13 files changed

+150
-56
lines changed

documentation/doc-Migration_Toolkit_for_Virtualization/master.adoc

Lines changed: 60 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,53 @@ include::modules/about-cold-warm-migration.adoc[leveloffset=+2]
4646

4747
Review the following prerequisites to ensure that your environment is prepared for migration.
4848

49-
[id="software-requirements_{context}"]
50-
=== Software requirements
49+
These prerequisites apply to all migrations. Prerequisites that apply only to a specific provider are discussed in the section dedicated to that source provider.
5150

52-
You must install xref:compatibility-guidelines_{context}[compatible versions] of {ocp} and {virt}.
51+
include::modules/compatibility-guidelines.adoc[leveloffset=+2]
5352

5453
include::modules/storage-support.adoc[leveloffset=+2]
55-
include::modules/network-prerequisites.adoc[leveloffset=+2]
54+
5655
include::modules/source-vm-prerequisites.adoc[leveloffset=+2]
57-
include::modules/rhv-prerequisites.adoc[leveloffset=+2]
58-
include::modules/openstack-prerequisites.adoc[leveloffset=+2]
56+
57+
=== Provider-specific prerequisites
58+
:!mtv:
59+
:context: vmware
60+
:vmware:
61+
62+
include::modules/vmware-prerequisites.adoc[leveloffset=+3]
63+
include::modules/creating-vddk-image.adoc[leveloffset=+4]
64+
include::modules/increasing-nfc-memory-vmware-host.adoc[leveloffset=+4]
65+
include::modules/vddk-validator-containers.adoc[leveloffset=+4]
66+
include::modules/network-prerequisites.adoc[leveloffset=+4]
67+
68+
:!vmware:
69+
:context: rhv
70+
:rhv:
71+
72+
include::modules/rhv-prerequisites.adoc[leveloffset=+3]
73+
include::modules/file-system-overhead.adoc[leveloffset=+4]
74+
include::modules/network-prerequisites.adoc[leveloffset=+4]
75+
76+
:!rhv:
77+
:context: ostack
78+
:ostack:
79+
80+
include::modules/openstack-prerequisites.adoc[leveloffset=+3]
81+
82+
[NOTE]
83+
====
84+
When migrating from OpenStack or running a cold-migration from RHV to the OCP cluster that MTV is deployed on, the migration allocates persistent volumes without CDI. In these cases, you might need to adjust the file system overhead.
85+
86+
If the configured file system overhead, which has a default value of 10%, is too low, the disk transfer will fail due to lack of space. In such a case, you would want to increase the file system overhead.
87+
88+
In some cases, however, you might want to decrease the file system overhead to reduce storage consumption.
89+
90+
You can change the file system overhead by changing the value of the `controller_filesystem_overhead` in the `spec` portion of the `forklift-controller` CR, as described in xref:configuring-mtv-operator_mtv[Configuring the MTV Operator].
91+
====
5992

6093

6194
[id="additional-authentication-for-osp_{context}"]
62-
==== Additional authentication methods for migrations with {osp} source providers
95+
===== Additional authentication methods for migrations with {osp} source providers
6396

6497
{project-short} versions 2.6 and later support the following authentication methods for migrations with {osp} source providers in addition to the standard username and password credential set:
6598

@@ -68,25 +101,29 @@ include::modules/openstack-prerequisites.adoc[leveloffset=+2]
68101

69102
You can use these methods to migrate virtual machines with {osp} source providers using the CLI the same way you migrate other virtual machines, except for how you prepare the `Secret` manifest.
70103

71-
:!mtv:
72-
:context: ostack
73-
:ostack:
74-
75-
include::modules/ostack-token-auth.adoc[leveloffset=+4]
76-
include::modules/ostack-app-cred-auth.adoc[leveloffset=+4]
104+
include::modules/ostack-token-auth.adoc[leveloffset=+5]
105+
include::modules/ostack-app-cred-auth.adoc[leveloffset=+5]
106+
include::modules/network-prerequisites.adoc[leveloffset=+4]
77107

78108
:!ostack:
79-
:context: mtv
80-
:mtv:
109+
:context: ova
110+
:ova:
81111

82-
include::modules/vmware-prerequisites.adoc[leveloffset=+2]
83-
include::modules/creating-vddk-image.adoc[leveloffset=+3]
84-
include::modules/increasing-nfc-memory-vmware-host.adoc[leveloffset=+3]
112+
include::modules/ova-prerequisites.adoc[leveloffset=+3]
113+
include::modules/network-prerequisites.adoc[leveloffset=+4]
85114

86-
include::modules/vddk-validator-containers.adoc[leveloffset=+3]
115+
:!ova:
116+
:context: cnv
117+
:cnv:
87118

88-
include::modules/ova-prerequisites.adoc[leveloffset=+2]
89-
include::modules/compatibility-guidelines.adoc[leveloffset=+2]
119+
==== {virt} prerequisites
120+
121+
include::modules/snip_ocp_version_for_virt_source.adoc[]
122+
include::modules/network-prerequisites.adoc[leveloffset=+4]
123+
124+
:!cnv:
125+
:context: mtv
126+
:mtv:
90127

91128
[id="installing-the-operator_{context}"]
92129
== Installing and configuring the {operator-name}
@@ -126,9 +163,9 @@ You can migrate virtual machines (VMs) by using the {ocp} web console to:
126163
====
127164
You must ensure that all xref:prerequisites_{context}[prerequisites] are met.
128165
129-
VMware only: You must have the minimal set of xref:vmware-privileges_{context}[VMware privileges].
166+
// VMware only: You must have the minimal set of xref:vmware-privileges[VMware privileges].
130167
131-
VMware only: Creating a xref:creating-vddk-image_{context}[VMware Virtual Disk Development Kit (VDDK)] image will increase migration speed.
168+
// VMware only: Creating a xref:creating-vddk-image[VMware Virtual Disk Development Kit (VDDK)] image will increase migration speed.
132169
====
133170

134171
include::modules/mtv-ui.adoc[leveloffset=+2]

documentation/modules/adding-source-provider.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ EMS enforcement is disabled for migrations with VMware vSphere source providers
1515

1616
.Prerequisites
1717

18-
* It is strongly recommended to create a VMware Virtual Disk Development Kit (VDDK) image in a secure registry that is accessible to all clusters. A VDDK image accelerates migration and reduces the risk of a plan failing. If you are not using VDDK and a plan fails, then please retry with VDDK installed. For more information, see xref:../master.adoc#creating-vddk-image_mtv[Creating a VDDK image].
18+
[NOTE]
19+
====
20+
It is strongly recommended to create a VMware Virtual Disk Development Kit (VDDK) image in a secure registry that is accessible to all clusters. A VDDK image accelerates migration and reduces the risk of a plan failing. If you are not using VDDK and a plan fails, then retry with VDDK installed. For more information, see xref:../master.adoc#creating-vddk-image_vmware[Creating a VDDK image].
21+
====
22+
1923
endif::[]
2024
ifdef::rhv[]
2125
= Adding {a-rhv} source provider
@@ -88,7 +92,7 @@ ifdef::vmware[]
8892
* *Provider resource name*: Name of the source provider.
8993
* *Endpoint type*: Select the vSphere provider endpoint type. Options: *vCenter* or *ESXi*. You can migrate virtual machines from vCenter, an ESX/ESXi server that is not managed by vCenter, or from an ESX/ESXi server that is managed by vCenter but does not go through vCenter.
9094
* *URL*: URL of the SDK endpoint of the vCenter on which the source VM is mounted. Ensure that the URL includes the `sdk` path, usually `/sdk`. For example, `https://vCenter-host-example.com/sdk`. If a certificate for FQDN is specified, the value of this field needs to match the FQDN in the certificate.
91-
* *VDDK init image*: `VDDKInitImage` path. It is strongly recommended to create a VDDK init image to accelerate migrations. For more information, see xref:../master.adoc#creating-vddk-image_mtv[Creating a VDDK image].
95+
* *VDDK init image*: `VDDKInitImage` path. It is strongly recommended to create a VDDK init image to accelerate migrations. For more information, see xref:../master.adoc#creating-vddk-image_vmware[Creating a VDDK image].
9296
9397
+
9498
*Provider credentials*
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[id="additional-authentication-methods-osp_{context}"]
2+
= Additional authentication methods for migrations with {osp} source providers
3+
4+
{project-short} versions 2.6 and later support the following authentication methods for migrations with {osp} source providers in addition to the standard username and password credential set:
5+
6+
* Token authentication
7+
* Application credential authentication
8+
9+
You can use these methods to migrate virtual machines with {osp} source providers using the CLI the same way you migrate other virtual machines with one exception: You need to prepare the `Secret` manifest as described in xref:openstack-token-authentication_ostack[Using token authentication with an {osp} source provider] or xref:openstack-application-credential-authentication_ostack[Using application credential authentication with an {osp} source provider].

documentation/modules/compatibility-guidelines.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
:_content-type: REFERENCE
66
[id="compatibility-guidelines_{context}"]
7-
= Software compatibility guidelines
7+
= Software compatibility requirements
88

9-
You must install compatible software versions.
9+
You must install compatible software versions of {ocp}, {virt}, and any software related to your source provider. The table that follows lists the correct software versions.
1010

1111

1212
// check OCP version

documentation/modules/creating-vddk-image.adoc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@
88

99
It is strongly recommended that {project-first} should be used with the VMware Virtual Disk Development Kit (VDDK) SDK when transferring virtual disks from VMware vSphere.
1010

11-
[NOTE]
12-
====
13-
Creating a VDDK image, although optional, is highly recommended. Using {project-short} without VDDK is not recommended and could result in significantly lower migration speeds.
14-
====
15-
16-
To make use of this feature, you download the VMware Virtual Disk Development Kit (VDDK), build a VDDK image, and push the VDDK image to your image registry.
11+
To make use of this feature, you download the VMware Virtual Disk Development Kit (VDDK), build a VDDK image, and push the VDDK image to a secure registry that is accessible to all clusters.
1712

1813
The VDDK package contains symbolic links, therefore, the procedure of creating a VDDK image must be performed on a file system that preserves symbolic links (symlinks).
1914

@@ -40,12 +35,11 @@ $ mkdir /tmp/<dir_name> && cd /tmp/<dir_name>
4035

4136
. In a browser, navigate to the link:https://developer.vmware.com/web/sdk/8.0/vddk[VMware VDDK version 8 download page].
4237
. Select version 8.0.1 and click *Download*.
43-
38+
+
4439
[NOTE]
4540
====
4641
In order to migrate to {virt} 4.12, download VDDK version 7.0.3.2 from the link:https://developer.vmware.com/web/sdk/7.0/vddk[VMware VDDK version 7 download page].
4742
====
48-
4943
// On 17 January 2025, remove this note unless the OpenShift Container Platform's life cycle is extended.
5044

5145
. Save the VDDK archive file in the temporary directory.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * documentation/doc-Migration_Toolkit_for_Virtualization/master.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="file-system-overhead_{context}"]
7+
= File system overhead
8+
ifdef::rhv[]
9+
When you run a cold migration from {rhv-full} to the {ocp} cluster that {project-full} is deployed on, the migration allocates persistent volumes without Customized Data Importer (CDI). In these cases, for volumes on a persistent volume claim that use the `volumeMode` file system, you might need to adjust the file system overhead.
10+
endif::[]
11+
12+
13+
ifdef::ostack[]
14+
When you migrate from {osp} to the {ocp} cluster that {project-full} is deployed on, the migration allocates persistent volumes without Customized Data Importer (CDI).In these cases, for volumes on a persistent volume claim that use the `volumeMode` file system, you might need to adjust the file system overhead.
15+
endif::[]
16+
17+
The configured file system overhead has a default value of 10%. If that is too low, the disk transfer fails due to lack of space. In this case, increase the file system overhead.
18+
19+
You can change the file system overhead by changing the value of the `controller_filesystem_overhead` in the `spec` portion of the `forklift-controller` CR, as described in xref:configuring-mtv-operator_mtv[Configuring the MTV Operator].
20+

documentation/modules/network-prerequisites.adoc

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
:_content-type: REFERENCE
66
[id="network-prerequisites_{context}"]
7-
= Network prerequisites
87

9-
The following prerequisites apply to all migrations:
8+
= Network prerequisites
109

1110
* IP addresses, VLANs, and other network configuration settings must not be changed before or during migration. The MAC addresses of the virtual machines are preserved during migration.
1211
* The network connections between the source environment, the {virt} cluster, and the replication repository must be reliable and uninterrupted.
@@ -17,6 +16,8 @@ The following prerequisites apply to all migrations:
1716

1817
The firewalls must enable traffic over the following ports:
1918

19+
ifdef::vmware[]
20+
2021
[cols="1,1,1,1,2a",options="header"]
2122
.Network ports required for migrating from VMware vSphere
2223
|===
@@ -43,8 +44,12 @@ Disk transfer authentication
4344
|Disk transfer data copy
4445
|===
4546

47+
48+
endif::[]
49+
ifdef::rhv[]
50+
4651
[cols="1,1,1,1,2a",options="header"]
47-
.Network ports required for migrating from {rhv-full}
52+
.Network ports required for migrating from {rhv-full} {rhv-short}
4853
|===
4954
|Port |Protocol |Source |Destination |Purpose
5055

@@ -68,3 +73,25 @@ Disk transfer authentication
6873
|{rhv-short} hosts
6974
|Disk transfer data copy
7075
|===
76+
endif::[]
77+
ifdef::ostack[]
78+
79+
.Network ports required for migrating from OpenStack
80+
81+
TBD
82+
83+
endif::[]
84+
ifdef::ova[]
85+
86+
.Network ports required for migrating from OVA
87+
88+
TBD
89+
90+
endif::[]
91+
ifdef::cnv[]
92+
93+
.Network ports required for migrating from {virt}
94+
95+
TBD
96+
97+
endif::[]

documentation/modules/openstack-prerequisites.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
The following prerequisites apply to {osp} migrations:
1010

11-
* You must use a xref:compatibility-guidelines_{context}[compatible version] of {osp}.
11+
* You must use a xref:compatibility-guidelines_mtv[compatible version] of {osp}.
1212

documentation/modules/ostack-app-cred-auth.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ stringData:
9393
EOF
9494
----
9595
. Continue migrating your virtual machine according to the procedure in xref:new-migrating-virtual-machines-cli_ostack[Migrating virtual machines], starting with step 2, "Create a `Provider` manifest for the source provider."
96+

documentation/modules/rhv-prerequisites.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="rhv-prerequisites_{context}"]
77
= {rhv-full} prerequisites
88

9-
The following prerequisites apply to {rhv-full} migrations:
9+
The following prerequisites apply to {rhv-full} ({rhv-short}) migrations:
1010

1111
* To create a source provider, you must have at least the `UserRole` and `ReadOnlyAdmin` roles assigned to you. These are the minimum required permissions, however, any other administrator or superuser permissions will also work.
1212
@@ -20,7 +20,7 @@ You must keep the `UserRole` and `ReadOnlyAdmin` roles until the virtual machine
2020
*** {rhv-short} admin permissions. These permissions allow you to migrate any virtual machine in the system.
2121
*** `DiskCreator` and `UserVmManager` permissions on every virtual machine you want to migrate.
2222
23-
** You must use a xref:compatibility-guidelines_{context}[compatible version] of {rhv-full}.
23+
** You must use a xref:compatibility-guidelines_mtv[compatible version] of {rhv-full}.
2424
** You must have the {manager} CA certificate, unless it was replaced by a third-party certificate, in which case, specify the {manager} Apache CA certificate.
2525
+
2626
You can obtain the {manager} CA certificate by navigating to https://<engine_host>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA in a browser.

0 commit comments

Comments
 (0)