V2V: Converting Virtual Machines in VMM

Updated: September 11, 2009

Applies To: Virtual Machine Manager 2008, Virtual Machine Manager 2008 R2

Microsoft System Center Virtual Machine Manager (VMM) allows you to copy existing VMware virtual machines and create Hyper-V or Virtual Server virtual machines. You can copy VMware virtual machines that are on an ESX Server host, in the VMM library, or on a Windows share. Although V2V is called a conversion, V2V is a read-only operation that does not delete or affect the original source virtual machine.

Diagram of the possible P2V and V2V paths.

Requirements

This section lists the V2V requirements for converting VMware ESX Server-based virtual machines.

Source Virtual Machines

For a successful virtual-to-virtual (V2V) conversion, the source virtual machine must have one of the following operating systems installed.

Supported Operating Systems for V2V Conversions in VMM 2008 and VMM 2008 R2

Operating System VMM 2008 VMM 2008 R2

Microsoft Windows 2000 Server with Service Pack 4 (SP4) or later

Yes

Yes

Microsoft Windows 2000 Advanced Server SP4 or later

Yes

Yes

Windows XP Professional with Service Pack 2 (SP2) or later

Yes

Yes

Windows XP 64-Bit Edition SP2 or later

Yes

Yes

Windows Server 2003 Standard Edition (32-bit x86)

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 Enterprise Edition (32-bit x86)

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 Datacenter Edition (32-bit x86)

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 x64 Standard Edition

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 Enterprise x64 Edition

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 Datacenter x64 Edition

Yes (Requires SP1 or later.)

Yes (Requires SP2 or later.)

Windows Server 2003 Web Edition

Yes

Yes

Windows Small Business Server 2003

Yes

Yes

Windows Vista with Service Pack 1 (SP1)

Yes

Yes

64-bit edition of Windows Vista with Service Pack 1 (SP1)

Yes

Yes

Windows Server 2008 Standard 32-Bit

Yes

Yes

Windows Server 2008 Enterprise 32-Bit

Yes

Yes

Windows Server 2008 Datacenter 32-Bit

Yes

Yes

64-bit edition of Windows Server 2008 Standard

Yes

Yes

64-bit edition of Windows Server 2008 Enterprise

Yes

Yes

64-bit edition of Windows Server 2008 Datacenter

Yes

Yes

Windows Web Server 2008

Yes

Yes

Windows 7

No

Yes

64-bit edition of Windows 7

No

Yes

64-bit edition of Windows Server 2008 R2 Standard

No

Yes

64-bit edition of Windows Server 2008 R2 Enterprise

No

Yes

64-bit edition of Windows Server 2008 R2 Datacenter

No

Yes

Windows Web Server 2008 R2

No

Yes

The source virtual machine consists of the following files:

  • A .vmx file, which is a VMware virtual machine configuration file. A .vmx file is the text file that describes the properties and structure of a virtual machine, including name, memory, disk assignments, and network parameters.

  • One or more .vmdk (virtual hard disk) files, which are not passed directly as input to the wizard but are listed in the .vmx file. A .vmdk file is a VMware virtual hard disk that contains the virtual machine's guest operating system, applications, and data. Supported VMware virtual hard disk formats include the following:

    • monolithicSparse

    • monolithicFlat

    • vmfs

    • twoGbMaxExtentSparse

    • twoGbMaxExtentFlat

Requirements for the Destination Host Server

In VMM, a host is a physical computer on which you can deploy one or more virtual machines. To run V2V, you need a host on which to place the converted files while the virtual machine is converted.

Requirements for the host server include:

  • Windows Server 2008 Hyper-V or Virtual Server R2 SP1 or later

  • Cannot be in a perimeter network (also known as a screened subnet, or DMZ) where the firewalls or IPsec settings prohibit communication.

  • At least 256 MB RAM plus memory for the virtual machine

    By default, the amount of memory reserved for the target host is 256 MB. This is in addition to the memory required by the V2V process for each source computer. If the host does not have enough memory, you will get a placement error in the Convert Virtual Machine Wizard.

How to Perform a V2V Conversion

During the conversion process, the VMM converts the VMware .vmdk files to .vhd files and makes the operating system on the virtual machine compatible with Microsoft virtualization technologies. The virtual machine created by the wizard matches VMware virtual machine properties, including name, description, memory, and disk-to-bus assignment.

In VMM, there are three ways to perform a V2V conversion depending on the location of the VMware virtual machine:

  • Directly from an ESX Server host

  • From the VMM library

  • From a Windows or Network File System (NFS) share

In every case, the virtual machine must be turned off. V2V cannot copy running virtual machines.

Directly from an ESX Server Host

To perform a V2V conversion on a VMware virtual machine on an ESX Server host:

  1. Add the VMware VirtualCenter server that is managing this ESX Server host to VMM

  2. Make sure that VMM has full access to the ESX Server host. The host status should be OK.

  3. In the Migrate Virtual Machine Wizard, change the default filter to show "All Hosts" or any other host group that contains Hyper-V hosts.

For more information, see Managing a VMware Infrastructure in VMM.

From the VMM Library

To perform a V2V conversion on a VMware virtual machine in the VMM Library:

  1. Copy the .vmx file and each .vmdk file for the VMware virtual machine to the Virtual Machine Manager library.

  2. Manually refresh the library share or wait for the library refresher and then select the virtual machine to be converted.

  3. Run the Convert Virtual Machine Wizard. For detailed steps, see V2V: Converting Virtual Machines in VMM.

From a Windows or Network File System (NFS) share

The Windows or NFS share should contain the files composing the VMware virtual machine, including at a minimum the .vmx and all .vmdk files. The account under which the VMM server is running, and the machine account of the destination host, must have read permissions to the files on this share.

To convert a VMware virtual machine that is defined in the vm.vmx file located on share \\servername\share\dir, from the command line, run the New-V2V cmdlet and point the –VmxParameter to the URI path of the .vmx file.

For example, $vm = $c | new-v2v -vmhost $vmhost -path d:\ -vmxpath \\servername\share\dir\vm.vmx.

Performing V2V from the Command Line

You can perform a V2V conversion from Windows PowerShell by using the New-V2V cmdlet.

For more information about using the New-V2V cmdlet, see How to Convert Virtual Machines Using a Script (http://go.microsoft.com/fwlink/?LinkID=162940).

Tags :


Page view tracker