Perfect clone vm in hyper-v

Hi,

I need to make a clone of a VM in Hyper-V 2008 R2, that i'm going to import in 2012. The copy must be EXACTLY the same, including the MAC address.

Will the export / import do the trick by itself ?

Thanks !

Guillaume
ti-guyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
An export is an exact clone.  HOWEVER the one caveat is the one you mentioned and that is the MAC address.  If you view the VM settings, you can view the virtual NIC properties.  The default is that the MAC is dynamic.  This means that whenever a VM is moved (either by export, live migration, or similar) the MAC will change.  If you set it to static before you export that problem will be resolved.

Additionally, be aware that just because you export the VM doesn't mean it won't get changed by the new Hyper-V server on next boot.  This is unavoidable (and is no different than VMWare in this regard.)  The new physical server is different and Hyper-V necessarily needs to adjust for that.  This is indirectly why the MAC address changes in a default configuration.  There is no way to get a 100% copy that won't change on boot when moving to new hardware.  In fact, this isn't even unique to virtualization.  If you took a hard drive from a desktop PC and moved it to another desktop PC, even one that is the exact same make and model, the new boot will see new hardware (different serial numbers, etc) and minor changes occur.  Hyper-V doesn't change this fundamental process.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ti-guyAuthor Commented:
Alright, thank you !
Cliff GaliherCommented:
Same result. The export is a perfect clone. Even the import would be. The changes occur on first boot. All platforms will have the same result. It's why computer data drives are booted during a forensic analysis. They are lockedj read-only and accessed via another OS.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.