Well. My first question here, has anybody done a migration from XenServer 5.6 to ESXi?
I can run the converter fine, and I'll get a VM on the other side I know this won't boot as the VM is using the xen-kernel. The target machine I've been testing with I've installed the default kernel and then run the converter process. I'm trying to boot other side with the distro's .iso ( in this case centos 5.3 ) and repairing the grub configuration, however this is where I'm stuck.
I'll get a number of errors, however I think this is due to the way the disks operate. In Xen, these are IDE devices and the migration process configures these using a SAS Logic controller and some "magic stuff" happens converting my /dev/xvda to a /sda device.
My last attempts have got this at a kernel panic - "stuck.setuproot moving /dev failed" and then init dies.
As most people have figured out. There's tons of doco moving off ESXi to Xen, but not the other way around!
Hello
If you boot the regular, non paravirtual kernel, you should be able to do a normal conversion w/o manual reconfig afterwards.
Converter always creates SCSI disks on the destination machine, this will happen also if the source is a physical machine or a VMware VM with IDE disks, but this has not caused any problems AFAIK. The /dev/xvda is a Xen virtual device and it is expected to be changed to /dev/sda.
I'd rather guess the issue is with the specific SCSI controller - probably the source has no driver for LSI Logic SAS, but perhaps is has for LSI Logic or BusLogic? Try changing the controller in the wizard and retry the conversion; better - verify which modules the source has beforehand.
HTH
Plamen
Hey,
Gave me a few ideas for this and I've got a VM from Xen running in my ESXi environment now! It's a juggling act for now, but it's once of so I'll deal with it for now.
For anyone out there, perhaps some of my quick notes might help others too.
My target machine was one of our Radius / DNS load balancer machines. It's running CentOS 5.3 and using the xen kernel. The steps I've taken to get a bootable machine running in ESXi as follows;
Here I've kicked off my conversion with the standalone converter ( took 3 minutes! ) a few options to change was to ensure that the Ethernet device was set to E1000. Just about everything was configured as normal in this.
Now I've got a machine that wont boot in ESXi. As expected. Booting a CentOS image and chrooting to the system image I've made the following changes to get a bootable system.
Following this, you should now have a booting and working system ( with CentOS 5.3 at least ). Install VMWare Tools and you'll be off!
Ensure you watch the new vm closely for a while and keep an eye on your logs too. My load balancer is working great at the moment, only for about 3 hours now and tested failover to its other node still running on Xen.
Pending all of this, I'll write some better doco and processes and gladly share it here. As anyone reading this will love any assistance going from Xen to ESXi who's never done it before and has limited knowledge of xen virtualisation.
MB.