Skip to content

Commit bbe7067

Browse files
committed
Address comments
1 parent 2cfbef0 commit bbe7067

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -115,30 +115,34 @@ In the UI import wizard, you can optionally select a KVM host and temporary dest
115115

116116
When importing an instance from VMware to KVM, CloudStack performs the following actions:
117117

118-
- Clones the Source Instance on the selected VMware Datacenter for running
119-
VMs: The source instance will be cloned in the original state for running
120-
VMs. The recommended state is the stopped state to prevent data
121-
inconsistencies or loss when cloning the instance.
122-
- Imports the VM files (OVF) of the Cloned instance for running VMs, Source
123-
Instance for stopped VMs to a temporary storage location (which can be
124-
selected by the administrator) from KVM host if ovftool installed or
125-
management server (can be forced by the administrator).
126-
- Converts the OVF on the temporary storage location to KVM using virt-v2v:
127-
CloudStack (or the administrator) selects a running KVM host to
128-
perform the conversion from VMware to KVM using **virt-v2v**. If the binary
129-
is not installed, then the host will fail the migration. In case it is
130-
installed, it will perform the conversion into the temporary location to
131-
store the converted QCOW2 disks of the instance. The disks are then moved
132-
into the destination storage pools for the instance. The conversion is a
133-
long-lasting process which can be set to time out by the global setting
134-
'convert.vmware.instance.to.kvm.timeout'. The conversion process takes a
135-
long time because virt-v2v creates a temporary instance to inspect the
136-
source VM and generate the converted disks with the correct
137-
drivers. Additionally, it needs to copy the converted disks into
138-
the temporary location.
118+
- Import the VM files (OVF) of the instance to a temporary storage location
119+
(which can be selected by the administrator).The import is performed on a
120+
KVM host if ovftool installed or management server (can be forced by the
121+
administrator). The existence of ovftool on the host is checked using
122+
``ovftool --version`` command.
123+
124+
- If the instance on VMWare is in **running** state, we clone the instance on
125+
VMWare and use the new cloned instance for conversion. This is to
126+
prevent issues with the data consistency of the instance being
127+
imported. For large instances, the cloning process can take a long time.
128+
- If the instance on VMWare is in **stopped** state, we directly use the
129+
instance for conversion.
130+
- Converts the OVF on the temporary storage location to KVM using
131+
**virt-v2v**. CloudStack (or the administrator) selects a running and
132+
enabled KVM host to perform the conversion from VMware to KVM using
133+
**virt-v2v**. If the binary is not installed, then the host will fail the
134+
migration. In case it is installed, it will perform the conversion into
135+
the temporary location to store the converted QCOW2 disks of the instance.
136+
The disks are then moved into the destination storage pools for the
137+
instance. The conversion is a long-lasting process which can be set to
138+
time out by the global setting ``convert.vmware.instance.to.kvm.timeout``.
139+
The conversion process takes a long time because virt-v2v creates a
140+
temporary instance to inspect the source VM and generate the converted
141+
disks with the correct drivers. Additionally, it needs to copy the
142+
converted disks into the temporary location.
139143
- The converted instance is then imported into the selected KVM cluster.
140-
The host for import is selected randomly from the selected
141-
destination cluster if no host for importing is selected. Only enabled
144+
If no host is selected for importing, the host for qcow2 conversion is
145+
selected randomly from the selected destination cluster. Only enabled
142146
cluster & enabled host are considered for importing.
143147

144148
.. note:: Please consider not restarting the management servers while importing as it will lead to the interruption of the process and you will need to start again.

0 commit comments

Comments
 (0)