Solved

Move a Hyper-V Guest to a different host.

Posted on 2014-03-07
5
319 Views
Last Modified: 2014-11-12
I need to move a large HV Guest and doing an export/import significantly increases the downtime. Can I just recreate the vm to the same specs on a different parent and attach the original vhd's?
0
Comment
Question by:LCNW
5 Comments
 
LVL 13

Assisted Solution

by:Santosh Gupta
Santosh Gupta earned 66 total points
ID: 39913277
yes
0
 
LVL 24

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 67 total points
ID: 39913337
that should work fine.
0
 
LVL 56

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 67 total points
ID: 39913411
Exporting and importing shouldn't take any longer than copying VHDs. Importing provides an option to leave VHDs in place. So I'm not sire I see the benefit of your alternative. And while it will work, it will change some things in the VM since the VM metadata will change. Network settings, for example, will be lost. The VM will certainly need to be reactivated. And a few other oddities. Exporting and importing is the preferred method whenever possible.
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 300 total points
ID: 39913424
Yes, but you still have to move the VHD file from on host to another unless it is located on a CSV in a cluster or another external storage that can be easily detached from first host and attached to the second one.

Recently, I had a similar case involving a huge VHD file and an iSCSI pass-through VHD. I disconnected the pass-through and I replaced the huge VHD by an empty VHD file in the VM configuration; all done while the VM was offline. Then, I exported and imported the VM (with significantly smaller VHD files); moved the huge HVD file to the new location and change the setting for the iSCSI volume to become available to the new Hyper-V host. As last step, I reconnected both, the huge VHD and the pass-through VHD to the same controllers of the VM and turned it on.
0
 
LVL 1

Expert Comment

by:cef_soothsayer
ID: 40161450
Make sure that there are no snapshots first.  But yes, then you can move the VHDs over and start it back up.  if that fails, you may need to use Icacls to reset the VM Service SID access.  I've run into that problem before.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now