Sep 27, 2011

Convert Physical Machines to Virtual Machines

VMware Converter is designed to do the following:
  • convert local and remote physical servers with NO DOWNTIME
  • convert many P2V conversions at the same time with a centralized console
  • convert third party VMs to VMware. For example- MS Virtual PC, MS Virtual Server, Backup Exec LiveState, & Ghost.
  • Clone and backup physical machines to virtual machines as part of a DR plan.
VMware Converter comes in two flavors. They are:
  • VMware Converter Starter (FREE Edition)
  • VMware Converter Enterprise
Currently, VMware Converter is only supported to convert Windows systems from physical to virtual


Using VMware Converter

When VMware Converter starts, you will be asked if you want to enter a license (to use the Enterprise version) or move into Starter mode. To go into Starter mode, click Continue in Starter Mode.
There are two purposes for VMware Converter:
1) Import a Virtual Machine from a physical machine or other type of virtual machine
2) Configure Virtual Machine to make an existing image bootable
In our case, we are going to demonstrate how you can import a hard drive from a physical machine (while that machine is running), change the drivers on it to be VMware drivers, and boot it in VMware. The first step of this is importing the virtual machine.

Importing Virtual Machines

To Import a virtual machine, just click on the Import Machine button the top left side of the interface.

Next, you'll see the Import dialog box come up. Click Next twice. Select the type of source to import from:


 In our case, we selected physical computer but notice all the different sources you can import virtual machines from. You could import an existing virtual machine, a physical machine that this program is running on, or a remote machine over the network.
 
We filled out the remote IP address and administrator username/password, then clicked Next. The VM Converter will connect to the remote machine over the network at this time. You will get the message that the VM Converter agent needs to be installed on the remote machine.
 
Click Yes After the agent install is done, you will see a window that looks like this:
 
Here you need to select the volumes you want to convert and if you want them to be resized. I chose to only convert the C drive and to reduce the size to the smallest size possible. After doing that, click Next.
Next you will need to choose a destination, click Next.
We will choose to put this physical machine on our standalone VMware Server (as that is all we have installed).

Click Next.

Now you will need to specify a name for this virtual server and a shared folder that is accessible to both virtual machines. To do this, I created a folder called C:\SharedVM and opened it up to full control for everyone (see below).

After you fill out the new name and the share, click Next.
Now, take the default to allow the disk space to grow (that is really up to you).

Click Next.

Take the default network options and click Next. Take the default on customizations and click Next.
You are now ready to import the virtual machine!

Click Next

 

Monitoring & Verifying the Import
The import will now begin. Here is what it looks like:

In my case, because I chose to transfer a physical machine over the LAN (with one device using wireless), it took me 2 hours and 6 minute to transfer the complete 8GB image. When it was done, here were the results:



There was also the Task Progress Tab on the bottom. Here is what it told me:

Also, if you go and look at the C:\SharedVM folder, you will see that there is indeed a folder there with the name "Converted Win2003 Server". Inside that folder, is your VMware VMDK virtual disk and a basic VMware VMX configuration file.

Configuring the Machine
The next step it to make this image you have created a bootable image. This involves installing drivers in that cloned OS to make the virtual disk, network, and CPU all VMware devices. To do this, click on the Configure Machine.

Click Next, then select that you want to use this on VMware Server.

Click Next
Browse to the path of the new VMX file and click Next.

On the next screen, if you click the Customize checkbox, you will be given the option to change a long list of computer settings. For example, the Windows license, time zone, network settings, or workgroup & domain info.

If you choose to customize a virtual machine in this way, you will need to have sysprep files. You may want to change the IP address of this new server before bringing it up on the network. You want to make sure that you don't have an IP address conflict if the cloned machine had a static IP address. As an alternative to this, I could put this machine on a VMware private network and just bring it up with the old IP address or shutdown the old machine before you bring up the new machine.
In our case, we will choose NOT to customize and click Next.

On the Converter console, you should now see this:





Booting the new Virtual Machine
At this point, you can boot the new virtual machine with VMware. Go to your VMware Server console. Click on File, Open, Browse, and browse to the VMX file for the new virtual machine (you may want to move the VM from the SharedVM folder to your default VMware folder).
You should now see that it is a virtual machine inside VMware Server, like this:

Press the Start button to boot the new VM.
You may get this message.

If so, just click Create and Ok.
Here is what our new server looks like when booted.

No comments:

Post a Comment

Hi,

Thanks for your visit to this blog.
We would be happy with your Queries/Suggestions.