تبدیل ماشین مجازی از VMware به Hyper-V با استفاده از SCVMM

تبدیل ماشین مجازی از VMware به Hyper-V با استفاده از SCVMM

When you are migrating your virtual machines from VMware ESX hypervisor to Microsoft Hyper-V by using SCVMM 2012 without VMware vCenter, you will face a slight issue. Without VMware vCenter (which should have connected to Microsoft System Center Virtual Machine Manager 2012) you can’t move virtual machines from VMware to Hyper-V by selecting ‘virtual to virtual’ option. Even though the correct method should be ‘virtual to virtual’ conversion which is true in this environment, but that will not work here without vCenter.  Here is a simple workaround which worked for me recently to convert virtual machines from VMware ESX to Hyper-V with SCVMM 2012.

Basically you can’t connect and manage virtual machines which are running on VMware hypervisor from SCVMM without having vCenter installation. vCenter works as a middle man between SCVMM and ESX (or vSphere) servers. In some virtual environments, you may not have vCenter because of license cost.

Here is the simple trick, even though theoretically it is virtual to virtual conversion, but we have to treat this as a physical to virtual conversion.

Simple Steps to Convert Virtual Machine from VMware to Hyper-V with SCVMM 2012

1) Make sure that SCVMM 2012 server can communicate with VMware host server ( just try pinging)

2) On the console select new virtual machine and P2V as shown below.

P2V selection in SCVMM 2012

3) I recommend to uninstall VMware tools from particular virtual machine which you are going to export. It may create some trouble when virtual machine will be used with VMware tools on Hyper-V host. Better uninstall it before starting the export process.

Read Also

Our earlier real world example of Server consolidation benefits

4) Provide the IP address or name of the virtual machine which is running on VMware ESX or ESXi. Provide the administrative rights credential for guest virtual machine, it can be a local or domain administrator account.

provide admin access

5) Give a name and description for the virtual machine that will go to Hyper-V server. SCVMM 2012 will install a small client utility on the guest machine to start the conversion process. It will be removed after completion.

Convert  Virtual Machine from VMware to Hyper-V

6) If everything goes well, it will show the details of virtual machine.

In the next screen you will get an option to modify hardware configuration of new virtual machine which will reside on Hyper-v host. Processor, RAM and even size of virtual hard disk partitions of VM can be modified here.

resize partition

7) After hardware configuration modification is done, you can select the Hyper-V physical host where you would like to export particular virtual machine.

Based on the free and available resources, SCVMM 2012 will suggest the best host machine. Unfortunately all of the Hyper-V hosts are not recommended for me in my environment (but I can install), that could be different for you.

export Virtual Machine from VMware to Hyper-V

8.) Select the disk from Hyper-v host where you will export the VHD and configuration files.

select the disk on hyperv host

After few normal configurations in the next screens, you can start the job and that can be monitored in Jobs area in SCVMM 2012.

running process job

It will take some time to compete and it depends on the size of virtual machine and network traffic. If the size of virtual machine is large due to more disk partitions, allow more time for it.

Do not forget to shutdown or disconnect the network of old virtual machine on VMware host. If both VMs are powered on and connected to network with same host name and IP address, you know what would happen!.

I’m sure this simple method would be useful to convert/export a virtual machine from VMware ESX or ESXi host to Hyper-V with SCVMM 2012 without vCenter or  any converters.

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

نوزده + 9 =