DON'T UNINSTALL XENTOOLS!!!!
Ok, let's back up and explain why they say you should uninstall the tools. There's really only one primary reason for doing so...DRIVERS. By uninstalling the tools, you force the VM to install the normal Windows drivers for the hardware and OS that it is sitting on. With the tools installed, you have all the Xen drivers which help it do things like Xenmotion or safely shutdown/restart the OS.
So I'm sure you are still waiting for me to tell you why you should actually keep XenTools installed on the VM. Well if you've ever used VMware Converter to convert a machine and you've uninstalled the tools, then you likely saw the migration dip to lightning speeds of 1KB/sec. On a VM with upwards of 100GB of data, you will be able to go get dinner, walk the dog, build 3 hosts, and possibly take a mini vacation before the VM is done. In the field, we saw a VM with about 500GB of data take a week to do the first initial synchronization and this was after it failed twice. The reason for the slowness is because the native drivers do not give the same speeds. In our environment, it was a difference between 100Mbps vs 1Gbps.
Are there any downsides? Well sort of. Initially, we would create a conversion job and set the job to not run the final synchronization. This would allow us to uninstall the tools right before the final synchronization job. However, this caused another problem later because the job would no longer start because it detected to many changes to the OS. So we tried not uninstalling the tools at all and just running the conversion all the way through with XenTools installed. What happened? Nothing but greatness. We were able to convert a 500GB VM from Xen to VMware in a matter of a few hours.
But things to note:
- Do not tell the conversion wizard to install VMware Tools.
- Do not install VMware Tools before uninstall XenTools.
- You MUST uninstall XenTools on the first boot of the VM otherwise you will get a BSOD (not the end of the world)
- You MUST uninstall all of the devices that are Xen related from Device Manager
- Open command prompt as administrator
- Type set devmgr_show_nonpresent_devices=1
- Type devmgmt.msc
- Show hidden devices within Device Manager
- Look for anything Citrix or Xen and remove.
- DO NOT REBOOT until you have removed all Xen items. If you do not, then you will get a BSOD (again not the end of the world)
- After you've removed all Xen items, then reboot and verify you don't get a BSOD (see what to do when you get a BSOD)
- Install VMware Tools
- Fix your network configuration
- Jump for Joy
So you got a BSOD? Well I did say that there was a sort of downside. Well the BSOD is the downside. However, it is easily resolved. Simply boot into safe mode and do all the things I stated in #4 of things to note. After you've done that, then you can reboot. And safely install VMware Tools. Fix your network configurations and yay you are done.
And yes, this can also work if you are running the conversion tool on the VM itself. Same process and in fact runs even faster than using a conversion server. Well that's all!!! Hopefully this saves you time.
Post a Comment