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: source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst
+40-18Lines changed: 40 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,11 @@ Requirements on the KVM hosts
19
19
-----------------------------
20
20
21
21
The CloudStack agent does not install the virt-v2v binary as a dependency. The virt-v2v binary must be installed manually on KVM hosts, or the migration will fail.
22
-
Newer versions of virt-v2v - v2.7.x on EL9, v2.4.x on Ubuntu 24.04 - are strongly advised. Older version of virt-v2v - e.g. v1.4.x should be avoided.
23
22
24
-
The virt-v2v output (progress) is logged in the CloudStack agent logs, to help administrators track the progress on the Instance conversion processes. The verbose mode for virt-v2v can be enabled by adding the following line to /etc/cloudstack/agent/agent.properties and restart cloudstack-agent:
23
+
.. note:: Newer versions of virt-v2v - v2.7.x on EL9 variants, v2.4.x on Ubuntu 24.04 - are strongly advised. Older versions of virt-v2v - e.g. v1.4.x should be avoided.
24
+
25
25
26
-
EL variants:
26
+
The virt-v2v output (progress) is logged in the CloudStack agent logs, to help administrators track the progress on the Instance conversion processes. The verbose mode for virt-v2v can be enabled by adding the following line to /etc/cloudstack/agent/agent.properties and restart cloudstack-agent:
27
27
28
28
::
29
29
@@ -56,7 +56,23 @@ Ubuntu 22.04 LTS, 24.04 LTS
56
56
======================== ========================
57
57
58
58
59
-
Importing Windows VMs from VMware requires installing the virtio drivers for Windows on the hypervisor hosts for the virt-v2v conversion.
59
+
Recommended distributions, due to the most recent virt-v2v version (EL9 prefered)
Importing Windows VMs from VMware requires installing the virtio drivers inside that Windows VMs and that is executed by the host running virt-v2v conversion.
60
76
The Fedora-provided ``virtio-win`` RPM installs the drivers under ``/usr/share/virtio-win``, which is one of virt-v2v's
61
77
default search paths.
62
78
@@ -70,7 +86,7 @@ On EL-based hosts, including RHEL, Oracle Linux, Rocky Linux and Alma Linux, ins
70
86
ls -l /usr/share/virtio-win
71
87
72
88
73
-
For Debian-based distributions (alien is needed for conversion of .rpm to .deb pavckage:
89
+
For Debian-based distributions (alien is needed for conversion of .rpm to .deb package):
74
90
75
91
::
76
92
@@ -81,13 +97,21 @@ For Debian-based distributions (alien is needed for conversion of .rpm to .deb p
81
97
dpkg -i virtio-win*.deb
82
98
ls -l /usr/share/virtio-win
83
99
84
-
On some distros, the Windows helper binary "rhsrvany.exe" which is used for Windows firstboot scripts and some other actions might be missing.
85
-
To avoid virt-v2v error like ``virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools`` - check if the file exists (it's actually a symbolic link):
86
-
``ls -la /usr/share/virt-tools/rhsrvany.exe``
87
-
If the file does not exist - proceed with the commands below (EL8 and EL9 hosts usually already have this in place, so are not affected)
100
+
On some distros, the Windows helper binary "rhsrvany.exe", which is used for Windows-based VM firstboot scripts and some other actions, might be missing.
101
+
102
+
To avoid virt-v2v error like ``virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools`` - check if the file exists (it's actually a symbolic link):
103
+
104
+
::
105
+
106
+
ls -la /usr/share/virt-tools/rhsrvany.exe
107
+
108
+
109
+
If the file does not exist, proceed with the commands below (EL8 and EL9 variants usually already have this in place, so are not affected)
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
101
-
102
-
Steps to install ovftool
124
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts are to export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
103
125
104
126
Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
105
127
@@ -111,7 +133,7 @@ Download the ovftool from https://developer.broadcom.com/tools/open-virtualizati
@@ -372,7 +394,7 @@ Since version 4.22.1 it is possible to select the Guest OS for the VM to be impo
372
394
373
395
The conversion is performed on a random (or explicitly chosen) KVM host (if the ovftools are installed), otherwise, the management server will export/copy the VM files (optionally, you can force this action to be done by the management server even the KVM hosts have the ovftools installed in it). Irrelevant if the KVM host or the management server performs the copy of the VM files (OVF), you can further either let CloudStack choose which KVM host should do the conversion of the VM files using virt-v2v and which host will import the files to the destination Primary Storage Pool, or you can explicitly choose these KVM hosts for each of the 2 mentioned operations.
374
396
375
-
When importing an instance from VMware to KVM, CloudStack performs the following actions:
397
+
When importing an instance from VMware to KVM (OVF method), CloudStack performs the following actions:
376
398
377
399
- Export the VM files (OVF) of the instance to a temporary storage location
378
400
(which can be selected by the administrator). The export is performed by a
0 commit comments