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
<6> Specify a storage mapping even if the VMs to be migrated are not assigned with disk images. The mapping can be empty in this case.
839
840
<7> Specify the name of the `StorageMap` CR.
840
-
<8> By default, virtual network interface controllers (vNICs) change during the migration process. As a result, vNICs that are configured with a static IP address linked to the interface name in the guest VM lose their IP address. +
841
+
<8> By default, virtual network interface controllers (vNICs) change during the migration process. As a result, vNICs that are configured with a static IP address linked to the interface name in the guest VM lose their IP address.
841
842
To avoid this, set `preserveStaticIPs` to `true`. {project-short} issues a warning message about any VMs for which vNIC properties are missing. To retrieve any missing vNIC properties, run those VMs in vSphere in order for the vNIC properties to be reported to {project-short}.
842
843
<9> [[callout9]]Optional. Specify a template for the network interface name for the VMs in your plan.
843
844
The template follows the Go template syntax and has access to the following variables:
@@ -865,28 +866,37 @@ The template follows the Go template syntax and has access to the following vari
* When set to `true`, {project-short} adds one or more randonly generated alphanumeric characters to the name of the PVC in order to ensure all PVCs have unique names.
869
-
* When set to `false`, if you specify a `pvcNameTemplate`, {project-short} does not add such charchters to the name of the PVC.
869
+
* When set to `true`, {project-short} adds one or more randomly generated alphanumeric characters to the name of the PVC in order to ensure all PVCs have unique names.
870
+
* When set to `false`, if you specify a `pvcNameTemplate`, {project-short} does not add such characters to the name of the PVC.
<12> [[callout12]]Optional: Specify a template for the volume interface name for the VMs in your plan.
874
+
<12> Determines whether VMs are converted before migration using the `virt-v2v` tool, which makes the VMs compatible with {virt}.
875
+
* When set to `false`, the default value, {project-short} migrates VMs using `virt-v2v`.
876
+
* When set to `true`, {project-short} migrates VMs using raw copy mode, which copies the VMs without converting them first.
877
+
+
878
+
Raw copy mode copies VMs without converting them with `virt-v2v`. This allows for faster conversions, migrating VMs running a wider range of operating systems, as well as supporting migrating disks encrypted using Linux Unified Key Setup (LUKS) without needing keys. However, VMs migrated using raw copy mode might not function properly on {virt}. For more information on `virt-v2v`, see xref:virt-v2v-mtv_mtv[How {project-short} uses the virt-v2v tool].
879
+
+
880
+
<13> Determines whether the migration uses VirtIO devices or compatibility devices (SATA bus, E1000E NIC) when `skipGuestConversion` is `true`, that is, when raw copy mode is used for the migration. The setting of `useCompatibilityMode` has no effect when `skipGuestConversion` is `false`, because `virt-v2v` conversion always uses VirtIO devices.
881
+
* When set to `true`, the default setting, {project-short} uses compatibility devices (SATA bus, E1000E NIC) in the migration process to ensure that the VMs can be booted after migration.
882
+
* When set to `false`, {project-short} uses high-performance VirtIO devices in the migration process, and `virt-v2v` ensures that the VMs can be booted after migration. Before using this option, verify that VirtIO drivers are already installed in the source VMs.
883
+
<14> [[callout14]]Optional: Specify a template for the volume interface name for the VMs in your plan.
874
884
The template follows the Go template syntax and has access to the following variables:
875
885
**`.PVCName`: Name of the PVC mounted to the VM using this volume.
876
886
**`.VolumeIndex`: Sequential index of the volume interface (0-based).
877
887
+
878
888
*Examples*
879
889
**`"disk-{{.VolumeIndex}}"`
880
890
**`"pvc-{{.PVCName}}"`
881
-
<13> You can use either the `id` or the `name` parameter to specify the source VMs.
882
-
<14> Specify the VMware vSphere VM moRef. To retrieve the moRef, see xref:retrieving-vmware-moref_vmware[Retrieving a VMware vSphere moRef].
883
-
<15> Optional: Specify a network interface name for the specific VM. Overrides the value set in `spec:networkNameTemplate`. Variables and examples as in xref:callout9[callout 9].
884
-
<16> Optional: Specify a PVC name for the specific VM. Overrides the value set in `spec:pvcNameTemplate`. Variables and examples as in xref:callout10[callout 10].
885
-
<17> Optional: Specify a volume name for the specific VM. Overrides the value set in `spec:volumeNameTemplate`. Variables and examples as in xref:callout12[callout 12].
886
-
<18> Optional: {project-short} automatically generates a name for the target VM. You can override this name by using this parameter and entering a new name. The name you enter must be unique and it must be a valid Kubernetes subdomain. Otherwise, the migration fails automatically.
887
-
<19> Optional: Specify up to two hooks for a VM. Each hook must run during a separate migration step.
888
-
<20> Specify the name of the `Hook` CR.
889
-
<21> Allowed values are `PreHook`, before the migration plan starts, or `PostHook`, after the migration is complete.
891
+
<15> You can use either the `id` or the `name` parameter to specify the source VMs.
892
+
<16> Specify the VMware vSphere VM moRef. To retrieve the moRef, see xref:retrieving-vmware-moref_vmware[Retrieving a VMware vSphere moRef].
893
+
<17> Optional: Specify a network interface name for the specific VM. Overrides the value set in `spec:networkNameTemplate`. Variables and examples as in xref:callout9[callout 9].
894
+
<18> Optional: Specify a PVC name for the specific VM. Overrides the value set in `spec:pvcNameTemplate`. Variables and examples as in xref:callout10[callout 10].
895
+
<19> Optional: Specify a volume name for the specific VM. Overrides the value set in `spec:volumeNameTemplate`. Variables and examples as in xref:callout14[callout 14].
896
+
<20> Optional: {project-short} automatically generates a name for the target VM. You can override this name by using this parameter and entering a new name. The name you enter must be unique, and it must be a valid Kubernetes subdomain. Otherwise, the migration fails automatically.
897
+
<21> Optional: Specify up to two hooks for a VM. Each hook must run during a separate migration step.
898
+
<22> Specify the name of the `Hook` CR.
899
+
<23> Allowed values are `PreHook` before the migration plan starts or `PostHook` after the migration is complete.
0 commit comments