Over the last week or so, I’ve had the opportunity to use VMware Converter in two different settings to perform two different types of physical-to-virtual (P2V) conversions. In one case, we booted from the Converter bootable CD image to perform an offline conversion; in the second instance, we used Converter to stream an image while the source machine was still online. In addition, one of the conversions was to an ESX Server farm, while the other was to VMware Server for proof-of-concept and testing. Here are some observations on each of these conversions.
Offline P2V to ESX Server
The first conversion I did was using VMware Converter’s boot CD to move a workload on a physical server over to an ESX Server managed by VirtualCenter (and a member of a DRS/HA cluster). The overall process was very straightforward—boot the server on the CD, walk through the “Import Machine†wizard, etc. The only odd thing we ran into was that Converter refused to log in to VirtualCenter. We tried short hostname, fully qualified hostname, and IP address, and still had zero luck getting Converter to connect to VC. Fortunately, connecting directly to one of the ESX servers using the root account worked without any problems whatsoever, and the overall conversion process took about 1 hour and 20 minutes to move the 12 to 13 gigabytes of data on the source server. As fully expected, the new VM it created worked just fine. (There were some DNS-related issues after starting the new virtual server, but I feel these were completely unrelated to Converter or the P2V process.)
I’m still not sure why Converter wouldn’t connect to VC; the only thing that may be a contributing factor was that the VC server was running on a non-standard port. However, even when specifying the port number, Converter still wouldn’t connect. and the error message that was displayed after a failed attempt kept referencing TCP port 902. I also found that the delays when attempting to connect were horrendous; three or four attempts to connect took up well over 35 or 40 minutes of time just waiting for Converter to come back and tell us it couldn’t connect. I hope to be able to try another offline P2V in this same environment soon to see if we can isolate and address the issues we ran into this time around. If anyone else has run into this issue and has a workaround, please share it in the comments.
What I Like:
- Able to import directly to VMFS on ESX Server farm, no need to use a helper VM or vmkfstools
- Installed VMware Tools automatically during the process
- Good network throughput (roughly 8-9GB per hour)
What I Don’t Like:
- Had a problem logging in to VirtualCenter, had to connect to back-end ESX server instead
- Seemed a bit slower to boot up than the older P2V Assistant (this is a very subjective assessment)
Online P2V to VMware Server
I also used VMware Converter to do an “online†P2V; that is, to make a virtual image of an existing physical machine while the physical machine was still up and running. While this process requires some logistical coordination for the cut-over, it also eliminates the majority of the downtime typically involved in a P2V conversion. The target ESX server wasn’t yet up and running in this particular case (another story for another day, trust me), so we used a Windows host running VMware Server as our target.
Once again, the process was very simple and straightforward. Using the VMware Converter Manager on another host (the machine running VMware Server itself, actually), we selected a remote machine, installed the agent (which required a reboot, by the way), and then started the P2V process after the reboot. At first, the process was very slow; it was estimating almost 6 hours to pull across the roughly 6GB of data on the remote PC. After a while, though, the pace increased significantly and the overall time to pull across all the data was only about an hour and twenty minutes. Still, when you compare this rate to the rate achieved in the offline conversion, you see that it is much slower. Of course, there were differences in the environment (different network topologies, different source and target systems, etc.), so this isn’t necessarily an apples-to-apples comparison. It does, however, give you a rough idea of what you to expect.
There were a few rough edges, though nothing major. You apparently can’t install VMware Tools as part of the conversion; this adds an extra step to the configuration of the VM after it is created. It also seemed to take a few minutes before Sysprep launched on the VM; in fact, I thought that Sysprep wasn’t even going to be invoked at all. Neither of these issues are major issues, however.
What I Like:
- Minimal downtime required on source physical machine (just a reboot, and sometimes not even that—apparently depends upon version of Windows)
What I Don’t Like:
- Slower network throughput than offline conversion
- Can’t install VMware Tools during conversion
VMware Server to ESX Server
This last test surprised me, primarily because I was under the impression that VMware Converter Starter Edition wouldn’t support ESX Server as a target platform. In this particular instance, we hadn’t bothered to get the Enterprise license installed because this was testing/proof of concept. Although Converter wouldn’t let us go from physical machine to ESX Server, it would let us go from physical machine to VMware Server and then to ESX Server.
The downside, of course, is that this adds an extra step to the process. The upside is that this extra step only took about 13 minutes to move the data from VMware Server to ESX Server (much less time than it took to get the data into VMware Server to start with). After taking an hour and a half or so to get the data onto VMware Server, another 15 minutes to get it into ESX Server is not, in my opinion, a big deal.
This time around we were again able to install the VMware Tools during the conversion and ask for Sysprep to be run to customize the guest (although I had to reboot the VM once before the mini-Setup appeared). After Sysprep ran and went through mini-Setup, I noticed that VMware Tools were being reported as “out of dateâ€; a quick perusal showed that the VM was running the VMware Server build of VMware Tools, not the ESX Server build. Hence, the “out of date†indication. Further, once you did launch an installation of VMware Tools from the ESX Server, the installer detected the previous installation and offered the typical “Remove/Repair/Modify†dialog box, rather than performing an upgrade of the tools. Again, I’m not sure why that was the case. It’s an issue that’s relatively easily resolved, but it would’ve been nice to know that the “Instal VMware Tools†checkbox wasn’t really going to help at all.
What I Like:
- Speed (didn’t take long to go from VMware Server to ESX Server)
- No need for a helper VM or vmkfstools
- Can install VMware Tools during migration (see below)
What I Don’t Like:
- Apparently doesn’t install ESX version of VMware Tools
All in all, VMware Converter is a very handy application. I plan to continue to perform some testing with Converter in more environments and more scenarios over the next few weeks, and I will post additional information at that time.
As always, feel free to share any tips, tricks, thoughts, suggestions, or corrections in the comments below.
Tags: P2V, Virtualization, VMware
-
I’ve had nothing but trouble with VMconverter. I have an open tech case in which they told me there is a bug in the software that sometime shows itself when you are doing a conversion of a machine with more than one physical or logical disk. The conversion fails when doing a hot or cold clone. I’ve tried it with a Windows 2000 server and a Wndows 2003 server. I did have successu on a different Windows 2000 server (scratch install for testing). Ive been trying to use the P2V assistant in the mean time, but it’s not working for me either. Has anyone else had significant problems with VMconverter?
-
@James Batchelor
I suggest you use Acronis True Image v9 or greater. This is hardware agnostic imaging software - You take an image of a live machine and restore it to an empty virtual machine selecting the option to “universal restore”.
-
I’ve been using converter for several different backup scenarios however, don’t have an .ISO of the converter boot CD to test the cold boot aspect. Is the boot CD you used available for download so I can test with it without my having to pay the $6100.00 that VMware is asking on their site?
M.
-
Since linking to this posting on Server Virtualization Blog, I’ve gotten quite a bit of email about P2V problems relating to VMware Converter. Most of the problems seemed to come from using the free version of VMware Converter. Interestingly, one IT manager was successful virtualizing on VMWare ESX using the P2V features included with HP Systems Insight Manager.
-
Using the VMware Converter 3.0.0 starter (the free download), I have successfully converted a MS Windows 2003 Std. SP1 server to an ESX 3.0.1 host server. It has been running fine for over a week and the only tweaks needed were the IP/Gateway addresses and to re-register it on our domain. However I have not had any success converting a Dell 2650 server running Windows 2003 R2 Std. SP2 as a file server. There seems to be a problem since my main data drive is a Dynamic disk. If I just select the C: basic drive and no other drives, I can get a successful conversion. But if I select two basic drives (C: and F:) or the two basic drives and the dynamic drive (G:), the conversion will fail. I have not as yet seen any solution to this problem.
-
I have developed an ESX server running VI3 on a Dell 2950 dual quad-core 16gb RAM. We are using it to prop up NT4 servers which run Netscape Enterprise Suitespot. The NES is on an array of 3 servers. I have already built 2 of the servers from scratch within the VM, but, the 3rd one we are missing an admin password so we could potentially never know what SSJS (server-side JavaScript) applications are hosted by it.
I used VMWare Converter starter to convert those 2 servers from VM Workstation to ESX. When I was installing it I noticed the note that talked about P2V, which is when I started researching P2V. So I am considering trying it to convert the last server into VM.
My question(s) is/are… Does converter starter do P2V? Do you have to convert it directly into an ESX? Or can you move the files into ESX later? The reason for the last 2 questions is because the ESX server is still within a dev domain.
-
thanks Scott,
I am going to try that out today.
-
well, its done. and i actually did convert directly into ESX. Everything is perfect except 1 major problem and 1 minor problem.
Minor: resolution sucks. looking at 640×480 16colors.
Major: the network connection doesnt work. I’m getting an error and the log says “failed to bind socket” (no kidding) not really sure how to approach this. ive tried installing different adapters, but it dosnt seem to be working. when i do an ipconfig it only says Windows NT IP Configuration.i think it is time to walk away. (any help is appreciated)
-
i installed them and it still didn’t work. i reinstalled sp6a and nothing. i unistalled and reinstalled and nothing. i dont think this adapter was installed correctly to begin with. i might try reverting to the snapshot just after the conversion. i have a consultant coming by to check it out.
also, when i am installing the VMWare Tools, i get an message that says the svga driver needed to be installed manually, when i do that, the display settings still do not work. on reboot when the display settings appear, it is looking for the VMWare Tools disk. it says it needs vmx_svga.sys, do you know where i can get this file? i have looked through the net and can’t seem to find it.
-
Scott,
Thanks for you help. the consultant came in and did that exact thing. everything is working perfectly now. mark this one down as a successful p2v! -
I am trying to migrate win 2003 64 bit using VMware converter. After the migration, when the VM is powered on I get BSOD (stop 7B), anyone kows how to fix this? Thanks.
-
Guys, I’ve got a more obscure issue. In developing a lab, we’d planned to take a VM created using converter from a physical machine and import it to an instance of ESX. On realisation that a key individual “forgot” to arrange licences I’ve had to temporarily resort to VMware server. Dilemma is, now that I’ve converted my VM’s to be ESX capable, I’m getting failures in trying to convert them back to VMware server type VM’s. I cannot obviously log onto the ESX/Virtual Center server would normally be holding them as the server was no completed.
Ideas?
-
Scott, when I run the import it fails when it hits 2%. On one VM import I didn’t get any feedback other than “failed”, on the other I had a comment back saying it “couldn’t gain access to file /%s”.
I’m backing up the 2x VM’s right now and trying again.
-
I believe I’ve solved the issue. It appears that VM Converter does not have the ability, within my network of gaining access to the network share drive based on the user profile on the laptop. I can only use source and target directories that are local to the VM Converter instance. I’m hoping this is just a bizarre issue with my environment and not a VM Converter “feature”.
-
STOP 7B issue resolved:
Got it finally:
The migrated VM blue screens with 7B because VMware convereter doesn’t add the entry for VM disk to the criticaldevicedatabase in the registry.
Without this the symmpi driver for lsi logic scsi does not load in the beginning. You can manually add the following entry by merging the following
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\system\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1000&dev_0030]
“ClassGUID”=”{4D36E97B-E325-11CE-BFC1-08002BE10318}”
“Service”=”symmpi”Happy new year!
-
Don’t forget…
[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\symmpi]
“ErrorControl”=dword:00000001
“Group”=”SCSI miniport”
“Start”=dword:00000000
“Type”=dword:00000001
“ImagePath”=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,73,00,79,00,6d,00,6d,00,70,00,69,\
00,2e,00,73,00,79,00,73,00,00,00
“Tag”=dword:00000021[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\symmpi\Parameters]
“BusType”=dword:00000006[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\symmpi\Parameters\PnpInterface]
“5″=dword:00000001[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\symmpi\Enum]
“0″=”PCI\\VEN_1000&DEV_0030&SUBSYS_00000000&REV_01\\3&61aaa01&0&80″
“Count”=dword:00000001
“NextInstance”=dword:00000001 -
A trouble free way of performing p2v’s on troublesome hardware that continuously fails a hot or cold conversion (predominantly NT4 on 10+ year old hardware. Yes it exists!!!);
1. Perform file system maintenance on the target machine (cleanup files, defrag, chkdsk, clear as much space as possible). Defrag is most important.
2. Ghost system disk and subsequent disks if they exist.
3. Create empty vm with enough disk to restore image.
4. Boot vm from Bart PE or any pre execution boot environment write signature to disk (if it prompts) and restore ghost of system disk into vm.
5. Restore images of other disks (if exist).
6. Bring up vm and clap hands.
Things to note;
Ghosting failes on system disks. This can usually be fixed by performing maintenance outlined in step 1.
Sometimes we had ghosting fail on non system disks and had to bring up vm in pre execution environment with only C: drive and then robocopy files across.
Drive letters incorrect after virtualisation and/or cannot change CD drive letter. In regedit browse to HKLM\System\DISK and delete everything listed below (Default). This will reset everything to default on reboot and allow you to change drive letters to your hearts content.
Virtualising NT4 on hundreds of 10+ yeear old systems is an excellent learning environment. Patience required.
If anyone needs assistance or tips feel free to email me at tim-adam-walker@netspace.net.au (yes they are dashes not underscores).
Happy virtualising!
-
Oops I mean’t to say “Chkdsk is most important” !!!
-
One other tip I left out was NT4 servers that boot from floppy due to corrupt MBR.
After virtualising an NT4 server at a remote site I was stumped as to why it wouldn’t come up.
Eventually I went to the site and discovered the server was booting from floppy!
After injecting the files on the floppy directly into the OS, running fdisk /fixmbr and various other troublshooting steps I was nearly ready to bang head against the table. Nothing worked so I virtualised the floppyi into a .flp image and connected that to the vm. Server came up! I know it’s not a fix but it got the server to a usable state.
Cheers.




33 comments
Comments feed for this article
Trackback link: http://blog.scottlowe.org/2007/02/21/vmware-converter/trackback/