次の方法で共有


Hyper-V - Export & Import (Part 2)

Yesterday I looked at how to do a basic export / import operation.  One thing I glossed over was the Reuse old virtual machine IDs option in the Import Virtual Machine dialog.

import

As I mentioned in yesterday, the virtual machine ID is what Hyper-V uses to uniquely identify a virtual machine.

Simply put: if you are making a copy of an existing virtual machine, you want to generate a new virtual machine ID and will leave this option unchecked.  If you are moving a virtual machine, or restoring a backup copy of a virtual machine, then you will want to reuse the old virtual machine IDs.

Note that if you select to reuse the old virtual machine IDs and the original virtual machine is still present on Hyper-V the import operation will fail as the virtual machine ID has to be unique.

Cheers,
Ben

Comments

  • Anonymous
    August 27, 2008
    I'm wondering what references this ID? I am trying to come up with a DR plan where I pre-populate a second server with all the VMs and then use host based replication to keep the VMs and snapshots in sync.  Everything works great in regards to the VHD being replicated, however, the target Hyper-V server does not recognize any new snapshots, even though the snapshot files have been replicated.  I thought that since I chose to reuse old virtual machine IDs I would have been OK, but that is not the case.  Any ideas?

  • Anonymous
    December 28, 2010
    no matter how many times I read this I still don't get it

  • Anonymous
    December 28, 2010
    If I want to move a vhd file from one host to another can't I just move the vhd file & then set up the rest of it?  This is how easy it should be

  • Anonymous
    December 28, 2010
    this makes way more sense to me blogs.technet.com/.../moving-virtual-machines-from-one-host-to-another-on-hyper-v.aspx plus it was posted 2 years after this post.  I wish his showed up in search engines first