Skip to content

Commit ee279c7

Browse files
more details
1 parent 0e53aea commit ee279c7

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,31 @@ tools, install VDDK manually, configure libguestfs, and verify host connectivity
154154

155155
Example: prepare one KVM conversion host
156156

157-
**Step 1: Install the conversion stack (RHEL / Rocky / Alma Linux)**
157+
**Step 1: Install the conversion stack**
158+
159+
Install the required conversion tools on the KVM host. Choose the appropriate command for your distribution:
160+
161+
RHEL / Rocky / Alma Linux:
158162

159163
::
160164

161165
dnf install -y epel-release
162166
dnf config-manager --set-enabled crb
163167
dnf install -y virt-v2v libguestfs-tools libguestfs-xfs qemu-img nbdkit
164168

169+
Ubuntu:
170+
171+
::
172+
173+
apt install -y \
174+
virt-v2v \
175+
libguestfs-tools \
176+
libguestfs-xfs \
177+
qemu-utils \
178+
qemu-system-x86 \
179+
libvirt-clients \
180+
nbdkit
181+
165182
**Step 2: Download and install VDDK**
166183

167184
Download the VDDK tarball and extract it on the KVM host. The CloudStack agent will detect the VDDK library
@@ -199,7 +216,17 @@ On EL9 distributions, virt-v2v may expect ``libvixDiskLib.so.8``. Create this co
199216
virt-v2v --version
200217
nbdkit --version
201218

202-
**Step 5: Verify required network and firewall access**
219+
**Step 5: Restart the CloudStack agent**
220+
221+
Restart the CloudStack agent service so it detects the installed VDDK library and makes it available in the UI:
222+
223+
::
224+
225+
systemctl restart cloudstack-agent
226+
227+
After the agent restarts, verify that VDDK installation was detected by checking the host details in the CloudStack UI.
228+
229+
**Step 6: Verify required network and firewall access**
203230

204231
Allow the following ports through any firewall or network security controls between the KVM conversion host and the
205232
VMware endpoints:
@@ -259,6 +286,13 @@ Example configuration in ``/etc/cloudstack/agent/agent.properties``:
259286
Recommendations for Using VDDK-based Conversion
260287
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261288

289+
**VM state before conversion**
290+
291+
- **Linux VMs**: Can be converted while running, but it is recommended to power off and gracefully shut down the VM
292+
to avoid crash-consistent state conversions.
293+
- **Windows VMs**: Must be powered off and gracefully shut down before conversion to ensure the filesystem is in a
294+
clean state. Conversion of running Windows VMs is not supported.
295+
262296
**Use a single primary storage pool for direct conversion**
263297

264298
When VDDK-based conversion is enabled, it is strongly recommended to configure the conversion to write directly

0 commit comments

Comments
 (0)