locked
moving vm from one host to another RRS feed

  • Question

  • We have a Windows 2008 VM on a Windows 2012 R2 host.

    We need to move this guest to a new host which is again a Windows 2012 R2. The hyper v manager does not show both the host on the same console? is that normal?

    which is the best way to move this vm without having a disaster.

    Thursday, November 3, 2016 8:39 AM

All replies

  • Hi there,

    Ideally for seamless vm migration, you should have a failover cluster, with two or more Hosts, which both access shared/cluster storage, that the VM is stored on.

    in the above scenario, you would just right click the VM and select migrate -> select host.

    If your case is that the VM is stored on the hosts local storage (not accessible by your 2012 host), I would recommend the following.

    1. Assuming you can get some downtime on the vm, shut it down.

    2. copy its harddisk files to the 2012 hosts local storage (assuming there is no shared storage) - take note of which drive belongs to which drive letter - if multiple

    3. create a new VM on the 2012 host, with the same hardware spec as the vm on the 2008 host

    4. when you need to create a harddisk, use existing, and choose the first harddisk that you copied.

    5. edit the vm settings, and add any additional harddisks

    6. power on the new VM, and after its booted, give it its IP address again (same as the old vm)

    that will successfully move the VM - you can remove the old vm from the 2008 server after you confirm all working okay.

    cheers.


    Kind Regards, Darren Coetzee * Don't forget to mark as Answered if you found this post helpful. *

    Wednesday, November 16, 2016 3:45 AM