Home > HYPER V > How to move hyper-V VM from windows 2008/R2 host to another host if its contain multiple AVHD files ?

How to move hyper-V VM from windows 2008/R2 host to another host if its contain multiple AVHD files ?

Scenarios

How to move hyper-v VM to another host if its contain multiple AVHD files.

How to merge multiple AVHD files

Environment

Source Host : Windows 2008 R2 Hyper-v.

Destination host : Windows 2012 or higher

Basically AVHD files are snapshots .Snapshots files should be merged into base file VHD prior to move the VM’s to another host

  1. Backup the VM’s before start merging process .
  2. Open Hyper-V Management Console.
  3. The test VM shown below is currently running and it has a snapshots.
    hyp1
  4. Delete snapshots while running VM’s
  5. 2
  6. After deleting a snapshot from hyper-v console ,AVHD will not merge into the base VHD untill the VM Shutdown. So shutdown the VM and you can monitor the merging progress from hyper-V console
    3
  7. All AVHD file  is merged into base VHD and now you  will not see the AVHD files.
  8. Now you can Copy source merged VHD files to windows 2012/R2 destination host
  9. It cannot directly move VMs from 2008 R2 to 2012 R2 by import\export. So just create new VMs on the destination host  with option attach existing virtual hard disk.

 

Advertisements
Categories: HYPER V Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: