locked
how to move easily virtual machine from HyperV2008 to HyperV2012 ? RRS feed

  • Question

  • i have a new server windows server 2012 using for virtualisation role, so i want to move all the virtual machine in the old virtualisation server to the new easily, how i can do this please?

    Monday, February 27, 2017 12:57 PM

All replies

  • Hello Abelal5,

    Are you using Server 2012 or Server 2012 R2? The process will be different for each version.

    If using Server 2012:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import the VM on the 2012 Hyper-V Server

    Unfortunately, it is not possible to export/import from 2008 to 2012 R2. But there is a workaround.

    If using Server 2012 R2:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import to a 2012 Hyper-V Server

    3) Export from the 2012 Hyper-V Server

    4) Import on the 2012 R2 Hyper-V Server

    An easier option would be to just copy all of the associated files for the virtual machine to the Server 2012 R2 host, and import the virtual machine, without actually exporting the VM from the Server 2008 Hyper-V host. Server 2012 R2 Hyper-V is able to import a VM that has not actually been exported, and it is capable of reading config files from a 2008 host. So that may be your best option. The process for this looks like:

    1) Shut down the VMs on the 2008 server.

    2) Stop the VMMS.exe process.

    3) Copy all the VM files including the XML, VHD and any AVHD files to the 2012 R2 Hyper-V server.

    4) Import the VMs into the 2012 R2 Hyper-V server. 



    Cheers,

    Ryan

    Microsoft Server Engineer

    Blog:   Twitter:   LinkedIn:   

    Please remember to mark the replies as answers if they help.

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Monday, February 27, 2017 1:09 PM
  • Hello Abelal5,

    Are you using Server 2012 or Server 2012 R2? The process will be different for each version.

    If using Server 2012:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import the VM on the 2012 Hyper-V Server

    Unfortunately, it is not possible to export/import from 2008 to 2012 R2. But there is a workaround.

    If using Server 2012 R2:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import to a 2012 Hyper-V Server

    3) Export from the 2012 Hyper-V Server

    4) Import on the 2012 R2 Hyper-V Server

    An easier option would be to just copy all of the associated files for the virtual machine to the Server 2012 R2 host, and import the virtual machine, without actually exporting the VM from the Server 2008 Hyper-V host. Server 2012 R2 Hyper-V is able to import a VM that has not actually been exported, and it is capable of reading config files from a 2008 host. So that may be your best option. The process for this looks like:

    1) Shut down the VMs on the 2008 server.

    2) Stop the VMMS.exe process.

    3) Copy all the VM files including the XML, VHD and any AVHD files to the 2012 R2 Hyper-V server.

    4) Import the VMs into the 2012 R2 Hyper-V server. 



    Cheers,

    Ryan

    Microsoft Server Engineer

    Blog:   Twitter:   LinkedIn:   

    Please remember to mark the replies as answers if they help.

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Many thank's

    + Yes i use 2012R2 :-(

    + I will try to copie all the vm files and import it in my new server

    hope it will work

    Monday, February 27, 2017 2:14 PM
  • Hello Abelal5,

    Are you using Server 2012 or Server 2012 R2? The process will be different for each version.

    If using Server 2012:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import the VM on the 2012 Hyper-V Server

    Unfortunately, it is not possible to export/import from 2008 to 2012 R2. But there is a workaround.

    If using Server 2012 R2:

    1) Export the VM from the 2008 Hyper-V Server

    2) Import to a 2012 Hyper-V Server

    3) Export from the 2012 Hyper-V Server

    4) Import on the 2012 R2 Hyper-V Server

    An easier option would be to just copy all of the associated files for the virtual machine to the Server 2012 R2 host, and import the virtual machine, without actually exporting the VM from the Server 2008 Hyper-V host. Server 2012 R2 Hyper-V is able to import a VM that has not actually been exported, and it is capable of reading config files from a 2008 host. So that may be your best option. The process for this looks like:

    1) Shut down the VMs on the 2008 server.

    2) Stop the VMMS.exe process.

    3) Copy all the VM files including the XML, VHD and any AVHD files to the 2012 R2 Hyper-V server.

    4) Import the VMs into the 2012 R2 Hyper-V server. 



    Cheers,

    Ryan

    Microsoft Server Engineer

    Blog:   Twitter:   LinkedIn:   

    Please remember to mark the replies as answers if they help.

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Can i do this for "srv-controler" also ?
    Monday, February 27, 2017 2:27 PM