Hi everyone,
Does anyone know how to migrate virtual machines from VMWare server to Centos Xen VMs?
If someone has some hints or a helpful blog they know of, that would be great.
Thank you Stephen
Boot your vmware guest from a rescue cd, then dd out to a file/lv etc for your xen vm. jlc
-----Original Message----- From: centos-virt-bounces@centos.org [mailto:centos-virt-bounces@centos.org] On Behalf Of Stephen Sent: Wednesday, June 04, 2008 4:33 PM To: Discussion about the virtualization on CentOS Subject: [CentOS-virt] Migration from Windows VMs from VMWare server to Xen
Hi everyone,
Does anyone know how to migrate virtual machines from VMWare server to Centos Xen VMs?
If someone has some hints or a helpful blog they know of, that would be great.
Thank you Stephen _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Thank you... thats great - and easy.
Windows being so particular about drivers and disk mappings I figured there would be more to it.
Cheers Stephen
Well, you still have to consider that:) Why this works without you doing any extra legwork is because for you to run windows on Xen, unless your using the pv drivers, your Xen config exports an IDE disc into the vm. Unless you explicitly do *not* load an ide driver during install of the windows guest, it has this driver in the Critical Devices Database. It will just boot. You may have to make changes to the boot.ini file depending on the version of windows and format of the original vm but I doubt you need that.
Obviously make sure your recue disc of choice has support for the scsi device in the vmware guest, and network drivers so you can push the image out.
You can also convert the images as well (qemu-img convert -f vmdk... I thnk). If this image is running under ESX, then you should export the disc out with vmkfstools, http://www.vmts.net/vmkfstools.htm
Pick your pleasure...
jlc
Well, you still have to consider that:) Why this works without you doing any extra legwork is because for you to run windows on Xen, unless your using the pv drivers, your Xen config exports an IDE disc into the vm. Unless you explicitly do *not* load an ide driver during install of the windows guest, it has this driver in the Critical Devices Database. It will just boot. You may have to make changes to the boot.ini file depending on the version of windows and format of the original vm but I doubt you need that.
Thanks - I was wondering what was going on under the lid
You can also convert the images as well (qemu-img convert -f vmdk... I thnk). If this image is running under ESX, then you should export the disc out with vmkfstools, http://www.vmts.net/vmkfstools.htm
Thats helpful too (qemu-img docs at http://bellard.org/qemu/qemu-doc.html#SEC19)
Thanks Stephen