Monday, February 18, 2008 5:36 AM
For a training purpose, I need to duplicate a set of VMs from one host machine to another host machine and one of the VMs has 2 network adapters associated to it.
I use the Export/Import function to duplicate the Hyper-V environment on different hosts. Here is what I do:
On the "master' machine, I use the Export function to a shared folder
On the "clone"machine, I copy the sub-folder corresponding to the exported VM from the shared folder to a local folder. I then use the import function from Hyper-V to import the VM.
So far so good but I notice that only 1 virtual network is present on the imported VM.
Looking at the .exp file in the sub-folder of the exported machine, I find 2 references to the EthernetPortSettingData that match with the two network adapters of the VM. It seems like the export function is working but the import function does not preseve the network settings.
Any help is greatly appreciated as I have 20 hosts sytems to prepare and I really don't want to manually conifgure network adapters. If you have a piece of Hyper-V WMI code in VBScript to create a network adapter for a VM, I can also use it as workaround.
Monday, February 18, 2008 6:49 PM
Make sure your network’s are named the same on all of your hosts. You might have to change the names to something global like just “External”.
Monday, February 18, 2008 9:53 PM
Thanks for your prompt answer
I have tried different scenarios with the same result ( only 1 NIC shows up after the import)
NICs are not connected to any virtual network
NICs are connected to virtual networks. Virtual networks are created identical on the "Export"and "Import" host systems.
Does it matter whether the NICs are connected or not to a virtual network?
Tuesday, February 19, 2008 6:14 PMOwnerWe've made a number of changes to import/export and virtual networks for the RC builds.
Tuesday, February 19, 2008 6:17 PM
Many thansk for the update.
Do you know when RC will be available?
Tuesday, February 19, 2008 7:15 PMOwner
We have not announced the RC release date.