On 22/03/11 15:00 -0400, Brian Gold wrote:
>Hello all,
>
>I recently took over the position of Sysadmin in an organization that has a
>number of Xen virtual machines running in RHEL on older hardware. They recently
>purchased some newer servers that can handle hardware virtualization. I've had
>experience with HyperV and Virtualbox in the past, but I'm pretty new to Linux
>virtualization. I figured a good exercise would be to migrate some of the
>seldom used Xen instances over to fully virtualized KVM instances on the newer
>hardware. I've succeeded in getting a few systems migrated over and wrote up
>documentation on the procedure I used. Was just wondering if the community
>could take a look over my documentation and let me know if I've made any rookie
>mistakes or missed anything major. Sorry if the formatting of the documentation
>looks a little odd as it is mostly ripped from our wiki.
>
>http://dl.dropbox.com/u/4059750/Xen_to_KVM.htm
>
>Thanks,
>Brian

Red Hat has a nice utility that takes care of this automatically:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-v2v-migration.html

Regarding your doc:

Use 'virsh dumpxml <vm_name>' to get the XML file of your Xen host.
You can then edit the resulting file and use 'virsh define <xml_file>'
on your new host instead of having to run through virt-install.

You'll probably want to use virtio drivers if you are running
RHEL on RHEL for your new KVM guest.  (<target dev='vda'
bus='virtio'/>).  You'll see much better performance, do the same with
the network driver (<model type='virtio'/>).

Cheers,
Brian

_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to