How to escape VMware's pricey clutches with Virt-v2v
(2024/06/21)
- Reference: 1718973065
- News link: https://www.theregister.co.uk/2024/06/21/virtv2v_helps_you_move_vms/
- Source link:
Devconf.cz Moving a VM from one host machine to another is easy. Moving VMs from one hypervisor to another is less trivial – but help is at hand.
The Reg FOSS desk spent the weekend in sunny Brno at the European installment of Red Hat's annual developers' conference, [1]DevConf.cz . One of the Lightning Talks we especially enjoyed was Richard Jones's " [2]Virt-v2v – take out your VMware VMs to Linux " – not least because he called out [3]not one , not [4]just two , but [5]three Register articles on Broadcom's takeover of the industry's favorite hypervisor vendor. (Thanks, Richard!)
With some customers reporting that licensing costs under the new ownership are rising by a factor of ten or more, there's considerable interest in migrating VMs from VMware's not-free-anymore server hypervisors over onto something less expensive. The core hypervisor functionality is quite commoditized these days. Even if the [6]free edition is dead , Windows has Hyper-V built in, FreeBSD has [7]bhyve , macOS has had one [8]since 10.10 "Yosemite," and Linux of course offers a choice, including [9]several dedicated distros , most based around KVM.
[10]
Twelve years back, this slightly less wrinkly vulture [11]reported on the launch of Windows Server 2012 in which one of the [12]main new features was Hyper-V. Back in 2012, virtualization was new enough that The Reg also covered a [13]nifty feature in RHEL 6 called [14]Virt-P2V , which we described as:
A program in an ISO image that you load up to grab the code running on bare-metal Windows or RHEL servers, sends it to a conversion host system, which then wraps it up to run in a KVM virtual machine.
Well, it was a dozen years ago. Times have moved on, and today, most places with in-house servers probably have established estates of carefully built and managed server VMs. Moving them to a different hypervisor isn't trivial. There's more to it than just exporting virtual drives to an interchange format and then re-importing them. Jones's talk introduced that tool's more contemporary sibling, [15]Virt-v2v :
[16]systemd 256.1: Now slightly less likely to delete /home
[17]Ada and Zangemann: Fancy reading your kids a book about FOSS?
[18]Version 256 of systemd boasts '42% less Unix philosophy'
[19]Disenchanted Windows user? Pop open a fresh can of Linux Lite
Virt-v2v converts a single guest from a foreign hypervisor to run on KVM. It can read Linux and Windows guests running on VMware, Xen, Hyper-V and some other hypervisors, and convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat Virtualization (RHV) or several other targets.
That's nifty enough, but as he explained, it has a couple of other neat tricks:
It can modify the guest to make it bootable on KVM and install virtio drivers so it will run quickly.
It was the last talk of the day, starting seven hours and five minutes into the [20]recorded stream , and it comes in at under ten minutes including the Q&A at the end.
The Big Purple Hat renamed what used to be called Red Hat Enterprise Virtualization (RHEV for short) as just [21]Red Hat Virtualization , and then it was subsumed. Now it's just a [22]feature in OpenShift . The handy thing about KVM, though, is that its formats and configs work on any distro. It's on our ever-growing list of distros to test, but we hear good things about [23]Proxmox . ®
[24]
[25]Youtube Video
Get our [26]Tech Resources
[1] https://www.devconf.info/cz/
[2] https://pretalx.com/devconf-cz-2024/talk/SN93LG/
[3] https://www.theregister.com/2024/05/09/vmware_security_advisory_change/
[4] https://www.theregister.com/2024/04/24/cispe_broadcom_vmware/
[5] https://www.theregister.com/2024/04/16/broadcom_vmware_perpetual_license_support/
[6] https://www.theregister.com/2021/08/31/hyper_v_server_discontinued/
[7] https://bhyve.org/
[8] https://www.theregister.com/2022/06/09/apple_linux_support_macos/
[9] https://www.theregister.com/2022/07/09/vmware_foss_hypervisor/
[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/virtualization&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZnWjlQC5P2eZjL1Iy8932AAAAQ0&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[11] https://www.theregister.com/2012/11/01/windows_server_2012_technical_launch_day_overview/
[12] https://www.theregister.com/2012/11/02/windows_server_2012_what_is_new/
[13] https://www.theregister.com/2012/06/21/redhat_rhel_6_3_update/
[14] https://libguestfs.org/virt-p2v.1.html
[15] https://libguestfs.org/virt-v2v.1.html
[16] https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/
[17] https://www.theregister.com/2024/06/18/ada_and_zangemann/
[18] https://www.theregister.com/2024/06/13/version_256_systemd/
[19] https://www.theregister.com/2024/06/10/linux_lite_70_arrives/
[20] https://www.youtube.com/live/PX_m01YzW2U?t=25449s
[21] https://access.redhat.com/products/red-hat-virtualization
[22] https://www.redhat.com/en/technologies/cloud-computing/openshift/virtualization
[23] https://www.proxmox.com/en/
[24] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/virtualization&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZnWjlQC5P2eZjL1Iy8932AAAAQ0&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[25] https://www.youtube.com/watch?v=PX_m01YzW2U
[26] https://whitepapers.theregister.com/
The Reg FOSS desk spent the weekend in sunny Brno at the European installment of Red Hat's annual developers' conference, [1]DevConf.cz . One of the Lightning Talks we especially enjoyed was Richard Jones's " [2]Virt-v2v – take out your VMware VMs to Linux " – not least because he called out [3]not one , not [4]just two , but [5]three Register articles on Broadcom's takeover of the industry's favorite hypervisor vendor. (Thanks, Richard!)
With some customers reporting that licensing costs under the new ownership are rising by a factor of ten or more, there's considerable interest in migrating VMs from VMware's not-free-anymore server hypervisors over onto something less expensive. The core hypervisor functionality is quite commoditized these days. Even if the [6]free edition is dead , Windows has Hyper-V built in, FreeBSD has [7]bhyve , macOS has had one [8]since 10.10 "Yosemite," and Linux of course offers a choice, including [9]several dedicated distros , most based around KVM.
[10]
Twelve years back, this slightly less wrinkly vulture [11]reported on the launch of Windows Server 2012 in which one of the [12]main new features was Hyper-V. Back in 2012, virtualization was new enough that The Reg also covered a [13]nifty feature in RHEL 6 called [14]Virt-P2V , which we described as:
A program in an ISO image that you load up to grab the code running on bare-metal Windows or RHEL servers, sends it to a conversion host system, which then wraps it up to run in a KVM virtual machine.
Well, it was a dozen years ago. Times have moved on, and today, most places with in-house servers probably have established estates of carefully built and managed server VMs. Moving them to a different hypervisor isn't trivial. There's more to it than just exporting virtual drives to an interchange format and then re-importing them. Jones's talk introduced that tool's more contemporary sibling, [15]Virt-v2v :
[16]systemd 256.1: Now slightly less likely to delete /home
[17]Ada and Zangemann: Fancy reading your kids a book about FOSS?
[18]Version 256 of systemd boasts '42% less Unix philosophy'
[19]Disenchanted Windows user? Pop open a fresh can of Linux Lite
Virt-v2v converts a single guest from a foreign hypervisor to run on KVM. It can read Linux and Windows guests running on VMware, Xen, Hyper-V and some other hypervisors, and convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat Virtualization (RHV) or several other targets.
That's nifty enough, but as he explained, it has a couple of other neat tricks:
It can modify the guest to make it bootable on KVM and install virtio drivers so it will run quickly.
It was the last talk of the day, starting seven hours and five minutes into the [20]recorded stream , and it comes in at under ten minutes including the Q&A at the end.
The Big Purple Hat renamed what used to be called Red Hat Enterprise Virtualization (RHEV for short) as just [21]Red Hat Virtualization , and then it was subsumed. Now it's just a [22]feature in OpenShift . The handy thing about KVM, though, is that its formats and configs work on any distro. It's on our ever-growing list of distros to test, but we hear good things about [23]Proxmox . ®
[24]
[25]Youtube Video
Get our [26]Tech Resources
[1] https://www.devconf.info/cz/
[2] https://pretalx.com/devconf-cz-2024/talk/SN93LG/
[3] https://www.theregister.com/2024/05/09/vmware_security_advisory_change/
[4] https://www.theregister.com/2024/04/24/cispe_broadcom_vmware/
[5] https://www.theregister.com/2024/04/16/broadcom_vmware_perpetual_license_support/
[6] https://www.theregister.com/2021/08/31/hyper_v_server_discontinued/
[7] https://bhyve.org/
[8] https://www.theregister.com/2022/06/09/apple_linux_support_macos/
[9] https://www.theregister.com/2022/07/09/vmware_foss_hypervisor/
[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/virtualization&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZnWjlQC5P2eZjL1Iy8932AAAAQ0&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[11] https://www.theregister.com/2012/11/01/windows_server_2012_technical_launch_day_overview/
[12] https://www.theregister.com/2012/11/02/windows_server_2012_what_is_new/
[13] https://www.theregister.com/2012/06/21/redhat_rhel_6_3_update/
[14] https://libguestfs.org/virt-p2v.1.html
[15] https://libguestfs.org/virt-v2v.1.html
[16] https://www.theregister.com/2024/06/20/systemd_2561_data_wipe_fix/
[17] https://www.theregister.com/2024/06/18/ada_and_zangemann/
[18] https://www.theregister.com/2024/06/13/version_256_systemd/
[19] https://www.theregister.com/2024/06/10/linux_lite_70_arrives/
[20] https://www.youtube.com/live/PX_m01YzW2U?t=25449s
[21] https://access.redhat.com/products/red-hat-virtualization
[22] https://www.redhat.com/en/technologies/cloud-computing/openshift/virtualization
[23] https://www.proxmox.com/en/
[24] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/virtualization&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZnWjlQC5P2eZjL1Iy8932AAAAQ0&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[25] https://www.youtube.com/watch?v=PX_m01YzW2U
[26] https://whitepapers.theregister.com/