Migrate Server 2008R2 on VMware to XEN (on Debian)
Post date: Mar 11, 2016 2:53:42 PM
Long story short, I'm migrating all my VMware virtual server to XEN on a Debian (8 "Jessie") server.
with Xen configured
and virtualbox installed (we'll needs one of it's utils)
2008R2 server you want to migrate
Some shere to save the image to (SMB on another server, mount NFS share, etc)
First you'll need to convert your running Server to a vhdx file using disk2vhd
Leave "use VHDX" checked
And as I'll be converting a live server, well need to also check the "Use Volume Shadow Copy"
Here I'm saving to "Z:\PD.vhdx"
Z: is my remote XEN server running SMB
PD is my file & Server name
Once that's done you'll need to login to your XEN server and CONVERT your VHDX image in to a RAW file that XEN can read and work with. The command for that is.
VBoxManage clonehd PD.VHDX PD.img -format RAW
Now setup your XEN config file. Here's mine as an example
On it's first boot it will notice that the hardware has changed, So you'll want to give it a few minutes to "adjust" and then reboot (twice).
You may want to install the "GPLPV" drivers for better performance. (See http://wiki.univention.com/index.php?title=Installing-signed-GPLPV-drivers and http://www.xenproject.org/developers/teams/windows-pv-drivers.html)]
Windows will need to reactivate -_-